net.minecraft.world.level.pathfinder

public class Path

eto
net.minecraft.world.level.pathfinder.Path
net.minecraft.class_11
net.minecraft.entity.ai.pathing.Path
net.minecraft.world.level.pathfinder.PathEntity

Field summary

Modifier and TypeField
private final List<Node>
a
nodes
field_52
nodes
private Path$DebugData
b
debugData
field_45155
debugNodeInfos
private int
c
nextNodeIndex
field_54
currentNodeIndex
private final BlockPos
d
target
field_20301
target
private final float
e
distToTarget
field_20302
manhattanDistanceFromTarget
private final boolean
f
reached
field_20303
reachesTarget

Constructor summary

ModifierConstructor
public (List<Node> nodes, BlockPos target, boolean reachesTarget)

Method summary

Modifier and TypeMethod
public void
a()
advance()
method_44()
next()
public boolean
b()
notStarted()
method_30849()
isStart()
public boolean
c()
isDone()
method_46()
isFinished()
public Node
d()
getEndNode()
method_45()
getEnd()
public Node
a(int arg0)
getNode(int arg0)
method_40(int arg0)
getNode(int index)
public void
b(int arg0)
truncateNodes(int arg0)
method_36(int arg0)
setLength(int length)
public void
a(int arg0, etm arg1)
replaceNode(int arg0, Node arg1)
method_33(int arg0, class_9 arg1)
setNode(int index, PathNode node)
public int
e()
getNodeCount()
method_38()
getLength()
public int
f()
getNextNodeIndex()
method_39()
getCurrentNodeIndex()
public void
c(int arg0)
setNextNodeIndex(int arg0)
method_42(int arg0)
setCurrentNodeIndex(int nodeIndex)
public Vec3
a(bum arg0, int arg1)
getEntityPosAtNode(Entity arg0, int arg1)
method_47(class_1297 arg0, int arg1)
getNodePosition(Entity entity, int index)
public BlockPos
d(int arg0)
getNodePos(int arg0)
method_31031(int arg0)
getNodePos(int index)
public Vec3
a(bum arg0)
getNextEntityPos(Entity arg0)
method_49(class_1297 arg0)
getNodePosition(Entity entity)
public BlockPos
g()
getNextNodePos()
method_31032()
getCurrentNodePos()
public Node
h()
getNextNode()
method_29301()
getCurrentNode()
public Node
i()
getPreviousNode()
method_30850()
getLastNode()
public boolean
a(eto arg0)
sameAs(Path arg0)
method_41(class_11 arg0)
equalsPath(Path o)
public boolean
j()
canReach()
method_21655()
reachesTarget()
void
a(etm[] arg0, etm[] arg1, Set<etv> arg2)
setDebug(Node[] arg0, Node[] arg1, Set<Target> arg2)
method_35500(class_9[] arg0, class_9[] arg1, Set<class_4459> arg2)
setDebugInfo(PathNode[] debugNodes, PathNode[] debugSecondNodes, Set<TargetPathNode> debugTargetNodes)
public Path$DebugData
k()
debugData()
method_52604()
getDebugNodeInfos()
public void
a(vl arg0)
writeToStream(FriendlyByteBuf arg0)
method_35498(class_2540 arg0)
toBuf(PacketByteBuf buf)
public static Path
b(vl arg0)
createFromStream(FriendlyByteBuf arg0)
method_34(class_2540 arg0)
fromBuf(PacketByteBuf buf)
public BlockPos
l()
getTarget()
method_48()
getTarget()
public float
m()
getDistToTarget()
method_21656()
getManhattanDistanceFromTarget()
static Node[]
c(vl arg0)
readNodeArray(FriendlyByteBuf arg0)
method_52603(class_2540 arg0)
nodesFromBuf(PacketByteBuf buf)
static void
a(vl arg0, etm[] arg1)
writeNodeArray(FriendlyByteBuf arg0, Node[] arg1)
method_52602(class_2540 arg0, class_9[] arg1)
write(PacketByteBuf buf, PathNode[] nodes)
public Path
n()
copy()
method_52605()
copy()