net.minecraft.world.entity.ai.navigation

public abstract class PathNavigation

cgo
net.minecraft.world.entity.ai.navigation.PathNavigation
net.minecraft.class_1408
net.minecraft.unmapped.C_atbvfjwi
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.entity.ai.pathing.EntityNavigation

Field summary

Modifier and TypeField
private static final int
p
MAX_TIME_RECOMPUTE
field_30247
f_cxhauzut
RECALCULATE_COOLDOWN
RECALCULATE_COOLDOWN
private static final int
q
STUCK_CHECK_INTERVAL
field_41545
f_zyochajd
field_41545
STUCK_CHECK_INTERVAL
private static final float
r
STUCK_THRESHOLD_DISTANCE_FACTOR
field_41546
f_kgulcrtt
field_41546
STUCK_THRESHOLD_DISTANCE_FACTOR
protected final Mob
a
mob
field_6684
f_ytabmjrn
entity
entity
protected final Level
b
level
field_6677
f_rkwefzxj
world
world
protected Path
c
path
field_6681
f_kygwztte
currentPath
currentPath
protected double
d
speedModifier
field_6668
f_ikowtixg
speed
speed
protected int
e
tick
field_6675
f_mhxwcgxe
tickCount
tickCount
protected int
f
lastStuckCheck
field_6674
f_amwjymxv
pathStartTime
pathStartTime
protected Vec3
g
lastStuckCheckPos
field_6672
f_nkeujvuw
pathStartPos
pathStartPos
protected Vec3i
h
timeoutCachedNode
field_6680
f_nvbuymci
lastNodePosition
lastNodePosition
protected long
i
timeoutTimer
field_6670
f_brqebarh
currentNodeMs
currentNodeMs
protected long
j
lastTimeoutCheck
field_6669
f_jpruxtyc
lastActiveTickMs
lastActiveTickMs
protected double
k
timeoutLimit
field_6682
f_jqnetjyj
currentNodeTimeout
currentNodeTimeout
protected float
l
maxDistanceToWaypoint
field_6683
f_ufulchda
nodeReachProximity
nodeReachProximity
protected boolean
m
hasDelayedRecomputation
field_6679
f_kwipzrjl
inRecalculationCooldown
shouldRecalculate
protected long
n
timeLastRecompute
field_6685
f_wcsndowi
lastRecalculateTime
lastRecalculateTime
protected NodeEvaluator
o
nodeEvaluator
field_6678
f_unngfiir
nodeMaker
nodeMaker
private BlockPos
s
targetPos
field_20293
f_pfbydgvo
currentTarget
currentTarget
private int
t
reachRange
field_20294
f_lcencwyr
currentDistance
currentDistance
private float
u
maxVisitedNodesMultiplier
field_21642
f_tppfywqo
rangeMultiplier
rangeMultiplier
private final PathFinder
v
pathFinder
field_6673
f_txxqiltu
pathNodeNavigator
pathNodeNavigator
private boolean
w
isStuck
field_26820
f_jdqfqfar
nearPathStartPos
nearPathStartPos
private float
x
requiredPathLength
field_52451
f_ywwuimtf
maxFollowRange
maxFollowRange

Constructor summary

ModifierConstructor
public (Mob entity, Level world)

Method summary

