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 renderOpenAndClosedSets, boolean renderGroundLabels, 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 body, Set<com.mojang.datafixers.util.Pair<Holder<PoiType>, BlockPos>> pois) Methods in net.minecraft.world.entity.ai.behavior with parameters of type PathModifier and TypeMethodDescriptionprivate Vec3TransportItemsBetweenContainers.getPositionToReachTargetFrom(@Nullable Path path, PathfinderMob body) -
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 pathPoints, or null if the shortest path would just be directly between the start and finish with no intermediate points.private PathEnderDragon.reconstructPath(Node from, Node to) Create and return a new PathEntity 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 from, Map<Target, BlockPos> targetMap, float maxPathLength, int reachRange, float maxVisitedNodesMultiplier) Finds a path to one of the specified positions and post-processes it or returns null if no path could be found within given accuracy@Nullable PathPathFinder.findPath(PathNavigationRegion level, Mob entity, Set<BlockPos> targets, float maxPathLength, int reachRange, float maxVisitedNodesMultiplier) Finds a path to one of the specified positions and post-processes it or returns null if no path could be found within given accuracyprivate PathPathFinder.reconstructPath(Node closest, BlockPos target, boolean reached) Converts a recursive path point structure into a pathMethods in net.minecraft.world.level.pathfinder with parameters of type Path