net.minecraft.world.entity.ai.goal

public abstract class MoveToBlockGoal

extends Goal

bqo
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
net.minecraft.src.C_706_
net.minecraft.world.entity.ai.goal.PathfinderGoalGotoTarget

Field summary

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

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()
m_njsjilur()
canStart()
canStart()
m_8036_()
protected int
a(bjp arg0)
nextStartTick(PathfinderMob arg0)
method_6293(class_1314 arg0)
m_dmkliafm(C_hqdayibh arg0)
getInterval(PathAwareEntity mob)
getInterval(PathAwareEntity mob)
m_6099_(C_533_ arg0)
public boolean
b()
canContinueToUse()
method_6266()
m_trsyngvn()
shouldContinue()
shouldContinue()
m_8045_()
public void
c()
start()
method_6269()
m_koalcxuy()
start()
start()
m_8056_()
protected void
h()
moveMobToBlock()
method_6290()
m_ldtscsyy()
startMovingToTarget()
startMovingToTarget()
m_25624_()
public double
i()
acceptedDistance()
method_6291()
m_iywtlnzt()
getDesiredDistanceToTarget()
getDesiredSquaredDistanceToTarget()
m_8052_()
protected BlockPos
k()
getMoveToTarget()
method_30953()
m_yjtgjccp()
getTargetPos()
getTargetPos()
m_6669_()
public boolean
Q_()
requiresUpdateEveryTick()
method_38846()
m_eujpslgi()
shouldRunEveryTick()
requiresUpdateEveryTick()
m_183429_()
public void
e()
tick()
method_6268()
m_nfnryldq()
tick()
tick()
m_8037_()
public boolean
l()
shouldRecalculatePath()
method_6294()
m_anivbagu()
shouldResetPath()
shouldResetPath()
m_8064_()
protected boolean
m()
isReachedTarget()
method_6295()
m_tzzlyobh()
hasReached()
hasReached()
m_25625_()
protected boolean
n()
findNearestBlock()
method_6292()
m_icqasnmi()
findTargetPos()
findTargetPos()
m_25626_()
protected abstract boolean
a(cpy arg0, gw 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)
m_6465_(C_1599_ p_25620_, C_4675_ arg1)