net.minecraft.world.level.pathfinder

public class Node

etm
net.minecraft.world.level.pathfinder.Node
net.minecraft.class_9
net.minecraft.entity.ai.pathing.PathNode
net.minecraft.world.level.pathfinder.PathPoint

Field summary

Modifier and TypeField
public final int
a
x
field_40
x
public final int
b
y
field_39
y
public final int
c
z
field_38
z
private final int
m
hash
field_44
hashCode
public int
d
heapIdx
field_37
heapIndex
public float
e
g
field_36
penalizedPathLength
public float
f
h
field_34
distanceToNearestTarget
public float
g
f
field_47
heapWeight
public Node
h
cameFrom
field_35
previous
public boolean
i
closed
field_42
visited
public float
j
walkedDistance
field_46
pathLength
public float
k
costMalus
field_43
penalty
public PathType
l
type
field_41
type

Constructor summary

ModifierConstructor
public (int x, int y, int z)

Method summary

Modifier and TypeMethod
public Node
a(int arg0, int arg1, int arg2)
cloneAndMove(int arg0, int arg1, int arg2)
method_26(int arg0, int arg1, int arg2)
copyWithNewPosition(int x, int y, int z)
public static int
b(int arg0, int arg1, int arg2)
createHash(int arg0, int arg1, int arg2)
method_30(int arg0, int arg1, int arg2)
hash(int x, int y, int z)
public float
a(etm arg0)
distanceTo(Node arg0)
method_31(class_9 arg0)
getDistance(PathNode node)
public float
b(etm arg0)
distanceToXZ(Node arg0)
method_44022(class_9 arg0)
getHorizontalDistance(PathNode node)
public float
a(ji arg0)
distanceTo(BlockPos arg0)
method_35494(class_2338 arg0)
getDistance(BlockPos pos)
public float
c(etm arg0)
distanceToSqr(Node arg0)
method_32(class_9 arg0)
getSquaredDistance(PathNode node)
public float
b(ji arg0)
distanceToSqr(BlockPos arg0)
method_35497(class_2338 arg0)
getSquaredDistance(BlockPos pos)
public float
d(etm arg0)
distanceManhattan(Node arg0)
method_21653(class_9 arg0)
getManhattanDistance(PathNode node)
public float
c(ji arg0)
distanceManhattan(BlockPos arg0)
method_21654(class_2338 arg0)
getManhattanDistance(BlockPos pos)
public BlockPos
a()
asBlockPos()
method_22879()
getBlockPos()
public Vec3
b()
asVec3()
method_35496()
getPos()
public boolean
c()
inOpenSet()
method_27()
isInHeap()
public void
a(vl arg0)
writeToStream(FriendlyByteBuf arg0)
method_35495(class_2540 arg0)
write(PacketByteBuf buf)
public static Node
b(vl arg0)
createFromStream(FriendlyByteBuf arg0)
method_28(class_2540 arg0)
fromBuf(PacketByteBuf buf)
protected static void
a(vl arg0, etm arg1)
readContents(FriendlyByteBuf arg0, Node arg1)
method_47935(class_2540 arg0, class_9 arg1)
readFromBuf(PacketByteBuf buf, PathNode target)