net.minecraft.world.entity.ai.navigation

public abstract class PathNavigation

ayj
net.minecraft.world.entity.ai.navigation.PathNavigation
net.minecraft.class_1408
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.pathfinding.PathNavigator
net.minecraft.server.v1_16_R3.NavigationAbstract

Field summary

Modifier and TypeField
protected final Mob
a
mob
field_6684
entity
field_75515_a
protected final Level
b
level
field_6677
world
field_75513_b
protected Path
c
path
field_6681
currentPath
field_75514_c
protected double
d
speedModifier
field_6668
speed
field_75511_d
protected int
e
tick
field_6675
tickCount
field_75510_g
protected int
f
lastStuckCheck
field_6674
pathStartTime
field_75520_h
protected Vec3
g
lastStuckCheckPos
field_6672
pathStartPos
field_75521_i
protected Vec3i
h
timeoutCachedNode
field_6680
lastNodePosition
field_188557_k
protected long
i
timeoutTimer
field_6670
currentNodeMs
field_188558_l
protected long
j
lastTimeoutCheck
field_6669
lastActiveTickMs
field_188559_m
protected double
k
timeoutLimit
field_6682
currentNodeTimeout
field_188560_n
protected float
l
maxDistanceToWaypoint
field_6683
nodeReachProximity
field_188561_o
protected boolean
m
hasDelayedRecomputation
field_6679
shouldRecalculate
field_188562_p
protected long
n
timeLastRecompute
field_6685
lastRecalculateTime
field_188563_q
protected NodeEvaluator
o
nodeEvaluator
field_6678
nodeMaker
field_179695_a
private BlockPos
p
targetPos
field_20293
currentTarget
field_188564_r
private int
q
reachRange
field_20294
currentDistance
field_225468_r
private float
r
maxVisitedNodesMultiplier
field_21642
rangeMultiplier
field_226334_s_
private final PathFinder
s
pathFinder
field_6673
pathNodeNavigator
field_179681_j
private boolean
t
isStuck
field_26820
nearPathStartPos
field_244431_t

Constructor summary

ModifierConstructor
public (Mob mob, Level world)

Method summary

