net.minecraft.world.entity.ai.goal

public abstract class MoveToBlockGoal

extends Goal

cen
net.minecraft.world.entity.ai.goal.MoveToBlockGoal
net.minecraft.class_1367
net.minecraft.unmapped.C_nrmdixvo
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal

Field summary

Modifier and TypeField
private static final int
g
GIVE_UP_TICKS
field_30221
f_fbppgiio
MIN_WAITING_TIME
MIN_WAITING_TIME
private static final int
h
STAY_TICKS
field_30222
f_ifgibpob
MAX_TRYING_TIME
MAX_TRYING_TIME
private static final int
i
INTERVAL_TICKS
field_30223
f_ijqhtkbc
MIN_INTERVAL
MIN_INTERVAL
protected final PathfinderMob
a
mob
field_6516
f_izjqupbn
mob
mob
public final double
b
speedModifier
field_6514
f_vlqpqsuu
speed
speed
protected int
c
nextStartTick
field_6518
f_xqnfzcpp
cooldown
cooldown
protected int
d
tryTicks
field_6517
f_jkpcxsih
tryingTime
tryingTime
private int
j
maxStayTicks
field_6511
f_jaxznzlg
safeWaitingTime
safeWaitingTime
protected BlockPos
e
blockPos
field_6512
f_kvpqgvse
targetPos
targetPos
private boolean
k
reachedTarget
field_6513
f_ofebijtv
reached
reached
private final int
l
searchRange
field_6510
f_maekguer
range
range
private final int
m
verticalSearchRange
field_6519
f_hjopccat
maxYDifference
maxYDifference
protected int
f
verticalSearchStart
field_6515
f_fdpngtkb
lowestY
lowestY

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
b()
canUse()
method_6264()
m_njsjilur()
canStart()
canStart()
protected int
a(bxm arg0)
nextStartTick(PathfinderMob arg0)
method_6293(class_1314 arg0)
m_dmkliafm(C_hqdayibh arg0)
getInterval(PathAwareEntity mob)
getInterval(PathAwareEntity mob)
public boolean
c()
canContinueToUse()
method_6266()
m_trsyngvn()
shouldContinue()
shouldContinue()
public void
d()
start()
method_6269()
m_koalcxuy()
start()
start()
protected void
h()
moveMobToBlock()
method_6290()
m_ldtscsyy()
startMovingToTarget()
startMovingToTarget()
public double
i()
acceptedDistance()
method_6291()
m_iywtlnzt()
getDesiredDistanceToTarget()
getDesiredSquaredDistanceToTarget()
protected BlockPos
k()
getMoveToTarget()
method_30953()
m_yjtgjccp()
getTargetPos()
getTargetPos()
public boolean
R_()
requiresUpdateEveryTick()
method_38846()
m_eujpslgi()
shouldRunEveryTick()
requiresUpdateEveryTick()
public void
a()
tick()
method_6268()
m_nfnryldq()
tick()
tick()
public boolean
l()
shouldRecalculatePath()
method_6294()
m_anivbagu()
shouldResetPath()
shouldResetPath()
protected boolean
m()
isReachedTarget()
method_6295()
m_tzzlyobh()
hasReached()
hasReached()
protected boolean
n()
findNearestBlock()
method_6292()
m_icqasnmi()
findTargetPos()
findTargetPos()
protected abstract boolean
a(djd arg0, iu arg1)
isValidTarget(LevelReader arg0, BlockPos arg1)
method_6296(class_4538 arg0, class_2338 arg1)
m_hmtgecbg(C_eemzphbi arg0, C_hynzadkk arg1)
isTargetPos(WorldView world, BlockPos pos)
isTargetPos(WorldView world, BlockPos pos)