net.minecraft.world.level.pathfinder

public class Path

cxd
net.minecraft.world.level.pathfinder.Path
net.minecraft.class_11
net.minecraft.entity.ai.pathing.Path
net.minecraft.pathfinding.Path
net.minecraft.server.v1_16_R3.PathEntity

Field summary

Modifier and TypeField
private final List<Node>
a
nodes
field_52
nodes
field_75884_a
private Node[]
b
openSet
field_57
field_57
field_186312_b
private Node[]
c
closedSet
field_55
field_55
field_186313_c
private int
e
nextNodeIndex
field_54
currentNodeIndex
field_75882_b
private final BlockPos
f
target
field_20301
target
field_186314_d
private final float
g
distToTarget
field_20302
manhattanDistanceFromTarget
field_224773_g
private final boolean
h
reached
field_20303
reachesTarget
field_224774_h
private Set<Target>
d
targetNodes
field_20300
field_20300
field_224772_d

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a()
advance()
method_44()
next()
func_75875_a()
public boolean
b()
notStarted()
method_30849()
method_30849()
func_242945_b()
public boolean
c()
isDone()
method_46()
isFinished()
func_75879_b()
public Node
d()
getEndNode()
method_45()
getEnd()
func_75870_c()
public Node
a(int arg0)
getNode(int arg0)
method_40(int arg0)
getNode(int index)
func_75877_a(int arg0)
public void
b(int arg0)
truncateNodes(int arg0)
method_36(int arg0)
setLength(int length)
func_215747_b(int arg0)
public void
a(int arg0, cxb arg1)
replaceNode(int arg0, Node arg1)
method_33(int arg0, class_9 arg1)
setNode(int index, PathNode node)
func_186309_a(int arg0, PathPoint arg1)
public int
e()
getNodeCount()
method_38()
getLength()
func_75874_d()
public int
f()
getNextNodeIndex()
method_39()
getCurrentNodeIndex()
func_75873_e()
public void
c(int arg0)
setNextNodeIndex(int arg0)
method_42(int arg0)
setCurrentNodeIndex(int index)
func_75872_c(int arg0)
public Vec3
a(aqa arg0, int arg1)
getEntityPosAtNode(Entity arg0, int arg1)
method_47(class_1297 arg0, int arg1)
getNodePosition(Entity entity, int index)
func_75881_a(Entity arg0, int arg1)
public BlockPos
d(int arg0)
getNodePos(int arg0)
method_31031(int arg0)
method_31031(int arg0)
func_242947_d(int arg0)
public Vec3
a(aqa arg0)
getNextEntityPos(Entity arg0)
method_49(class_1297 arg0)
getNodePosition(Entity entity)
func_75878_a(Entity arg0)
public BlockPos
g()
getNextNodePos()
method_31032()
method_31032()
func_242948_g()
public Node
h()
getNextNode()
method_29301()
method_29301()
func_237225_h_()
public Node
i()
getPreviousNode()
method_30850()
method_30850()
func_242950_i()
public boolean
a(cxd arg0)
sameAs(Path arg0)
method_41(class_11 arg0)
equalsPath(Path o)
func_75876_a(Path arg0)
public boolean
j()
canReach()
method_21655()
reachesTarget()
func_224771_h()
public BlockPos
m()
getTarget()
method_48()
getTarget()
func_224770_k()
public float
n()
getDistToTarget()
method_21656()
getManhattanDistanceFromTarget()
func_224769_l()
public Node[]
k()
getOpenSet()
method_22880()
method_22880()
func_189966_g()
public Node[]
l()
getClosedSet()
method_22881()
method_22881()
func_189965_h()
public static Path
b(nf arg0)
createFromStream(FriendlyByteBuf arg0)
method_34(class_2540 arg0)
fromBuffer(PacketByteBuf buffer)
func_186311_b(PacketBuffer arg0)