net.minecraft.entity.ai.goal

public abstract class GoToBlockGoal

extends Goal

tv
net.minecraft.class_2615
net.minecraft.entity.ai.goal.GoToBlockGoal
net.minecraft.entity.ai.EntityAIMoveToBlock

Field summary

Modifier and TypeField
private final PathFinderMobEntity
c
field_11939
entity
theEntity
private final double
d
field_11940
speed
movementSpeed
protected int
a
field_11937
cooldown
runDelay
private int
e
field_11941
activeTicks
timeoutCounter
private int
f
field_11942
maxActiveTicks
maxStayTicks
protected BlockPos
b
field_11938
target
destinationBlock
private boolean
g
field_11943
reachedTarget
isAboveDestination
private int
h
field_11944
range
searchLength

Constructor summary

ModifierConstructor
public (PathFinderMobEntity entity, double speed, int range)

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
shouldExecute()
public boolean
b()
method_2744()
shouldContinue()
continueExecuting()
public void
c()
method_2747()
start()
startExecuting()
public void
d()
method_2745()
stop()
resetTask()
public void
e()
method_2746()
tick()
updateTask()
protected boolean
f()
method_11013()
hasReachedTarget()
getIsAboveDestination()
private boolean
i()
method_11014()
findNearestBlock()
searchForDestination()
protected abstract boolean
a(aht arg0, cl arg1)
method_11012(class_1150 arg0, class_2552 arg1)
isValidTarget(World world, BlockPos pos)
shouldMoveTo(World worldIn, BlockPos pos)