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 pPoseStack, MultiBufferSource pBuffer, Path pPath, float p_270841_, boolean p_270481_, boolean p_270748_, double pX, double pY, double pZ) static void
PathfindingRenderer.renderPathLine
(PoseStack pPoseStack, VertexConsumer pConsumer, Path pPath, double pX, double pY, double pZ) -
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 pLevel, Mob pMob, Path pPath, float pMaxDistanceToWaypoint) -
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 pStart, Node pFinish) 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 pBuf) private Path
PathFinder.findPath
(ProfilerFiller pProfiler, Node pNode, Map<Target, BlockPos> pTargetPos, float pMaxRange, int pAccuracy, float pSearchDepthMultiplier) PathFinder.findPath
(PathNavigationRegion pRegion, Mob pMob, Set<BlockPos> pTargetPositions, float pMaxRange, int pAccuracy, float pSearchDepthMultiplier) 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 pPoint, BlockPos pTargetPos, boolean pReachesTarget) Converts a recursive path point structure into a pathMethods in net.minecraft.world.level.pathfinder with parameters of type Path