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 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
Subclasses of PathNode in net.minecraft.entity.ai.pathingFields in net.minecraft.entity.ai.pathing declared as PathNodeModifier and TypeFieldDescriptionprivate PathNode[]
Path.debugNodes
private PathNode[]
Path.debugSecondNodes
private PathNode
TargetPathNode.nearestNode
private PathNode[]
PathMinHeap.pathNodes
PathNode.previous
private final PathNode[]
PathNodeNavigator.successors
Fields in net.minecraft.entity.ai.pathing with type parameters of type PathNodeModifier and TypeFieldDescriptionPath.nodes
protected final Int2ObjectMap<PathNode>
PathNodeMaker.pathNodeCache
Methods in net.minecraft.entity.ai.pathing that return PathNodeModifier and TypeMethodDescriptionPathNode.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()
PathNode[]
Path.getDebugNodes()
PathNode[]
Path.getDebugSecondNodes()
Path.getEnd()
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, float penalty) 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()
PathMinHeap.pop()
Methods in net.minecraft.entity.ai.pathing with parameters of type PathNodeModifier and TypeMethodDescriptionprotected TargetPathNode
PathNodeMaker.asTargetPathNode
(PathNode node) private float
PathNodeNavigator.calculateDistances
(PathNode node, Set<TargetPathNode> targets) protected boolean
WaterPathNodeMaker.canPathThrough
(@Nullable PathNode diagonalNode, @Nullable PathNode node1, @Nullable PathNode node2) 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) 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 boolean
private boolean
BirdPathNodeMaker.isPassable
(@Nullable PathNode node) protected boolean
LandPathNodeMaker.isValidAdjacentSuccessor
(@Nullable PathNode node, PathNode successor1) private boolean
AmphibiousPathNodeMaker.isValidAquaticAdjacentSuccessor
(@Nullable PathNode node, PathNode successor) protected boolean
LandPathNodeMaker.isValidDiagonalSuccessor
(PathNode xNode, @Nullable PathNode zNode, @Nullable PathNode xDiagNode, @Nullable PathNode zDiagNode) 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) Constructors in net.minecraft.entity.ai.pathing with parameters of type PathNodeConstructor 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.pathNodes
The 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