net.minecraft.world.level.pathfinder

public class Node

dpm
net.minecraft.world.level.pathfinder.Node
net.minecraft.class_9
net.minecraft.entity.ai.pathing.PathNode
net.minecraft.src.C_2751_
net.minecraft.world.level.pathfinder.PathPoint

Field summary

Modifier and TypeField
public final int
a
x
field_40
x
f_77271_
public final int
b
y
field_39
y
f_77272_
public final int
c
z
field_38
z
f_77273_
private final int
m
hash
field_44
hashCode
f_77283_
public int
d
heapIdx
field_37
heapIndex
f_77274_
public float
e
g
field_36
penalizedPathLength
f_77275_
public float
f
h
field_34
distanceToNearestTarget
f_77276_
public float
g
f
field_47
heapWeight
f_77277_
public Node
h
cameFrom
field_35
previous
f_77278_
public boolean
i
closed
field_42
visited
f_77279_
public float
j
walkedDistance
field_46
pathLength
f_77280_
public float
k
costMalus
field_43
penalty
f_77281_
public BlockPathTypes
l
type
field_41
type
f_77282_

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)
m_77289_(int p_77291_, int p_77292_, 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)
m_77295_(int p_77296_, int p_77297_, int p_77298_)
public float
a(dpm arg0)
distanceTo(Node arg0)
method_31(class_9 arg0)
getDistance(PathNode node)
m_77293_(C_2751_ arg0)
public float
b(dpm arg0)
distanceToXZ(Node arg0)
method_44022(class_9 arg0)
getHorizontalDistance(PathNode node)
m_230613_(C_2751_ arg0)
public float
a(gt arg0)
distanceTo(BlockPos arg0)
method_35494(class_2338 arg0)
getDistance(BlockPos pos)
m_164697_(C_4675_ arg0)
public float
c(dpm arg0)
distanceToSqr(Node arg0)
method_32(class_9 arg0)
getSquaredDistance(PathNode node)
m_77299_(C_2751_ arg0)
public float
b(gt arg0)
distanceToSqr(BlockPos arg0)
method_35497(class_2338 arg0)
getSquaredDistance(BlockPos pos)
m_164702_(C_4675_ arg0)
public float
d(dpm arg0)
distanceManhattan(Node arg0)
method_21653(class_9 arg0)
getManhattanDistance(PathNode node)
m_77304_(C_2751_ arg0)
public float
c(gt arg0)
distanceManhattan(BlockPos arg0)
method_21654(class_2338 arg0)
getManhattanDistance(BlockPos pos)
m_77306_(C_4675_ arg0)
public BlockPos
a()
asBlockPos()
method_22879()
getBlockPos()
m_77288_()
public Vec3
b()
asVec3()
method_35496()
getPos()
m_164701_()
public boolean
c()
inOpenSet()
method_27()
isInHeap()
m_77303_()
public void
a(qx arg0)
writeToStream(FriendlyByteBuf arg0)
method_35495(class_2540 arg0)
toBuffer(PacketByteBuf buffer)
m_164699_(C_4983_ arg0)
public static Node
b(qx arg0)
createFromStream(FriendlyByteBuf arg0)
method_28(class_2540 arg0)
readBuf(PacketByteBuf buf)
m_77301_(C_4983_ p_77302_)