Uses of Class
net.minecraft.world.level.pathfinder.Node
Package
Description
-
Uses of Node in net.minecraft.world.entity.ai.behavior
Modifier and TypeMethodDescriptionstatic void
InteractWithDoor.closeDoorsThatIHaveOpenedOrPassedThrough
(ServerLevel p_260343_, LivingEntity p_259371_, Node p_259408_, Node p_260013_, Set<GlobalPos> p_259401_, Optional<List<LivingEntity>> p_260015_) -
Uses of Node in net.minecraft.world.entity.animal.frog
-
Uses of Node in net.minecraft.world.entity.boss.enderdragon
-
Uses of Node in net.minecraft.world.level.pathfinder
Modifier and TypeFieldDescriptionprivate Node
Target.bestNode
Node.cameFrom
private final Node[]
Path.DebugData.closedSet
The field for theclosedSet
record component.private Node[]
BinaryHeap.heap
private final Node[]
PathFinder.neighbors
private final Node[]
Path.DebugData.openSet
The field for theopenSet
record component.private final Node[]
WalkNodeEvaluator.reusableNeighbors
Modifier and TypeFieldDescriptionprotected final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<Node> NodeEvaluator.nodes
Path.nodes
Modifier and TypeMethodDescriptionNode.cloneAndMove
(int p_77290_, int p_77291_, int p_77292_) Node[]
Path.DebugData.closedSet()
Returns the value of theclosedSet
record component.static Node
Node.createFromStream
(FriendlyByteBuf p_77302_) protected Node
FlyNodeEvaluator.findAcceptedNode
(int p_262970_, int p_263018_, int p_262947_) protected Node
SwimNodeEvaluator.findAcceptedNode
(int p_263032_, int p_263066_, int p_263105_) protected Node
WalkNodeEvaluator.findAcceptedNode
(int p_164726_, int p_164727_, int p_164728_, int p_164729_, double p_164730_, Direction p_164731_, PathType p_326873_) Target.getBestNode()
private Node
WalkNodeEvaluator.getBlockedNode
(int p_230628_, int p_230629_, int p_230630_) private Node
WalkNodeEvaluator.getClosedNode
(int p_326935_, int p_326904_, int p_326845_, PathType p_326820_) Path.getEndNode()
Node[]
BinaryHeap.getHeap()
Path.getNextNode()
protected Node
NodeEvaluator.getNode
(int p_77325_, int p_77326_, int p_77327_) protected Node
Path.getNode
(int p_77376_) private Node
WalkNodeEvaluator.getNodeAndUpdateCostToMax
(int p_230620_, int p_230621_, int p_230622_, PathType p_326789_, float p_230624_) Path.getPreviousNode()
AmphibiousNodeEvaluator.getStart()
FlyNodeEvaluator.getStart()
abstract Node
NodeEvaluator.getStart()
SwimNodeEvaluator.getStart()
WalkNodeEvaluator.getStart()
protected Node
WalkNodeEvaluator.getStartNode
(BlockPos p_230632_) Node[]
Path.DebugData.openSet()
Returns the value of theopenSet
record component.BinaryHeap.peek()
BinaryHeap.pop()
(package private) static Node[]
Path.readNodeArray
(FriendlyByteBuf p_294398_) private Node
WalkNodeEvaluator.tryFindFirstGroundNodeBelow
(int p_326892_, int p_326901_, int p_326809_) private Node
WalkNodeEvaluator.tryFindFirstNonWaterBelow
(int p_326959_, int p_326927_, int p_326932_, Node p_326880_) private Node
WalkNodeEvaluator.tryJumpOn
(int p_326914_, int p_326900_, int p_326886_, int p_326902_, double p_326800_, Direction p_326868_, PathType p_326831_, BlockPos.MutableBlockPos p_326839_) Modifier and TypeMethodDescriptionprivate boolean
WalkNodeEvaluator.canReachWithoutCollision
(Node p_77625_) void
BinaryHeap.changeCost
(Node p_77087_, float p_77088_) protected float
float
Node.distanceManhattan
(Node p_77305_) float
Node.distanceTo
(Node p_77294_) float
Node.distanceToSqr
(Node p_77300_) float
Node.distanceToXZ
(Node p_230614_) private Path
PathFinder.findPath
(ProfilerFiller p_164717_, Node p_164718_, Map<Target, BlockPos> p_164719_, float p_164720_, int p_164721_, float p_164722_) private float
int
AmphibiousNodeEvaluator.getNeighbors
(Node[] p_164676_, Node p_164677_) int
FlyNodeEvaluator.getNeighbors
(Node[] p_77266_, Node p_77267_) abstract int
NodeEvaluator.getNeighbors
(Node[] p_77353_, Node p_77354_) int
SwimNodeEvaluator.getNeighbors
(Node[] p_77483_, Node p_77484_) int
WalkNodeEvaluator.getNeighbors
(Node[] p_77640_, Node p_77641_) private boolean
private static boolean
protected boolean
WalkNodeEvaluator.isDiagonalValid
(Node p_77630_) protected boolean
WalkNodeEvaluator.isDiagonalValid
(Node p_326907_, Node p_326803_, Node p_326821_) protected boolean
WalkNodeEvaluator.isNeighborValid
(Node p_77627_, Node p_77628_) protected boolean
SwimNodeEvaluator.isNodeValid
(Node p_192962_) private boolean
private boolean
AmphibiousNodeEvaluator.isVerticalNeighborValid
(Node p_230611_, Node p_230612_) protected static void
Node.readContents
(FriendlyByteBuf p_262984_, Node p_263009_) private Path
PathFinder.reconstructPath
(Node p_77435_, BlockPos p_77436_, boolean p_77437_) void
void
Path.replaceNode
(int p_77378_, Node p_77379_) (package private) void
private Node
WalkNodeEvaluator.tryFindFirstNonWaterBelow
(int p_326959_, int p_326927_, int p_326932_, Node p_326880_) void
Target.updateBest
(float p_77504_, Node p_77505_) (package private) static void
Path.writeNodeArray
(FriendlyByteBuf p_296066_, Node[] p_294231_) ModifierConstructorDescriptionCreates an instance of aDebugData
record class.