net.minecraft.world.level.pathfinder

public class Node

fax
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

字段概要

修饰符与类型字段
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 PathType
l
type
field_41
type
f_77282_

构造函数概要

修饰符构造函数
public (int x, int y, int z)

方法概要

修饰符与类型方法
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(fax arg0)
distanceTo(Node arg0)
method_31(class_9 arg0)
getDistance(PathNode node)
m_77293_(C_2751_ arg0)
public float
b(fax arg0)
distanceToXZ(Node arg0)
method_44022(class_9 arg0)
getHorizontalDistance(PathNode node)
m_230613_(C_2751_ arg0)
public float
a(jb arg0)
distanceTo(BlockPos arg0)
method_35494(class_2338 arg0)
getDistance(BlockPos pos)
m_164697_(C_4675_ arg0)
public float
c(fax arg0)
distanceToSqr(Node arg0)
method_32(class_9 arg0)
getSquaredDistance(PathNode node)
m_77299_(C_2751_ arg0)
public float
b(jb arg0)
distanceToSqr(BlockPos arg0)
method_35497(class_2338 arg0)
getSquaredDistance(BlockPos pos)
m_164702_(C_4675_ arg0)
public float
d(fax arg0)
distanceManhattan(Node arg0)
method_21653(class_9 arg0)
getManhattanDistance(PathNode node)
m_77304_(C_2751_ arg0)
public float
c(jb 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(wg arg0)
writeToStream(FriendlyByteBuf arg0)
method_35495(class_2540 arg0)
write(PacketByteBuf buf)
m_164699_(C_4983_ arg0)
public static Node
b(wg arg0)
createFromStream(FriendlyByteBuf arg0)
method_28(class_2540 arg0)
fromBuf(PacketByteBuf buf)
m_77301_(C_4983_ p_77302_)
protected static void
a(wg arg0, fax arg1)
readContents(FriendlyByteBuf arg0, Node arg1)
method_47935(class_2540 arg0, class_9 arg1)
readFromBuf(PacketByteBuf buf, PathNode target)
m_262841_(C_4983_ p_262984_, C_2751_ p_263009_)