Uses of Class
net.minecraft.entity.ai.pathing.PathNode
Packages that use PathNode
Package
Description
-
Uses of PathNode in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task with parameters of type PathNodeModifier and TypeMethodDescriptionstatic voidOpenDoorsTask.pathToDoor(ServerWorld world, LivingEntity entity, @Nullable PathNode lastNode, @Nullable PathNode currentNode, Set<GlobalPos> doors, Optional<List<LivingEntity>> otherMobs) -
Uses of PathNode in net.minecraft.entity.ai.pathing
Subclasses of PathNode in net.minecraft.entity.ai.pathingFields in net.minecraft.entity.ai.pathing declared as PathNodeModifier and TypeFieldDescriptionprivate final PathNode[]Path.DebugNodeInfo.closedSetThe field for theclosedSetrecord component.private PathNodeTargetPathNode.nearestNodeprivate final PathNode[]Path.DebugNodeInfo.openSetThe field for theopenSetrecord component.private PathNode[]PathMinHeap.pathNodes@Nullable PathNodePathNode.previousprivate final PathNode[]LandPathNodeMaker.successorsprivate final PathNode[]PathNodeNavigator.successorsFields in net.minecraft.entity.ai.pathing with type parameters of type PathNodeModifier and TypeFieldDescriptionPath.nodesprotected final Int2ObjectMap<PathNode> PathNodeMaker.pathNodeCacheMethods in net.minecraft.entity.ai.pathing that return PathNodeModifier and TypeMethodDescriptionPathNode[]Path.DebugNodeInfo.closedSet()Returns the value of theclosedSetrecord component.PathNode.copyWithNewPosition(int x, int y, int z) static PathNodePathNode.fromBuf(PacketByteBuf buf) private PathNodeLandPathNodeMaker.getBlockedNode(int x, int y, int z) Path.getCurrentNode()@Nullable PathNodePath.getEnd()private @Nullable PathNodeLandPathNodeMaker.getJumpOnTopNode(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType, BlockPos.Mutable mutablePos) @Nullable PathNodePath.getLastNode()TargetPathNode.getNearestNode()Path.getNode(int index) protected PathNodePathNodeMaker.getNode(int x, int y, int z) protected PathNodePathNode[]PathMinHeap.getNodes()private PathNodeLandPathNodeMaker.getNodeWith(int x, int y, int z, PathNodeType type) private PathNodeLandPathNodeMaker.getNodeWith(int x, int y, int z, PathNodeType type, float penalty) private @Nullable PathNodeLandPathNodeMaker.getNonWaterNodeBelow(int x, int y, int z, @Nullable PathNode node) private PathNodeLandPathNodeMaker.getOpenNode(int x, int y, int z) protected @Nullable PathNodeBirdPathNodeMaker.getPassableNode(int x, int y, int z) protected @Nullable PathNodeWaterPathNodeMaker.getPassableNode(int x, int y, int z) protected @Nullable PathNodeLandPathNodeMaker.getPathNode(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType) AmphibiousPathNodeMaker.getStart()BirdPathNodeMaker.getStart()LandPathNodeMaker.getStart()protected PathNodePathMinHeap.getStart()abstract PathNodePathNodeMaker.getStart()WaterPathNodeMaker.getStart()(package private) static PathNode[]Path.nodesFromBuf(PacketByteBuf buf) PathNode[]Path.DebugNodeInfo.openSet()Returns the value of theopenSetrecord component.PathMinHeap.pop()Methods in net.minecraft.entity.ai.pathing with parameters of type PathNodeModifier and TypeMethodDescriptionprivate floatPathNodeNavigator.calculateDistances(PathNode node, Set<TargetPathNode> targets) private PathPathNodeNavigator.createPath(PathNode endNode, BlockPos target, boolean reachesTarget) private @Nullable PathPathNodeNavigator.findPathToAny(Profiler profiler, PathNode startNode, Map<TargetPathNode, BlockPos> positions, float followRange, int distance, float rangeMultiplier) floatPathNode.getDistance(PathNode node) protected floatPathNodeNavigator.getDistance(PathNode a, PathNode b) floatPathNode.getHorizontalDistance(PathNode node) floatPathNode.getManhattanDistance(PathNode node) private @Nullable PathNodeLandPathNodeMaker.getNonWaterNodeBelow(int x, int y, int z, @Nullable PathNode node) floatPathNode.getSquaredDistance(PathNode node) intAmphibiousPathNodeMaker.getSuccessors(PathNode[] successors, PathNode node) intBirdPathNodeMaker.getSuccessors(PathNode[] successors, PathNode node) intLandPathNodeMaker.getSuccessors(PathNode[] successors, PathNode node) abstract intPathNodeMaker.getSuccessors(PathNode[] successors, PathNode node) intWaterPathNodeMaker.getSuccessors(PathNode[] successors, PathNode node) protected booleanWaterPathNodeMaker.hasNotVisited(@Nullable PathNode node) private static booleanWaterPathNodeMaker.hasPenalty(@Nullable PathNode node) private booleanprivate booleanBirdPathNodeMaker.isPassable(@Nullable PathNode node) protected booleanLandPathNodeMaker.isValidAdjacentSuccessor(@Nullable PathNode node, PathNode successor) private booleanAmphibiousPathNodeMaker.isValidAquaticAdjacentSuccessor(@Nullable PathNode node, PathNode successor) protected booleanLandPathNodeMaker.isValidDiagonalSuccessor(@Nullable PathNode node) protected booleanLandPathNodeMaker.isValidDiagonalSuccessor(PathNode xNode, @Nullable PathNode zNode, @Nullable PathNode xDiagNode) voidprotected static voidPathNode.readFromBuf(PacketByteBuf buf, PathNode target) (package private) voidPath.setDebugInfo(PathNode[] debugNodes, PathNode[] debugSecondNodes, Set<TargetPathNode> debugTargetNodes) voidvoidPathMinHeap.setNodeWeight(PathNode node, float weight) private booleanvoidTargetPathNode.updateNearestNode(float distance, PathNode node) (package private) static voidPath.write(PacketByteBuf buf, PathNode[] nodes) Constructors in net.minecraft.entity.ai.pathing with parameters of type PathNodeModifierConstructorDescriptionDebugNodeInfo(PathNode[] pathNode, PathNode[] pathNode2, Set<TargetPathNode> set) TargetPathNode(PathNode node) Constructor parameters in net.minecraft.entity.ai.pathing with type arguments of type PathNode -
Uses of PathNode in net.minecraft.entity.boss.dragon
Fields in net.minecraft.entity.boss.dragon declared as PathNodeModifier and TypeFieldDescriptionprivate final PathNode[]EnderDragonEntity.pathNodesThe first 12 path nodes are used for end crystals; the others are not tied to them.Methods in net.minecraft.entity.boss.dragon with parameters of type PathNode -
Uses of PathNode in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return PathNode