net.minecraft.world.level.pathfinder

public class Path

dha
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 Node[]
b
openSet
field_57
debugNodes
f_77363_
private Node[]
c
closedSet
field_55
debugSecondNodes
f_77364_
private Set<Target>
d
targetNodes
field_20300
debugTargetNodes
f_77365_
private int
e
nextNodeIndex
field_54
currentNodeIndex
f_77366_
private final BlockPos
f
target
field_20301
target
f_77367_
private final float
g
distToTarget
field_20302
manhattanDistanceFromTarget
f_77368_
private final boolean
h
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, dgy 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 index)
m_77393_(int arg0)
public Vec3
a(atg 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(atg 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(dha 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(dgy[] arg0, dgy[] arg1, Set<dhe> 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 Node[]
k()
getOpenSet()
method_22880()
getDebugNodes()
m_77404_()
public Node[]
l()
getClosedSet()
method_22881()
getDebugSecondNodes()
m_77405_()
public void
a(og arg0)
writeToStream(FriendlyByteBuf arg0)
method_35498(class_2540 arg0)
toBuffer(PacketByteBuf buffer)
m_164704_(C_4983_ arg0)
public static Path
b(og arg0)
createFromStream(FriendlyByteBuf arg0)
method_34(class_2540 arg0)
fromBuffer(PacketByteBuf buffer)
m_77390_(C_4983_ p_77391_)
public BlockPos
m()
getTarget()
method_48()
getTarget()
m_77406_()
public float
n()
getDistToTarget()
method_21656()
getManhattanDistanceFromTarget()
m_77407_()