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 TypeMethodDescriptionvoid
static void
PathfindingRenderer.renderPath
(PoseStack poseStack, MultiBufferSource buffer, Path path, float p_270841_, boolean p_270481_, boolean p_270748_, double x, double y, double z) static void
PathfindingRenderer.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 Path
BeeDebugPayload.BeeInfo.path
The field for thepath
record component.private final Path
BrainDebugPayload.BrainDump.path
The field for thepath
record component.private final Path
PathfindingDebugPayload.path
The field for thepath
record component.Methods in net.minecraft.network.protocol.common.custom that return PathModifier and TypeMethodDescriptionBeeDebugPayload.BeeInfo.path()
Returns the value of thepath
record component.BrainDebugPayload.BrainDump.path()
Returns the value of thepath
record component.PathfindingDebugPayload.path()
Returns the value of thepath
record 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 aBeeInfo
record 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 aBrainDump
record class.PathfindingDebugPayload
(int entityId, Path path, float maxNodeDistance) Creates an instance of aPathfindingDebugPayload
record class. -
Uses of Path in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game with parameters of type PathModifier and TypeMethodDescriptionstatic void
DebugPackets.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 Path
EnderDragon.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 Path
DragonHoldingPatternPhase.currentPath
private Path
DragonLandingApproachPhase.currentPath
private Path
DragonStrafePlayerPhase.currentPath
private Path
DragonTakeoffPhase.currentPath
-
Uses of Path in net.minecraft.world.level.pathfinder
Methods in net.minecraft.world.level.pathfinder that return PathModifier and TypeMethodDescriptionPath.copy()
static Path
Path.createFromStream
(FriendlyByteBuf buf) private Path
PathFinder.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 Path
PathFinder.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