net.minecraft.entity.ai.goal

public abstract class GoToBlockGoal

extends Goal

ank
net.minecraft.class_1367
net.minecraft.entity.ai.goal.GoToBlockGoal
net.minecraft.entity.ai.goal.MoveToBlockGoal
net.minecraft.entity.ai.goal.MoveToBlockGoal

Field summary

Modifier and TypeField
protected final PathFinderMobEntity
a
field_6516
entity
field_179495_c
field_179495_c
public final double
b
field_6514
speed
field_179492_d
field_179492_d
protected int
c
field_6518
cooldown
field_179496_a
field_179496_a
protected int
d
field_6517
activeTicks
field_179493_e
field_179493_e
private int
g
field_6511
maxActiveTicks
field_179490_f
field_179490_f
protected BlockPos
e
field_6512
target
field_179494_b
field_179494_b
private boolean
h
field_6513
reachedTarget
field_179491_g
field_179491_g
private final int
i
field_6510
f_51659084
field_179497_h
field_179497_h
private final int
j
field_6519
range
field_203113_j
field_203113_j
protected int
f
field_6515
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_6264()
canStart()
func_75250_a()
shouldExecute()
protected int
a(aiy arg0)
method_6293(class_1314 arg0)
m_60719607(PathFinderMobEntity arg0)
func_203109_a(CreatureEntity arg0)
getRunDelay(CreatureEntity arg0)
public boolean
b()
method_6266()
shouldContinue()
func_75253_b()
shouldContinueExecuting()
public void
c()
method_6269()
start()
func_75249_e()
startExecuting()
protected void
g()
method_6290()
m_34812426()
func_220725_g()
func_220725_g()
public double
h()
method_6291()
getDesiredDistanceToTarget()
func_203110_f()
getTargetDistanceSq()
public void
e()
method_6268()
tick()
func_75246_d()
tick()
public boolean
j()
method_6294()
shouldResetPath()
func_203108_i()
shouldMove()
protected boolean
k()
method_6295()
hasReachedTarget()
func_179487_f()
getIsAboveDestination()
protected boolean
l()
method_6292()
findNearestBlock()
func_179489_g()
searchForDestination()
protected abstract boolean
a(bhl arg0, ev arg1)
method_6296(class_1941 arg0, class_2338 arg1)
isValidTarget(WorldView world, BlockPos pos)
func_179488_a(IWorldReader arg0, BlockPos arg1)
shouldMoveTo(IWorldReader worldIn, BlockPos pos)