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) -
Uses of PathNode in net.minecraft.entity.ai.pathing
Modifier and TypeFieldDescriptionprivate PathNode[]
Path.debugNodes
private PathNode[]
Path.debugSecondNodes
private PathNode
TargetPathNode.nearestNode
private PathNode[]
PathMinHeap.pathNodes
PathNode.previous
private final PathNode[]
PathNodeNavigator.successors
Modifier and TypeFieldDescriptionPath.nodes
protected final Int2ObjectMap<PathNode>
PathNodeMaker.pathNodeCache
Modifier and TypeMethodDescriptionPathNode.copyWithNewPosition
(int x, int y, int z) Path.getCurrentNode()
PathNode[]
Path.getDebugNodes()
PathNode[]
Path.getDebugSecondNodes()
Path.getEnd()
Path.getLastNode()
TargetPathNode.getNearestNode()
BirdPathNodeMaker.getNode
(int x, int y, int z) Path.getNode
(int index) PathNodeMaker.getNode
(int x, int y, int z) WaterPathNodeMaker.getNode
(int x, int y, int z) PathNode[]
PathMinHeap.getNodes()
LandPathNodeMaker.getPathNode
(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType) AmphibiousPathNodeMaker.getStart()
BirdPathNodeMaker.getStart()
LandPathNodeMaker.getStart()
PathMinHeap.getStart()
PathNodeMaker.getStart()
WaterPathNodeMaker.getStart()
LandPathNodeMaker.method_43569
(int int2, int int3, int int4, PathNodeType pathNodeType, float float2) LandPathNodeMaker.method_43570
(int int2, int int3, int int4) PathMinHeap.pop()
static PathNode
PathNode.readBuf
(PacketByteBuf buf) Modifier and TypeMethodDescriptionprotected @Nullable TargetPathNode
PathNodeMaker.asTargetPathNode
(@Nullable PathNode node) private 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) 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 pathNode) 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) protected boolean
WaterPathNodeMaker.method_38488
(@Nullable PathNode pathNode, @Nullable PathNode pathNode2, @Nullable PathNode pathNode3) void
(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) -
Uses of PathNode in net.minecraft.entity.boss.dragon
-
Uses of PathNode in net.minecraft.entity.passive