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_23299_, LivingEntity p_23300_, Node p_23301_, Node p_23302_) -
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 Node[]
Path.closedSet
private Node[]
BinaryHeap.heap
private final Node[]
PathFinder.neighbors
private Node[]
Path.openSet
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_) static Node
Node.createFromStream
(FriendlyByteBuf p_77302_) protected Node
WalkNodeEvaluator.findAcceptedNode
(int p_164726_, int p_164727_, int p_164728_, int p_164729_, double p_164730_, Direction p_164731_, BlockPathTypes p_164732_) Target.getBestNode()
private Node
WalkNodeEvaluator.getBlockedNode
(int p_230628_, int p_230629_, int p_230630_) Node[]
Path.getClosedSet()
Path.getEndNode()
Node[]
BinaryHeap.getHeap()
Path.getNextNode()
protected Node
FlyNodeEvaluator.getNode
(int p_77233_, int p_77234_, int p_77235_) protected Node
NodeEvaluator.getNode
(int p_77325_, int p_77326_, int p_77327_) protected Node
Path.getNode
(int p_77376_) protected Node
SwimNodeEvaluator.getNode
(int p_77463_, int p_77464_, int p_77465_) private Node
WalkNodeEvaluator.getNodeAndUpdateCostToMax
(int p_230620_, int p_230621_, int p_230622_, BlockPathTypes p_230623_, float p_230624_) Node[]
Path.getOpenSet()
Path.getPreviousNode()
AmphibiousNodeEvaluator.getStart()
FlyNodeEvaluator.getStart()
abstract Node
NodeEvaluator.getStart()
SwimNodeEvaluator.getStart()
WalkNodeEvaluator.getStart()
protected Node
WalkNodeEvaluator.getStartNode
(BlockPos p_230632_) BinaryHeap.peek()
BinaryHeap.pop()
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_) protected Target
NodeEvaluator.getTargetFromNode
(Node p_230616_) private boolean
protected boolean
SwimNodeEvaluator.isDiagonalNodeValid
(Node p_192964_, Node p_192965_, Node p_192966_) protected boolean
WalkNodeEvaluator.isDiagonalValid
(Node p_77630_, Node p_77631_, Node p_77632_, Node p_77633_) 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_) 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
void
Target.updateBest
(float p_77504_, Node p_77505_)