net.minecraft.world.level.pathfinder

public class Node

cxb
net.minecraft.world.level.pathfinder.Node
net.minecraft.class_9
net.minecraft.entity.ai.pathing.PathNode
net.minecraft.pathfinding.PathPoint
net.minecraft.server.v1_16_R3.PathPoint

Field summary

Modifier and TypeField
public final int
a
x
field_40
x
field_75839_a
public final int
b
y
field_39
y
field_75837_b
public final int
c
z
field_38
z
field_75838_c
private final int
m
hash
field_44
hashCode
field_75840_j
public int
d
heapIdx
field_37
heapIndex
field_75835_d
public float
e
g
field_36
penalizedPathLength
field_75836_e
public float
f
h
field_34
distanceToNearestTarget
field_75833_f
public float
g
f
field_47
heapWeight
field_75834_g
public Node
h
cameFrom
field_35
previous
field_75841_h
public boolean
i
closed
field_42
visited
field_75842_i
public float
j
walkedDistance
field_46
pathLength
field_222861_j
public float
k
costMalus
field_43
penalty
field_186286_l
public BlockPathTypes
l
type
field_41
type
field_186287_m

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)
func_186283_a(int arg0, int arg1, int arg2)
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)
func_75830_a(int arg0, int arg1, int arg2)
public float
a(cxb arg0)
distanceTo(Node arg0)
method_31(class_9 arg0)
getDistance(PathNode node)
func_75829_a(PathPoint arg0)
public float
b(cxb arg0)
distanceToSqr(Node arg0)
method_32(class_9 arg0)
getSquaredDistance(PathNode node)
func_75832_b(PathPoint arg0)
public float
c(cxb arg0)
distanceManhattan(Node arg0)
method_21653(class_9 arg0)
getManhattanDistance(PathNode node)
func_224757_c(PathPoint arg0)
public float
c(fx arg0)
distanceManhattan(BlockPos arg0)
method_21654(class_2338 arg0)
getManhattanDistance(BlockPos pos)
func_224758_c(BlockPos arg0)
public BlockPos
a()
asBlockPos()
method_22879()
getPos()
func_224759_a()
public boolean
c()
inOpenSet()
method_27()
isInHeap()
func_75831_a()
public static Node
b(nf arg0)
createFromStream(FriendlyByteBuf arg0)
method_28(class_2540 arg0)
fromBuffer(PacketByteBuf buffer)
func_186282_b(PacketBuffer arg0)