net.minecraft.entity.ai.goal

public abstract class GoToBlockGoal

extends Goal

ahh
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
f
field_11939
entity
field_179495_c
creature
public double
a
field_11940
speed
field_179492_d
movementSpeed
protected int
b
field_11937
cooldown
field_179496_a
runDelay
protected int
c
field_11941
activeTicks
field_179493_e
timeoutCounter
private int
g
field_11942
maxActiveTicks
field_179490_f
maxStayTicks
protected BlockPos
d
field_11938
target
field_179494_b
destinationBlock
private boolean
h
field_11943
reachedTarget
field_179491_g
isAboveDestination
private final int
i
field_11944
f_51659084
field_179497_h
searchLength
private final int
j
field_16881
range
field_203113_j
field_203113_j
public int
e
field_16880
lowestY
field_203112_e
field_203112_e

Constructor summary

ModifierConstructor
public (PathFinderMobEntity entity, double speed, int range)
public (PathFinderMobEntity arg0, double arg1, int arg2, int arg3)

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
func_75250_a()
shouldExecute()
protected int
a(afg arg0)
method_15694(class_877 arg0)
m_60719607(PathFinderMobEntity arg0)
func_203109_a(EntityCreature arg0)
getRunDelay(EntityCreature arg0)
public boolean
b()
method_2744()
shouldContinue()
func_75253_b()
shouldContinueExecuting()
public void
c()
method_2747()
start()
func_75249_e()
startExecuting()
public double
g()
method_15695()
getDesiredDistanceToTarget()
func_203110_f()
getTargetDistanceSq()
public void
e()
method_2746()
tick()
func_75246_d()
tick()
public boolean
i()
method_15696()
shouldResetPath()
func_203108_i()
shouldMove()
public int
j()
method_15697()
m_70567625()
func_203111_j()
getTargetYOffset()
protected boolean
k()
method_11013()
hasReachedTarget()
func_179487_f()
getIsAboveDestination()
private boolean
l()
method_11014()
findNearestBlock()
func_179489_g()
searchForDestination()
protected abstract boolean
a(ayc arg0, el arg1)
method_11012(class_3599 arg0, class_2552 arg1)
isValidTarget(WorldView world, BlockPos pos)
func_179488_a(IWorldReaderBase arg0, BlockPos arg1)
shouldMoveTo(IWorldReaderBase worldIn, BlockPos pos)