net.minecraft.world.entity.ai.goal

public abstract class MoveToBlockGoal

extends Goal

bab
net.minecraft.world.entity.ai.goal.MoveToBlockGoal
net.minecraft.class_1367
net.minecraft.unmapped.C_nrmdixvo
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
f_148128_
private static final int
h
STAY_TICKS
field_30222
f_ifgibpob
MAX_TRYING_TIME
f_148129_
private static final int
i
INTERVAL_TICKS
field_30223
f_ijqhtkbc
MIN_INTERVAL
f_148130_
protected final PathfinderMob
a
mob
field_6516
f_izjqupbn
mob
f_25598_
public final double
b
speedModifier
field_6514
f_vlqpqsuu
speed
f_25599_
protected int
c
nextStartTick
field_6518
f_xqnfzcpp
cooldown
f_25600_
protected int
d
tryTicks
field_6517
f_jkpcxsih
tryingTime
f_25601_
private int
j
maxStayTicks
field_6511
f_jaxznzlg
safeWaitingTime
f_25604_
protected BlockPos
e
blockPos
field_6512
f_kvpqgvse
targetPos
f_25602_
private boolean
k
reachedTarget
field_6513
f_ofebijtv
reached
f_25605_
private final int
l
searchRange
field_6510
f_maekguer
range
f_25606_
private final int
m
verticalSearchRange
field_6519
f_hjopccat
maxYDifference
f_25607_
protected int
f
verticalSearchStart
field_6515
f_fdpngtkb
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()
m_8036_()
protected int
a(auc arg0)
nextStartTick(PathfinderMob arg0)
method_6293(class_1314 arg0)
m_dmkliafm(C_hqdayibh arg0)
getInterval(PathAwareEntity mob)
m_6099_(C_533_ arg0)
public boolean
b()
canContinueToUse()
method_6266()
m_trsyngvn()
shouldContinue()
m_8045_()
public void
c()
start()
method_6269()
m_koalcxuy()
start()
m_8056_()
protected void
g()
moveMobToBlock()
method_6290()
m_ldtscsyy()
startMovingToTarget()
m_25624_()
public double
h()
acceptedDistance()
method_6291()
m_iywtlnzt()
getDesiredSquaredDistanceToTarget()
m_8052_()
protected BlockPos
j()
getMoveToTarget()
method_30953()
m_yjtgjccp()
getTargetPos()
m_6669_()
public void
e()
tick()
method_6268()
m_nfnryldq()
tick()
m_8037_()
public boolean
k()
shouldRecalculatePath()
method_6294()
m_anivbagu()
shouldResetPath()
m_8064_()
protected boolean
l()
isReachedTarget()
method_6295()
m_tzzlyobh()
hasReached()
m_25625_()
protected boolean
m()
findNearestBlock()
method_6292()
m_icqasnmi()
findTargetPos()
m_25626_()
protected abstract boolean
a(bws arg0, gg 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)
m_6465_(C_1599_ p_25620_, C_4675_ arg1)