Uses of Class
net.minecraft.world.level.pathfinder.Path
Packages that use Path
Package
Description
-
Uses of Path in net.minecraft.client.renderer.debug
Methods in net.minecraft.client.renderer.debug with parameters of type PathModifier and TypeMethodDescriptionprivate static voidPathfindingRenderer.renderPath(double camX, double camY, double camZ, Path path, float maxNodeDistance) static voidPathfindingRenderer.renderPath(Path path, float maxNodeDistance, boolean renderNodes, boolean renderInfo, double camX, double camY, double camZ) static voidPathfindingRenderer.renderPathLine(Path path, double camX, double camY, double camZ) -
Uses of Path in net.minecraft.util.debug
Fields in net.minecraft.util.debug declared as PathModifier and TypeFieldDescriptionprivate final PathDebugPathInfo.pathThe field for thepathrecord component.Methods in net.minecraft.util.debug that return PathModifier and TypeMethodDescriptionDebugPathInfo.path()Returns the value of thepathrecord component.Constructors in net.minecraft.util.debug with parameters of type PathModifierConstructorDescriptionDebugPathInfo(Path path, float maxNodeDistance) Creates an instance of aDebugPathInforecord class. -
Uses of Path in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior declared as PathMethods in net.minecraft.world.entity.ai.behavior that return PathModifier and TypeMethodDescriptionstatic @Nullable PathAcquirePoi.findPathToPois(Mob mob, Set<com.mojang.datafixers.util.Pair<Holder<PoiType>, BlockPos>> poiPositions) Methods in net.minecraft.world.entity.ai.behavior with parameters of type PathModifier and TypeMethodDescriptionprivate Vec3TransportItemsBetweenContainers.getPositionToReachTargetFrom(@Nullable Path path, PathfinderMob mob) -
Uses of Path in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal declared as Path -
Uses of Path in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory with type parameters of type Path -
Uses of Path in net.minecraft.world.entity.animal.bee
Fields in net.minecraft.world.entity.animal.bee declared as Path -
Uses of Path in net.minecraft.world.entity.boss.enderdragon
Methods in net.minecraft.world.entity.boss.enderdragon that return PathModifier and TypeMethodDescription@Nullable PathFind and return a path among the circles described by nodes, ornullif the shortest path would just be directly between the start and finish with no intermediate points.private PathEnderDragon.reconstructPath(Node start, Node finish) Create and return a new Path defining a path from the start to the finish, using the connections already made by the caller, findPath. -
Uses of Path in net.minecraft.world.entity.boss.enderdragon.phases
Fields in net.minecraft.world.entity.boss.enderdragon.phases declared as PathModifier and TypeFieldDescriptionprivate @Nullable PathDragonHoldingPatternPhase.currentPathprivate @Nullable PathDragonLandingApproachPhase.currentPathprivate @Nullable PathDragonStrafePlayerPhase.currentPathprivate @Nullable PathDragonTakeoffPhase.currentPath -
Uses of Path in net.minecraft.world.entity.raid
Fields in net.minecraft.world.entity.raid declared as PathModifier and TypeFieldDescriptionprivate @Nullable PathRaider.ObtainRaidLeaderBannerGoal.pathToBanner -
Uses of Path in net.minecraft.world.level.pathfinder
Fields in net.minecraft.world.level.pathfinder with type parameters of type PathModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, Path> Path.STREAM_CODECMethods in net.minecraft.world.level.pathfinder that return PathModifier and TypeMethodDescriptionPath.copy()static PathPath.createFromStream(FriendlyByteBuf buffer) private @Nullable PathPathFinder.findPath(Node node, Map<Target, BlockPos> targets, float maxRange, int reachRange, float maxVisitedNodesMultiplier) Finds a path to one of the specified positions and post-processes it or returnsnullif no path could be found within given reach range@Nullable PathPathFinder.findPath(PathNavigationRegion region, Mob mob, Set<BlockPos> targets, float maxRange, int reachRange, float maxVisitedNodesMultiplier) Finds a path to one of the specified positions and post-processes it or returnsnullif no path could be found within given reach rangeprivate PathPathFinder.reconstructPath(Node node, BlockPos targetPos, boolean reachesTarget) Converts a recursive node structure into a pathMethods in net.minecraft.world.level.pathfinder with parameters of type Path