Uses of Class
net.minecraft.world.level.pathfinder.Node
Packages that use Node
Package
Description
-
Uses of Node in net.minecraft.world.entity.ai.behavior
Methods in net.minecraft.world.entity.ai.behavior with parameters of type NodeModifier and TypeMethodDescriptionstatic voidInteractWithDoor.closeDoorsThatIHaveOpenedOrPassedThrough(ServerLevel level, LivingEntity body, @Nullable Node movingFromNode, @Nullable Node movingToNode, Set<GlobalPos> doors, Optional<List<LivingEntity>> nearestEntities) -
Uses of Node in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog that return Node -
Uses of Node in net.minecraft.world.entity.boss.enderdragon
Fields in net.minecraft.world.entity.boss.enderdragon declared as NodeMethods in net.minecraft.world.entity.boss.enderdragon with parameters of type Node -
Uses of Node in net.minecraft.world.level.pathfinder
Subclasses of Node in net.minecraft.world.level.pathfinderFields in net.minecraft.world.level.pathfinder declared as NodeModifier and TypeFieldDescriptionprivate NodeTarget.bestNodeNode.cameFromprivate final Node[]Path.DebugData.closedSetThe field for theclosedSetrecord component.private Node[]BinaryHeap.heapprivate final Node[]PathFinder.neighborsprivate final Node[]Path.DebugData.openSetThe field for theopenSetrecord component.private final Node[]WalkNodeEvaluator.reusableNeighborsFields in net.minecraft.world.level.pathfinder with type parameters of type NodeModifier and TypeFieldDescriptionprotected final it.unimi.dsi.fastutil.ints.Int2ObjectMap<Node> NodeEvaluator.nodesPath.nodesMethods in net.minecraft.world.level.pathfinder that return NodeModifier and TypeMethodDescriptionNode.cloneAndMove(int x, int y, int z) Node[]Path.DebugData.closedSet()Returns the value of theclosedSetrecord component.static NodeNode.createFromStream(FriendlyByteBuf buffer) FlyNodeEvaluator.findAcceptedNode(int x, int y, int z) SwimNodeEvaluator.findAcceptedNode(int x, int y, int z) WalkNodeEvaluator.findAcceptedNode(int x, int y, int z, int jumpSize, double nodeHeight, Direction travelDirection, PathType blockPathTypeCurrent) Target.getBestNode()private NodeWalkNodeEvaluator.getBlockedNode(int x, int y, int z) private NodeWalkNodeEvaluator.getClosedNode(int x, int y, int z, PathType pathType) Path.getEndNode()Node[]BinaryHeap.getHeap()Path.getNextNode()protected NodeNodeEvaluator.getNode(int x, int y, int z) protected NodePath.getNode(int i) private NodeWalkNodeEvaluator.getNodeAndUpdateCostToMax(int x, int y, int z, PathType pathType, float cost) Path.getPreviousNode()AmphibiousNodeEvaluator.getStart()FlyNodeEvaluator.getStart()abstract NodeNodeEvaluator.getStart()SwimNodeEvaluator.getStart()WalkNodeEvaluator.getStart()protected NodeWalkNodeEvaluator.getStartNode(BlockPos pos) Node[]Path.DebugData.openSet()Returns the value of theopenSetrecord component.BinaryHeap.peek()BinaryHeap.pop()private static Node[]Path.readNodeArray(FriendlyByteBuf input) private NodeWalkNodeEvaluator.tryFindFirstGroundNodeBelow(int x, int y, int z) WalkNodeEvaluator.tryFindFirstNonWaterBelow(int x, int y, int z, @Nullable Node best) WalkNodeEvaluator.tryJumpOn(int x, int y, int z, int jumpSize, double nodeHeight, Direction travelDirection, PathType blockPathTypeCurrent, BlockPos.MutableBlockPos reusablePos) Methods in net.minecraft.world.level.pathfinder with parameters of type NodeModifier and TypeMethodDescriptionprivate booleanWalkNodeEvaluator.canReachWithoutCollision(Node posTo) voidBinaryHeap.changeCost(Node node, float newCost) protected floatfloatNode.distanceManhattan(Node to) floatNode.distanceTo(Node to) floatNode.distanceToSqr(Node to) floatNode.distanceToXZ(Node to) PathFinder.findPath(Node from, Map<Target, BlockPos> targetMap, float maxPathLength, int reachRange, float maxVisitedNodesMultiplier) private floatintAmphibiousNodeEvaluator.getNeighbors(Node[] neighbors, Node pos) intFlyNodeEvaluator.getNeighbors(Node[] neighbors, Node pos) abstract intNodeEvaluator.getNeighbors(Node[] neighbors, Node pos) intSwimNodeEvaluator.getNeighbors(Node[] neighbors, Node pos) intWalkNodeEvaluator.getNeighbors(Node[] neighbors, Node pos) private booleanprivate static booleanprotected booleanWalkNodeEvaluator.isDiagonalValid(@Nullable Node diagonal) protected booleanprotected booleanWalkNodeEvaluator.isNeighborValid(@Nullable Node neighbor, Node current) protected booleanSwimNodeEvaluator.isNodeValid(@Nullable Node node) private booleanprivate booleanAmphibiousNodeEvaluator.isVerticalNeighborValid(@Nullable Node verticalNode, Node pos) protected static voidNode.readContents(FriendlyByteBuf buffer, Node node) private PathPathFinder.reconstructPath(Node closest, BlockPos target, boolean reached) voidvoidPath.replaceNode(int index, Node replaceWith) (package private) voidWalkNodeEvaluator.tryFindFirstNonWaterBelow(int x, int y, int z, @Nullable Node best) voidTarget.updateBest(float heuristic, Node node) private static voidPath.writeNodeArray(FriendlyByteBuf output, Node[] nodes) Constructors in net.minecraft.world.level.pathfinder with parameters of type NodeModifierConstructorDescriptionCreates an instance of aDebugDatarecord class.Constructor parameters in net.minecraft.world.level.pathfinder with type arguments of type Node