net.minecraft.world.level.pathfinder

public class Path

ebb
net.minecraft.world.level.pathfinder.Path
net.minecraft.class_11
net.minecraft.entity.ai.pathing.Path
net.minecraft.src.C_2753_
net.minecraft.world.level.pathfinder.PathEntity

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a()
advance()
method_44()
next()
m_77374_()
public boolean
b()
notStarted()
method_30849()
isStart()
m_77387_()
public boolean
c()
isDone()
method_46()
isFinished()
m_77392_()
public Node
d()
getEndNode()
method_45()
getEnd()
m_77395_()
public Node
a(int arg0)
getNode(int arg0)
method_40(int arg0)
getNode(int index)
m_77375_(int arg0)
public void
b(int arg0)
truncateNodes(int arg0)
method_36(int arg0)
setLength(int length)
m_77388_(int arg0)
public void
a(int arg0, eaz arg1)
replaceNode(int arg0, Node arg1)
method_33(int arg0, class_9 arg1)
setNode(int index, PathNode node)
m_77377_(int p_77379_, C_2751_ arg1)
public int
e()
getNodeCount()
method_38()
getLength()
m_77398_()
public int
f()
getNextNodeIndex()
method_39()
getCurrentNodeIndex()
m_77399_()
public void
c(int arg0)
setNextNodeIndex(int arg0)
method_42(int arg0)
setCurrentNodeIndex(int nodeIndex)
m_77393_(int arg0)
public Vec3
a(biq arg0, int arg1)
getEntityPosAtNode(Entity arg0, int arg1)
method_47(class_1297 arg0, int arg1)
getNodePosition(Entity entity, int index)
m_77382_(C_507_ p_77384_, int arg1)
public BlockPos
d(int arg0)
getNodePos(int arg0)
method_31031(int arg0)
getNodePos(int index)
m_77396_(int arg0)
public Vec3
a(biq arg0)
getNextEntityPos(Entity arg0)
method_49(class_1297 arg0)
getNodePosition(Entity entity)
m_77380_(C_507_ arg0)
public BlockPos
g()
getNextNodePos()
method_31032()
getCurrentNodePos()
m_77400_()
public Node
h()
getNextNode()
method_29301()
getCurrentNode()
m_77401_()
public Node
i()
getPreviousNode()
method_30850()
getLastNode()
m_77402_()
public boolean
a(ebb arg0)
sameAs(Path arg0)
method_41(class_11 arg0)
equalsPath(Path o)
m_77385_(C_2753_ arg0)
public boolean
j()
canReach()
method_21655()
reachesTarget()
m_77403_()
void
a(eaz[] arg0, eaz[] arg1, Set<ebf> 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)
m_164709_(C_2751_[] p_164711_, C_2751_[] p_164712_, Set<C_2757_> arg2)
public Path$DebugData
k()
debugData()
method_52604()
getDebugNodeInfos()
m_294881_()
public void
a(so arg0)
writeToStream(FriendlyByteBuf arg0)
method_35498(class_2540 arg0)
toBuf(PacketByteBuf buf)
m_164704_(C_4983_ arg0)
public static Path
b(so arg0)
createFromStream(FriendlyByteBuf arg0)
method_34(class_2540 arg0)
fromBuf(PacketByteBuf buf)
m_77390_(C_4983_ p_77391_)
public BlockPos
l()
getTarget()
method_48()
getTarget()
m_77406_()
public float
m()
getDistToTarget()
method_21656()
getManhattanDistanceFromTarget()
m_77407_()
static Node[]
c(so arg0)
readNodeArray(FriendlyByteBuf arg0)
method_52603(class_2540 arg0)
nodesFromBuf(PacketByteBuf buf)
m_293564_(C_4983_ p_300065_)
static void
a(so arg0, eaz[] arg1)
writeNodeArray(FriendlyByteBuf arg0, Node[] arg1)
method_52602(class_2540 arg0, class_9[] arg1)
write(PacketByteBuf buf, PathNode[] nodes)
m_294259_(C_4983_ p_300557_, C_2751_[] p_301136_)
public Path
n()
copy()
method_52605()
copy()
m_293763_()