net.minecraft.world.entity.ai.goal

public abstract class MoveToBlockGoal

extends Goal

anr
net.minecraft.world.entity.ai.goal.MoveToBlockGoal
net.minecraft.class_1367
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.ai.goal.MoveToBlockGoal
net.minecraft.server.v1_14_R1.PathfinderGoalGotoTarget

Field summary

Modifier and TypeField
protected final PathfinderMob
a
mob
field_6516
mob
field_179495_c
public final double
b
speedModifier
field_6514
speed
field_179492_d
protected int
c
nextStartTick
field_6518
cooldown
field_179496_a
protected int
d
tryTicks
field_6517
tryingTime
field_179493_e
private int
g
maxStayTicks
field_6511
safeWaitingTime
field_179490_f
protected BlockPos
e
blockPos
field_6512
targetPos
field_179494_b
private boolean
h
reachedTarget
field_6513
reached
field_179491_g
private final int
i
searchRange
field_6510
range
field_179497_h
private final int
j
verticalSearchRange
field_6519
maxYDifference
field_203113_j
protected int
f
verticalSearchStart
field_6515
lowestY
field_203112_e

Constructor summary

ModifierConstructor
public (PathfinderMob mob, double speed, int range)
public (PathfinderMob mob, double speed, int range, int maxYDifference)

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
func_75250_a()
protected int
a(aje arg0)
nextStartTick(PathfinderMob arg0)
method_6293(class_1314 arg0)
getInterval(MobEntityWithAi mob)
func_203109_a(CreatureEntity arg0)
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
func_75253_b()
public void
c()
start()
method_6269()
start()
func_75249_e()
protected void
g()
moveMobToBlock()
method_6290()
startMovingToTarget()
func_220725_g()
public double
h()
acceptedDistance()
method_6291()
getDesiredSquaredDistanceToTarget()
func_203110_f()
public void
e()
tick()
method_6268()
tick()
func_75246_d()
public boolean
j()
shouldRecalculatePath()
method_6294()
shouldResetPath()
func_203108_i()
protected boolean
k()
isReachedTarget()
method_6295()
hasReached()
func_179487_f()
protected boolean
l()
findNearestBlock()
method_6292()
findTargetPos()
func_179489_g()
protected abstract boolean
a(bhu arg0, ew arg1)
isValidTarget(LevelReader arg0, BlockPos arg1)
method_6296(class_1941 arg0, class_2338 arg1)
isTargetPos(CollisionView world, BlockPos pos)
func_179488_a(IWorldReader arg0, BlockPos arg1)