Uses of Class
net.minecraft.entity.ai.pathing.PathNode
Package
Description
-
Uses of PathNode in net.minecraft.entity.ai.brain.task
Modifier and TypeMethodDescriptionstatic void
OpenDoorsTask.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
Modifier and TypeFieldDescriptionprivate final PathNode[]
Path.DebugNodeInfo.closedSet
The field for theclosedSet
record component.private PathNode
TargetPathNode.nearestNode
private final PathNode[]
Path.DebugNodeInfo.openSet
The field for theopenSet
record component.private PathNode[]
PathMinHeap.pathNodes
PathNode.previous
private final PathNode[]
LandPathNodeMaker.successors
private final PathNode[]
PathNodeNavigator.successors
Modifier and TypeFieldDescriptionPath.nodes
protected final Int2ObjectMap
<PathNode> PathNodeMaker.pathNodeCache
Modifier and TypeMethodDescriptionPathNode[]
Path.DebugNodeInfo.closedSet()
Returns the value of theclosedSet
record component.PathNode.copyWithNewPosition
(int x, int y, int z) static PathNode
PathNode.fromBuf
(PacketByteBuf buf) private PathNode
LandPathNodeMaker.getBlockedNode
(int x, int y, int z) Path.getCurrentNode()
Path.getEnd()
LandPathNodeMaker.getJumpOnTopNode
(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType, BlockPos.Mutable mutablePos) Path.getLastNode()
TargetPathNode.getNearestNode()
Path.getNode
(int index) protected PathNode
PathNodeMaker.getNode
(int x, int y, int z) protected PathNode
PathNode[]
PathMinHeap.getNodes()
private PathNode
LandPathNodeMaker.getNodeWith
(int x, int y, int z, PathNodeType type) private PathNode
LandPathNodeMaker.getNodeWith
(int x, int y, int z, PathNodeType type, float penalty) LandPathNodeMaker.getNonWaterNodeBelow
(int x, int y, int z, @Nullable PathNode node) private PathNode
LandPathNodeMaker.getOpenNode
(int x, int y, int z) BirdPathNodeMaker.getPassableNode
(int x, int y, int z) WaterPathNodeMaker.getPassableNode
(int x, int y, int z) LandPathNodeMaker.getPathNode
(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType) AmphibiousPathNodeMaker.getStart()
BirdPathNodeMaker.getStart()
LandPathNodeMaker.getStart()
protected PathNode
PathMinHeap.getStart()
abstract PathNode
PathNodeMaker.getStart()
WaterPathNodeMaker.getStart()
(package private) static PathNode[]
Path.nodesFromBuf
(PacketByteBuf buf) PathNode[]
Path.DebugNodeInfo.openSet()
Returns the value of theopenSet
record component.PathMinHeap.pop()
Modifier and TypeMethodDescriptionprivate float
PathNodeNavigator.calculateDistances
(PathNode node, Set<TargetPathNode> targets) private Path
PathNodeNavigator.createPath
(PathNode endNode, BlockPos target, boolean reachesTarget) PathNodeNavigator.findPathToAny
(Profiler profiler, PathNode startNode, Map<TargetPathNode, BlockPos> positions, float followRange, int distance, float rangeMultiplier) float
PathNode.getDistance
(PathNode node) protected float
PathNodeNavigator.getDistance
(PathNode a, PathNode b) float
PathNode.getHorizontalDistance
(PathNode node) float
PathNode.getManhattanDistance
(PathNode node) LandPathNodeMaker.getNonWaterNodeBelow
(int x, int y, int z, @Nullable PathNode node) float
PathNode.getSquaredDistance
(PathNode node) int
AmphibiousPathNodeMaker.getSuccessors
(PathNode[] successors, PathNode node) int
BirdPathNodeMaker.getSuccessors
(PathNode[] successors, PathNode node) int
LandPathNodeMaker.getSuccessors
(PathNode[] successors, PathNode node) abstract int
PathNodeMaker.getSuccessors
(PathNode[] successors, PathNode node) int
WaterPathNodeMaker.getSuccessors
(PathNode[] successors, PathNode node) protected boolean
WaterPathNodeMaker.hasNotVisited
(@Nullable PathNode node) private static boolean
WaterPathNodeMaker.hasPenalty
(@Nullable PathNode node) private boolean
private boolean
BirdPathNodeMaker.isPassable
(@Nullable PathNode node) protected boolean
LandPathNodeMaker.isValidAdjacentSuccessor
(@Nullable PathNode node, PathNode successor) private boolean
AmphibiousPathNodeMaker.isValidAquaticAdjacentSuccessor
(@Nullable PathNode node, PathNode successor) protected boolean
LandPathNodeMaker.isValidDiagonalSuccessor
(@Nullable PathNode node) protected boolean
LandPathNodeMaker.isValidDiagonalSuccessor
(PathNode xNode, @Nullable PathNode zNode, @Nullable PathNode xDiagNode) void
protected static void
PathNode.readFromBuf
(PacketByteBuf buf, PathNode target) (package private) void
Path.setDebugInfo
(PathNode[] debugNodes, PathNode[] debugSecondNodes, Set<TargetPathNode> debugTargetNodes) void
void
PathMinHeap.setNodeWeight
(PathNode node, float weight) private boolean
void
TargetPathNode.updateNearestNode
(float distance, PathNode node) (package private) static void
Path.write
(PacketByteBuf buf, PathNode[] nodes) ModifierConstructorDescriptionDebugNodeInfo
(PathNode[] pathNode, PathNode[] pathNode2, Set<TargetPathNode> set) TargetPathNode
(PathNode node) -
Uses of PathNode in net.minecraft.entity.boss.dragon
-
Uses of PathNode in net.minecraft.entity.passive