net.minecraft.entity.ai.goal

public abstract class GoToBlockGoal

extends Goal

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
func_75250_a()
shouldExecute()
public boolean
b()
method_2744()
shouldContinue()
func_75253_b()
shouldContinueExecuting()
public void
c()
method_2747()
start()
func_75249_e()
startExecuting()
public void
e()
method_2746()
tick()
func_75246_d()
updateTask()
protected boolean
f()
method_11013()
hasReachedTarget()
func_179487_f()
getIsAboveDestination()
private boolean
i()
method_11014()
findNearestBlock()
func_179489_g()
searchForDestination()
protected abstract boolean
a(amu arg0, et arg1)
method_11012(class_1150 arg0, class_2552 arg1)
isValidTarget(World world, BlockPos pos)
func_179488_a(World arg0, BlockPos arg1)
shouldMoveTo(World worldIn, BlockPos pos)