net.minecraft.world.level.pathfinder

public class Path

eol
net.minecraft.world.level.pathfinder.Path
net.minecraft.class_11
net.minecraft.unmapped.C_motipebf
net.minecraft.entity.ai.pathing.Path
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
f_iskunwgy
nodes
nodes
f_77362_
private Path$DebugData
b
debugData
field_45155
f_npdimlgm
debugNodeInfos
debugData
f_291003_
private int
c
nextNodeIndex
field_54
f_qymekvni
currentNodeIndex
currentNodeIndex
f_77366_
private final BlockPos
d
target
field_20301
f_gtrjknql
target
target
f_77367_
private final float
e
distToTarget
field_20302
f_zqhunaek
manhattanDistanceFromTarget
manhattanDistanceFromTarget
f_77368_
private final boolean
f
reached
field_20303
f_nlmhykwe
reachesTarget
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()
m_fozyqubv()
next()
next()
m_77374_()
public boolean
b()
notStarted()
method_30849()
m_mnggizoj()
isStart()
isStart()
m_77387_()
public boolean
c()
isDone()
method_46()
m_xritjbdy()
isFinished()
isFinished()
m_77392_()
public Node
d()
getEndNode()
method_45()
m_axvllcxp()
getEnd()
getEnd()
m_77395_()
public Node
a(int arg0)
getNode(int arg0)
method_40(int arg0)
m_zpquswci(int arg0)
getNode(int index)
getNode(int index)
m_77375_(int arg0)
public void
b(int arg0)
truncateNodes(int arg0)
method_36(int arg0)
m_tecngvhl(int arg0)
setLength(int length)
setLength(int length)
m_77388_(int arg0)
public void
a(int arg0, eoj arg1)
replaceNode(int arg0, Node arg1)
method_33(int arg0, class_9 arg1)
m_cqttkduq(int arg0, C_dfzwsdmo arg1)
setNode(int index, PathNode node)
setNode(int index, PathNode node)
m_77377_(int p_77379_, C_2751_ arg1)
public int
e()
getNodeCount()
method_38()
m_ntpvcvlx()
getLength()
getLength()
m_77398_()
public int
f()
getNextNodeIndex()
method_39()
m_zewctpfa()
getCurrentNodeIndex()
getCurrentNodeIndex()
m_77399_()
public void
c(int arg0)
setNextNodeIndex(int arg0)
method_42(int arg0)
m_imnukvdp(int arg0)
setCurrentNodeIndex(int nodeIndex)
setCurrentNodeIndex(int index)
m_77393_(int arg0)
public Vec3
a(bsw arg0, int arg1)
getEntityPosAtNode(Entity arg0, int arg1)
method_47(class_1297 arg0, int arg1)
m_fgyierax(C_astfners arg0, int arg1)
getNodePosition(Entity entity, int index)
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)
m_xnzfgmdz(int arg0)
getNodePos(int index)
getNodePos(int index)
m_77396_(int arg0)
public Vec3
a(bsw arg0)
getNextEntityPos(Entity arg0)
method_49(class_1297 arg0)
m_waeuyufo(C_astfners arg0)
getNodePosition(Entity entity)
getNodePosition(Entity entity)
m_77380_(C_507_ arg0)
public BlockPos
g()
getNextNodePos()
method_31032()
m_kvckmlkt()
getCurrentNodePos()
getCurrentNodePos()
m_77400_()
public Node
h()
getNextNode()
method_29301()
m_npbjkjcx()
getCurrentNode()
getCurrentNode()
m_77401_()
public Node
i()
getPreviousNode()
method_30850()
m_seaiuqoe()
getLastNode()
getLastNode()
m_77402_()
public boolean
a(eol arg0)
sameAs(Path arg0)
method_41(class_11 arg0)
m_ryjewxdp(C_motipebf arg0)
equalsPath(Path o)
equalsPath(Path o)
m_77385_(C_2753_ arg0)
public boolean
j()
canReach()
method_21655()
m_kdbssaii()
reachesTarget()
reachesTarget()
m_77403_()
void
a(eoj[] arg0, eoj[] arg1, Set<eos> arg2)
setDebug(Node[] arg0, Node[] arg1, Set<Target> arg2)
method_35500(class_9[] arg0, class_9[] arg1, Set<class_4459> arg2)
m_zjflgzya(C_dfzwsdmo[] arg0, C_dfzwsdmo[] arg1, Set<C_srqeyrql> arg2)
setDebugInfo(PathNode[] debugNodes, PathNode[] debugSecondNodes, Set<TargetPathNode> debugTargetNodes)
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()
m_pcofzwtj()
getDebugNodeInfos()
getDebugData()
m_294881_()
public void
a(wm arg0)
writeToStream(FriendlyByteBuf arg0)
method_35498(class_2540 arg0)
m_uetjhspo(C_idfydwco arg0)
toBuf(PacketByteBuf buf)
toBuffer(PacketByteBuf buffer)
m_164704_(C_4983_ arg0)
public static Path
b(wm arg0)
createFromStream(FriendlyByteBuf arg0)
method_34(class_2540 arg0)
m_ozfeszxb(C_idfydwco arg0)
fromBuf(PacketByteBuf buf)
fromBuffer(PacketByteBuf buffer)
m_77390_(C_4983_ p_77391_)
public BlockPos
l()
getTarget()
method_48()
m_rpwipgco()
getTarget()
getTarget()
m_77406_()
public float
m()
getDistToTarget()
method_21656()
m_wkbnabvd()
getManhattanDistanceFromTarget()
getManhattanDistanceFromTarget()
m_77407_()
static Node[]
c(wm arg0)
readNodeArray(FriendlyByteBuf arg0)
method_52603(class_2540 arg0)
m_kelqkczg(C_idfydwco arg0)
nodesFromBuf(PacketByteBuf buf)
readNodes(PacketByteBuf buf)
m_293564_(C_4983_ p_300065_)
static void
a(wm arg0, eoj[] arg1)
writeNodeArray(FriendlyByteBuf arg0, Node[] arg1)
method_52602(class_2540 arg0, class_9[] arg1)
m_dnyzefqj(C_idfydwco arg0, C_dfzwsdmo[] arg1)
write(PacketByteBuf buf, PathNode[] nodes)
write(PacketByteBuf buf, PathNode[] nodes)
m_294259_(C_4983_ p_300557_, C_2751_[] p_301136_)
public Path
n()
copy()
method_52605()
m_wczjqbsn()
copy()
copy()
m_293763_()