Modifier and TypeMethod
public void
e()
updatePathfinderMaxVisitedNodes()
method_61441()
m_mnymngdr()
updateRange()
updateRange()
public void
a(float arg0)
setRequiredPathLength(float arg0)
method_61439(float arg0)
m_zojjqtnm(float arg0)
setMaxFollowRange(float maxFollowRange)
setMaxFollowRange(float range)
private float
r()
getMaxPathLength()
method_61440()
m_zexhlwxr()
getMaxFollowRange()
getMaxFollowRange()
public void
f()
resetMaxVisitedNodesMultiplier()
method_23965()
m_ifpmpvgl()
resetRangeMultiplier()
resetRangeMultiplier()
public void
b(float arg0)
setMaxVisitedNodesMultiplier(float arg0)
method_23964(float arg0)
m_ptqkmccf(float arg0)
setRangeMultiplier(float rangeMultiplier)
setRangeMultiplier(float rangeMultiplier)
public BlockPos
g()
getTargetPos()
method_6355()
m_kqokxcfp()
getTargetPos()
getTargetPos()
protected abstract PathFinder
a(int arg0)
createPathFinder(int arg0)
method_6336(int arg0)
m_rhavjrcm(int arg0)
createPathNodeNavigator(int range)
createPathNodeNavigator(int arg0)
public void
a(double arg0)
setSpeedModifier(double arg0)
method_6344(double arg0)
m_qetxokay(double arg0)
setSpeed(double speed)
setSpeed(double speed)
public void
h()
recomputePath()
method_6356()
m_ttwslddf()
recalculatePath()
recalculatePath()
public final Path
a(double arg0, double arg1, double arg2, int arg3)
createPath(double arg0, double arg1, double arg2, int arg3)
method_6352(double arg0, double arg1, double arg2, int arg3)
m_ejpbsjjw(double arg0, double arg1, double arg2, int arg3)
findPathTo(double x, double y, double z, int distance)
findPathTo(double x, double y, double z, int distance)
public Path
a(Stream<iu> arg0, int arg1)
createPath(Stream<BlockPos> arg0, int arg1)
method_21643(Stream<class_2338> arg0, int arg1)
m_njwmwegi(Stream<C_hynzadkk> arg0, int arg1)
findPathToAny(Stream<BlockPos> positions, int distance)
findPathToAny(Stream<BlockPos> positions, int distance)
public Path
a(Set<iu> arg0, int arg1)
createPath(Set<BlockPos> arg0, int arg1)
method_29934(Set<class_2338> arg0, int arg1)
m_pbnuucrt(Set<C_hynzadkk> arg0, int arg1)
findPathTo(Set<BlockPos> positions, int distance)
findPathTo(Set<BlockPos> positions, int distance)
public Path
a(iu arg0, int arg1)
createPath(BlockPos arg0, int arg1)
method_6348(class_2338 arg0, int arg1)
m_kgklaorz(C_hynzadkk arg0, int arg1)
findPathTo(BlockPos target, int distance)
findPathTo(BlockPos target, int distance)
public Path
a(iu arg0, int arg1, int arg2)
createPath(BlockPos arg0, int arg1, int arg2)
method_35141(class_2338 arg0, int arg1, int arg2)
m_yfskjlsj(C_hynzadkk arg0, int arg1, int arg2)
findPathTo(BlockPos target, int minDistance, int maxDistance)
findPathTo(BlockPos target, int minDistance, int maxDistance)
public Path
a(bwf arg0, int arg1)
createPath(Entity arg0, int arg1)
method_6349(class_1297 arg0, int arg1)
m_wuqknepy(C_astfners arg0, int arg1)
findPathTo(Entity entity, int distance)
findPathTo(Entity entity, int distance)
protected Path
a(Set<iu> arg0, int arg1, boolean arg2, int arg3)
createPath(Set<BlockPos> arg0, int arg1, boolean arg2, int arg3)
method_35142(Set<class_2338> arg0, int arg1, boolean arg2, int arg3)
m_lvtpselx(Set<C_hynzadkk> arg0, int arg1, boolean arg2, int arg3)
findPathTo(Set<BlockPos> positions, int range, boolean useHeadPos, int distance)
findPathTo(Set<BlockPos> positions, int range, boolean useHeadPos, int distance)
protected Path
a(Set<iu> arg0, int arg1, boolean arg2, int arg3, float arg4)
createPath(Set<BlockPos> arg0, int arg1, boolean arg2, int arg3, float arg4)
method_18416(Set<class_2338> arg0, int arg1, boolean arg2, int arg3, float arg4)
m_lhmnrubv(Set<C_hynzadkk> arg0, int arg1, boolean arg2, int arg3, float arg4)
findPathToAny(Set<BlockPos> positions, int range, boolean useHeadPos, int distance, float followRange)
findPathToAny(Set<BlockPos> positions, int range, boolean useHeadPos, int distance, float followRange)
public boolean
a(double arg0, double arg1, double arg2, double arg3)
moveTo(double arg0, double arg1, double arg2, double arg3)
method_6337(double arg0, double arg1, double arg2, double arg3)
m_fgjhubhm(double arg0, double arg1, double arg2, double arg3)
startMovingTo(double x, double y, double z, double speed)
startMovingTo(double x, double y, double z, double speed)
public boolean
a(double arg0, double arg1, double arg2, int arg3, double arg4)
moveTo(double arg0, double arg1, double arg2, int arg3, double arg4)
method_58160(double arg0, double arg1, double arg2, int arg3, double arg4)
m_tbseeosg(double arg0, double arg1, double arg2, int arg3, double arg4)
startMovingTo(double x, double y, double z, int distance, double speed)
startMovingTo(double x, double y, double z, int distance, double speed)
public boolean
a(bwf arg0, double arg1)
moveTo(Entity arg0, double arg1)
method_6335(class_1297 arg0, double arg1)
m_etdawgoe(C_astfners arg0, double arg1)
startMovingTo(Entity entity, double speed)
startMovingTo(Entity entity, double speed)
public boolean
a(exc arg0, double arg1)
moveTo(Path arg0, double arg1)
method_6334(class_11 arg0, double arg1)
m_efjuxjgy(C_motipebf arg0, double arg1)
startMovingAlong(Path path, double speed)
startMovingAlong(Path path, double speed)
public Path
i()
getPath()
method_6345()
m_knkuewbd()
getCurrentPath()
getCurrentPath()
public void
c()
tick()
method_6360()
m_yvxtcmyo()
tick()
tick()
protected double
a(feq arg0)
getGroundY(Vec3 arg0)
method_38065(class_243 arg0)
m_zsklzyvc(C_vgpupfxx arg0)
adjustTargetY(Vec3d pos)
adjustTargetY(Vec3d pos)
protected void
j()
followThePath()
method_6339()
m_imryvweo()
continueFollowingPath()
continueFollowingPath()
private boolean
c(feq arg0)
shouldTargetNextNodeInDirection(Vec3 arg0)
method_27799(class_243 arg0)
m_shecbiuf(C_vgpupfxx arg0)
shouldJumpToNextNode(Vec3d currentPos)
shouldJumpToNextNode(Vec3d currentPos)
protected void
b(feq arg0)
doStuckDetection(Vec3 arg0)
method_6346(class_243 arg0)
m_ectlsmwl(C_vgpupfxx arg0)
checkTimeouts(Vec3d currentPos)
checkTimeouts(Vec3d currentPos)
private void
s()
timeoutPath()
method_31266()
m_nchaaiut()
resetNodeAndStop()
resetNodeAndStop()
private void
t()
resetStuckTimeout()
method_26085()
m_cxhpxjch()
resetNode()
resetNode()
public boolean
k()
isDone()
method_6357()
m_cuxkitjz()
isIdle()
isIdle()
public boolean
l()
isInProgress()
method_23966()
m_eetwccfi()
isFollowingPath()
isFollowingPath()
public void
m()
stop()
method_6340()
m_qkbmchty()
stop()
stop()
protected abstract Vec3
b()
getTempMobPos()
method_6347()
m_tzgadsdi()
getPos()
getPos()
protected abstract boolean
a()
canUpdatePath()
method_6358()
m_khhogyuw()
isAtValidPosition()
isAtValidPosition()
protected void
d()
trimPath()
method_6359()
m_piwnxgva()
adjustPath()
adjustPath()
protected boolean
a(feq arg0, feq arg1)
canMoveDirectly(Vec3 arg0, Vec3 arg1)
method_6341(class_243 arg0, class_243 arg1)
m_bdwdpiwz(C_vgpupfxx arg0, C_vgpupfxx arg1)
canPathDirectlyThrough(Vec3d origin, Vec3d target)
canPathDirectlyThrough(Vec3d origin, Vec3d target)
public boolean
b(exf arg0)
canCutCorner(PathType arg0)
method_48158(class_7 arg0)
m_rfnahbaw(C_hahxxnjs arg0)
canJumpToNext(PathNodeType nodeType)
canJumpToNext(PathNodeType type)
protected static boolean
a(bxg arg0, feq arg1, feq arg2, boolean arg3)
isClearForMovementBetween(Mob arg0, Vec3 arg1, Vec3 arg2, boolean arg3)
method_43394(class_1308 arg0, class_243 arg1, class_243 arg2, boolean arg3)
m_ihvdiado(C_dxkfswlz arg0, C_vgpupfxx arg1, C_vgpupfxx arg2, boolean arg3)
doesNotCollide(MobEntity entity, Vec3d startPos, Vec3d entityPos, boolean includeFluids)
canPathDirectlyThrough(MobEntity entity, Vec3d origin, Vec3d target, boolean handleFluid)
public boolean
a(iu arg0)
isStableDestination(BlockPos arg0)
method_6333(class_2338 arg0)
m_elrgnhgi(C_hynzadkk arg0)
isValidPosition(BlockPos pos)
isValidPosition(BlockPos pos)
public NodeEvaluator
n()
getNodeEvaluator()
method_6342()
m_xfwbmcek()
getNodeMaker()
getNodeMaker()
public void
a(boolean arg0)
setCanFloat(boolean arg0)
method_6354(boolean arg0)
m_zndcxdyx(boolean arg0)
setCanSwim(boolean canSwim)
setCanSwim(boolean canSwim)
public boolean
o()
canFloat()
method_6350()
m_ikygleej()
canSwim()
canSwim()
public boolean
b(iu arg0)
shouldRecomputePath(BlockPos arg0)
method_18053(class_2338 arg0)
m_mvysdvtn(C_hynzadkk arg0)
shouldRecalculatePath(BlockPos pos)
shouldRecalculatePath(BlockPos pos)
public float
p()
getMaxDistanceToWaypoint()
method_35143()
m_udhoaois()
getNodeReachProximity()
getNodeReachProximity()
public boolean
q()
isStuck()
method_31267()
m_auxwhrju()
isNearPathStartPos()
isNearPathStartPos()