Uses of Class
net.minecraft.world.level.pathfinder.Path
Packages that use Path
Package
Description
-
Uses of Path in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug with type parameters of type PathMethods in net.minecraft.client.renderer.debug with parameters of type PathModifier and TypeMethodDescriptionvoidstatic voidPathfindingRenderer.renderPath(PoseStack poseStack, MultiBufferSource buffer, Path path, float p_270841_, boolean p_270481_, boolean p_270748_, double x, double y, double z) static voidPathfindingRenderer.renderPathLine(PoseStack poseStack, VertexConsumer consumer, Path path, double x, double y, double z) -
Uses of Path in net.minecraft.network.protocol.common.custom
Fields in net.minecraft.network.protocol.common.custom declared as PathModifier and TypeFieldDescriptionprivate final PathBeeDebugPayload.BeeInfo.pathThe field for thepathrecord component.private final PathBrainDebugPayload.BrainDump.pathThe field for thepathrecord component.private final PathPathfindingDebugPayload.pathThe field for thepathrecord component.Methods in net.minecraft.network.protocol.common.custom that return PathModifier and TypeMethodDescriptionBeeDebugPayload.BeeInfo.path()Returns the value of thepathrecord component.BrainDebugPayload.BrainDump.path()Returns the value of thepathrecord component.PathfindingDebugPayload.path()Returns the value of thepathrecord component.Constructors in net.minecraft.network.protocol.common.custom with parameters of type PathModifierConstructorDescriptionBeeInfo(UUID uuid, int id, Vec3 pos, Path path, BlockPos hivePos, BlockPos flowerPos, int travelTicks, Set<String> goals, List<BlockPos> blacklistedHives) Creates an instance of aBeeInforecord class.BrainDump(UUID uuid, int id, String name, String profession, int xp, float health, float maxHealth, Vec3 pos, String inventory, Path path, boolean wantsGolem, int angerLevel, List<String> activities, List<String> behaviors, List<String> memories, List<String> gossips, Set<BlockPos> pois, Set<BlockPos> potentialPois) Creates an instance of aBrainDumprecord class.PathfindingDebugPayload(int entityId, Path path, float maxNodeDistance) Creates an instance of aPathfindingDebugPayloadrecord class. -
Uses of Path in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game with parameters of type PathModifier and TypeMethodDescriptionstatic voidDebugPackets.sendPathFindingPacket(Level level, Mob mob, Path path, float maxDistanceToWaypoint) -
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 Path -
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
Fields in net.minecraft.world.entity.animal 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 TypeMethodDescriptionFind 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 start, Node finish) 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 PathDragonHoldingPatternPhase.currentPathprivate PathDragonLandingApproachPhase.currentPathprivate PathDragonStrafePlayerPhase.currentPathprivate PathDragonTakeoffPhase.currentPath -
Uses of Path in net.minecraft.world.level.pathfinder
Methods in net.minecraft.world.level.pathfinder that return PathModifier and TypeMethodDescriptionPath.copy()static PathPath.createFromStream(FriendlyByteBuf buf) private PathPathFinder.findPath(ProfilerFiller profiler, Node p_node, Map<Target, BlockPos> targetPos, float maxRange, int accuracy, float searchDepthMultiplier) PathFinder.findPath(PathNavigationRegion region, Mob mob, Set<BlockPos> targetPositions, float maxRange, int accuracy, float searchDepthMultiplier) 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 point, BlockPos targetPos, boolean reachesTarget) Converts a recursive path point structure into a pathMethods in net.minecraft.world.level.pathfinder with parameters of type Path