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
Fields in net.minecraft.entity.ai.brain.task declared as PathNodeMethods 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) -
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.debugNodesprivate PathNode[]Path.debugSecondNodesprivate PathNodeTargetPathNode.nearestNodeprivate PathNode[]PathMinHeap.pathNodesPathNode.previousprivate 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.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 PathNodePathNode.readBuf(PacketByteBuf buf) Methods in net.minecraft.entity.ai.pathing with parameters of type PathNodeModifier and TypeMethodDescriptionprotected @Nullable TargetPathNodePathNodeMaker.asTargetPathNode(@Nullable PathNode node) private floatPathNodeNavigator.calculateDistances(PathNode node, Set<TargetPathNode> targets) private PathPathNodeNavigator.createPath(PathNode endNode, BlockPos target, boolean reachesTarget) PathNodeNavigator.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) 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 pathNode) private booleanprivate booleanBirdPathNodeMaker.isPassable(@Nullable PathNode node) protected booleanLandPathNodeMaker.isValidAdjacentSuccessor(@Nullable PathNode node, PathNode successor1) private booleanAmphibiousPathNodeMaker.isValidAquaticAdjacentSuccessor(@Nullable PathNode node, PathNode successor) protected booleanLandPathNodeMaker.isValidDiagonalSuccessor(PathNode xNode, @Nullable PathNode zNode, @Nullable PathNode xDiagNode, @Nullable PathNode zDiagNode) protected booleanWaterPathNodeMaker.method_38488(@Nullable PathNode pathNode, @Nullable PathNode pathNode2, @Nullable PathNode pathNode3) void(package private) voidPath.setDebugInfo(PathNode[] debugNodes, PathNode[] debugSecondNodes, Set<TargetPathNode> debugTargetNodes) voidvoidPathMinHeap.setNodeWeight(PathNode node, float weight) private booleanvoidTargetPathNode.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.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