net.minecraft.world.level.pathfinder

public class Path

cqn
net.minecraft.world.level.pathfinder.Path
net.minecraft.class_11
net.minecraft.entity.ai.pathing.Path
net.minecraft.pathfinding.Path
net.minecraft.server.v1_15_R1.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_186312_b
private Node[]
c
closedSet
field_55
field_186313_c
private int
e
index
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_224772_d

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a()
next()
method_44()
next()
func_75875_a()
public boolean
b()
isDone()
method_46()
isFinished()
func_75879_b()
public Node
c()
last()
method_45()
getEnd()
func_75870_c()
public Node
a(int arg0)
get(int arg0)
method_40(int arg0)
getNode(int index)
func_75877_a(int arg0)
public List<Node>
d()
getNodes()
method_19314()
getNodes()
func_215746_d()
public void
b(int arg0)
truncate(int arg0)
method_36(int arg0)
setLength(int length)
func_215747_b(int arg0)
public void
a(int arg0, cql arg1)
set(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()
getSize()
method_38()
getLength()
func_75874_d()
public int
f()
getIndex()
method_39()
getCurrentNodeIndex()
func_75873_e()
public void
c(int arg0)
setIndex(int arg0)
method_42(int arg0)
setCurrentNodeIndex(int index)
func_75872_c(int arg0)
public Vec3
a(akn arg0, int arg1)
getPos(Entity arg0, int arg1)
method_47(class_1297 arg0, int arg1)
getNodePosition(Entity entity, int index)
func_75881_a(Entity arg0, int arg1)
public Vec3
a(akn arg0)
currentPos(Entity arg0)
method_49(class_1297 arg0)
getNodePosition(Entity arg0)
func_75878_a(Entity arg0)
public Vec3
g()
currentPos()
method_35()
getCurrentPosition()
func_186310_f()
public boolean
a(cqn arg0)
sameAs(Path arg0)
method_41(class_11 arg0)
equalsPath(Path arg0)
func_75876_a(Path arg0)
public boolean
h()
canReach()
method_21655()
reachesTarget()
func_224771_h()
public BlockPos
k()
getTarget()
method_48()
getTarget()
func_224770_k()
public float
l()
getDistToTarget()
method_21656()
getManhattanDistanceFromTarget()
func_224769_l()
public Node[]
i()
getOpenSet()
method_22880()
func_189966_g()
public Node[]
j()
getClosedSet()
method_22881()
func_189965_h()
public static Path
b(kv arg0)
createFromStream(FriendlyByteBuf arg0)
method_34(class_2540 arg0)
fromBuffer(PacketByteBuf buffer)
func_186311_b(PacketBuffer arg0)