Modifier and TypeMethod
public void
g()
resetMaxVisitedNodesMultiplier()
method_23965()
resetRangeMultiplier()
func_226336_g_()
public void
a(float arg0)
setMaxVisitedNodesMultiplier(float arg0)
method_23964(float arg0)
setRangeMultiplier(float rangeMultiplier)
func_226335_a_(float arg0)
public BlockPos
h()
getTargetPos()
method_6355()
getTargetPos()
func_208485_j()
protected abstract PathFinder
a(int arg0)
createPathFinder(int arg0)
method_6336(int arg0)
createPathNodeNavigator(int range)
func_179679_a(int arg0)
public void
a(double arg0)
setSpeedModifier(double arg0)
method_6344(double arg0)
setSpeed(double speed)
func_75489_a(double arg0)
public boolean
i()
hasDelayedRecomputation()
method_6343()
shouldRecalculatePath()
func_188553_i()
public void
j()
recomputePath()
method_6356()
recalculatePath()
func_188554_j()
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)
findPathTo(double x, double y, double z, int distance)
func_225466_a(double arg0, double arg1, double arg2, int arg3)
public Path
a(Stream<fx> arg0, int arg1)
createPath(Stream<BlockPos> arg0, int arg1)
method_21643(Stream<class_2338> arg0, int arg1)
findPathToAny(Stream<BlockPos> positions, int distance)
func_225463_a(Stream<BlockPos> arg0, int arg1)
public Path
a(Set<fx> arg0, int arg1)
createPath(Set<BlockPos> arg0, int arg1)
method_29934(Set<class_2338> arg0, int arg1)
method_29934(Set<BlockPos> arg0, int arg1)
func_241390_a_(Set<BlockPos> arg0, int arg1)
public Path
a(fx arg0, int arg1)
createPath(BlockPos arg0, int arg1)
method_6348(class_2338 arg0, int arg1)
findPathTo(BlockPos target, int distance)
func_179680_a(BlockPos arg0, int arg1)
public Path
a(aqa arg0, int arg1)
createPath(Entity arg0, int arg1)
method_6349(class_1297 arg0, int arg1)
findPathTo(Entity entity, int distance)
func_75494_a(Entity arg0, int arg1)
protected Path
a(Set<fx> arg0, int arg1, boolean arg2, int arg3)
createPath(Set<BlockPos> arg0, int arg1, boolean arg2, int arg3)
method_18416(Set<class_2338> arg0, int arg1, boolean arg2, int arg3)
findPathToAny(Set<BlockPos> positions, int range, boolean arg2, int distance)
func_225464_a(Set<BlockPos> arg0, int arg1, boolean arg2, int arg3)
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)
startMovingTo(double x, double y, double z, double speed)
func_75492_a(double arg0, double arg1, double arg2, double arg3)
public boolean
a(aqa arg0, double arg1)
moveTo(Entity arg0, double arg1)
method_6335(class_1297 arg0, double arg1)
startMovingTo(Entity entity, double speed)
func_75497_a(Entity arg0, double arg1)
public boolean
a(cxd arg0, double arg1)
moveTo(Path arg0, double arg1)
method_6334(class_11 arg0, double arg1)
startMovingAlong(Path path, double speed)
func_75484_a(Path arg0, double arg1)
public Path
k()
getPath()
method_6345()
getCurrentPath()
func_75505_d()
public void
c()
tick()
method_6360()
tick()
func_75501_e()
protected void
l()
followThePath()
method_6339()
continueFollowingPath()
func_75508_h()
private boolean
b(dcn arg0)
shouldTargetNextNodeInDirection(Vec3 arg0)
method_27799(class_243 arg0)
method_27799(Vec3d arg0)
func_234112_b_(Vector3d arg0)
protected void
a(dcn arg0)
doStuckDetection(Vec3 arg0)
method_6346(class_243 arg0)
checkTimeouts(Vec3d currentPos)
func_179677_a(Vector3d arg0)
private void
e()
timeoutPath()
method_31266()
resetNodeAndStop()
func_244427_e()
private void
f()
resetStuckTimeout()
method_26085()
resetNode()
func_234113_e_()
public boolean
m()
isDone()
method_6357()
isIdle()
func_75500_f()
public boolean
n()
isInProgress()
method_23966()
isFollowingPath()
func_226337_n_()
public void
o()
stop()
method_6340()
stop()
func_75499_g()
protected abstract Vec3
b()
getTempMobPos()
method_6347()
getPos()
func_75502_i()
protected abstract boolean
a()
canUpdatePath()
method_6358()
isAtValidPosition()
func_75485_k()
protected boolean
p()
isInLiquid()
method_6351()
isInLiquid()
func_75506_l()
protected void
D_()
trimPath()
method_6359()
adjustPath()
func_75487_m()
protected abstract boolean
a(dcn arg0, dcn arg1, int arg2, int arg3, int arg4)
canMoveDirectly(Vec3 arg0, Vec3 arg1, int arg2, int arg3, int arg4)
method_6341(class_243 arg0, class_243 arg1, int arg2, int arg3, int arg4)
canPathDirectlyThrough(Vec3d origin, Vec3d target, int sizeX, int sizeY, int sizeZ)
func_75493_a(Vector3d arg0, Vector3d arg1, int arg2, int arg3, int arg4)
public boolean
a(fx arg0)
isStableDestination(BlockPos arg0)
method_6333(class_2338 arg0)
isValidPosition(BlockPos pos)
func_188555_b(BlockPos arg0)
public NodeEvaluator
q()
getNodeEvaluator()
method_6342()
getNodeMaker()
func_189566_q()
public void
d(boolean arg0)
setCanFloat(boolean arg0)
method_6354(boolean arg0)
setCanSwim(boolean canSwim)
func_212239_d(boolean arg0)
public boolean
r()
canFloat()
method_6350()
canSwim()
func_212238_t()
public void
b(fx arg0)
recomputePath(BlockPos arg0)
method_18053(class_2338 arg0)
onBlockChanged(BlockPos pos)
func_220970_c(BlockPos arg0)
public boolean
t()
isStuck()
method_31267()
isNearPathStartPos()
func_244428_t()