Uses of Class
net.minecraft.entity.ai.pathing.Path
Packages that use Path
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
The basic AI system for Minecraft living entities.
-
Uses of Path in net.minecraft.client.render.debug
Fields in net.minecraft.client.render.debug with type parameters of type PathMethods in net.minecraft.client.render.debug with parameters of type PathModifier and TypeMethodDescriptionvoidstatic voidPathfindingDebugRenderer.drawPath(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Path path, float nodeSize, boolean drawDebugNodes, boolean drawLabels, double cameraX, double cameraY, double cameraZ) static voidPathfindingDebugRenderer.drawPathLines(MatrixStack matrices, VertexConsumer vertexConsumers, Path path, double cameraX, double cameraY, double cameraZ) -
Uses of Path in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type Path -
Uses of Path in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as PathMethods in net.minecraft.entity.ai.brain.task that return PathModifier and TypeMethodDescriptionstatic @Nullable PathFindPointOfInterestTask.findPathToPoi(MobEntity entity, Set<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> pois) -
Uses of Path in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as Path -
Uses of Path in net.minecraft.entity.ai.pathing
Fields in net.minecraft.entity.ai.pathing declared as PathMethods in net.minecraft.entity.ai.pathing that return PathModifier and TypeMethodDescriptionPath.copy()private PathPathNodeNavigator.createPath(PathNode endNode, BlockPos target, boolean reachesTarget) BirdNavigation.findPathTo(Entity entity, int distance) final @Nullable PathEntityNavigation.findPathTo(double x, double y, double z, int distance) @Nullable PathEntityNavigation.findPathTo(Set<BlockPos> positions, int distance) protected @Nullable PathEntityNavigation.findPathTo(Set<BlockPos> positions, int range, boolean useHeadPos, int distance) @Nullable PathEntityNavigation.findPathTo(Entity entity, int distance) @Nullable PathEntityNavigation.findPathTo(BlockPos target, int distance) @Nullable PathEntityNavigation.findPathTo(BlockPos target, int minDistance, int maxDistance) MobNavigation.findPathTo(Entity entity, int distance) MobNavigation.findPathTo(BlockPos target, int distance) SpiderNavigation.findPathTo(Entity entity, int distance) SpiderNavigation.findPathTo(BlockPos target, int distance) protected @Nullable PathEntityNavigation.findPathToAny(Set<BlockPos> positions, int range, boolean useHeadPos, int distance, float followRange) @Nullable PathEntityNavigation.findPathToAny(Stream<BlockPos> positions, int distance) private @Nullable PathPathNodeNavigator.findPathToAny(Profiler profiler, PathNode startNode, Map<TargetPathNode, BlockPos> positions, float followRange, int distance, float rangeMultiplier) @Nullable PathPathNodeNavigator.findPathToAny(ChunkCache world, MobEntity mob, Set<BlockPos> positions, float followRange, int distance, float rangeMultiplier) static PathPath.fromBuf(PacketByteBuf buf) @Nullable PathEntityNavigation.getCurrentPath()Methods in net.minecraft.entity.ai.pathing with parameters of type PathModifier and TypeMethodDescriptionbooleanPath.equalsPath(@Nullable Path o) booleanEntityNavigation.startMovingAlong(@Nullable Path path, double speed) -
Uses of Path in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon that return Path -
Uses of Path in net.minecraft.entity.boss.dragon.phase
Fields in net.minecraft.entity.boss.dragon.phase declared as Path -
Uses of Path in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as Path -
Uses of Path in net.minecraft.network.packet.s2c.custom
Fields in net.minecraft.network.packet.s2c.custom declared as PathModifier and TypeFieldDescriptionprivate final @Nullable PathDebugBeeCustomPayload.Bee.pathThe field for thepathrecord component.private final @Nullable PathDebugBrainCustomPayload.Brain.pathThe field for thepathrecord component.private final PathDebugPathCustomPayload.pathThe field for thepathrecord component.Methods in net.minecraft.network.packet.s2c.custom that return PathModifier and TypeMethodDescription@Nullable PathDebugBeeCustomPayload.Bee.path()Returns the value of thepathrecord component.@Nullable PathDebugBrainCustomPayload.Brain.path()Returns the value of thepathrecord component.DebugPathCustomPayload.path()Returns the value of thepathrecord component.Constructors in net.minecraft.network.packet.s2c.custom with parameters of type PathModifierConstructorDescriptionBee(UUID uuid, int entityId, Vec3d vec3d, @Nullable Path path, @Nullable BlockPos hive, @Nullable BlockPos flower, int travelTicks, Set<String> set, List<BlockPos> list) Brain(UUID uuid, int entityId, String name, String profession, int xp, float health, float maxHealth, Vec3d vec3d, String string, @Nullable Path path, boolean wantsGolem, int angerLevel, List<String> list, List<String> list2, List<String> list3, List<String> list4, Set<BlockPos> set, Set<BlockPos> set2) DebugPathCustomPayload(int int2, Path path, float float2) -
Uses of Path in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type PathModifier and TypeMethodDescriptionstatic voidDebugInfoSender.sendPathfindingData(World world, MobEntity mob, @Nullable Path path, float nodeReachProximity)