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 declared as PathModifier and TypeFieldDescriptionBeeDebugRenderer.Bee.path
final Path
VillageDebugRenderer.Brain.path
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 TypeMethodDescriptionvoid
static void
PathfindingDebugRenderer.drawPath
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Path path, float nodeSize, boolean drawDebugNodes, boolean drawLabels, double cameraX, double cameraY, double cameraZ) static void
PathfindingDebugRenderer.drawPathLines
(MatrixStack matrices, VertexConsumer vertexConsumers, Path path, double cameraX, double cameraY, double cameraZ) Constructors in net.minecraft.client.render.debug with parameters of type PathModifierConstructorDescriptionBee
(UUID uuid, int entityId, Position position, @Nullable Path path, @Nullable BlockPos hive, @Nullable BlockPos flower, int travelTicks) Brain
(UUID uuid, int entityId, String name, String profession, int xp, float health, float maxHealth, Position pos, String inventory, @Nullable Path path, boolean wantsGolem, int angerLevel) -
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 TypeMethodDescriptionFindPointOfInterestTask.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 TypeMethodDescriptionprivate Path
PathNodeNavigator.createPath
(PathNode endNode, BlockPos target, boolean reachesTarget) BirdNavigation.findPathTo
(Entity entity, int distance) EntityNavigation.findPathTo
(double x, double y, double z, int distance) EntityNavigation.findPathTo
(Set<BlockPos> positions, int distance) EntityNavigation.findPathTo
(Set<BlockPos> positions, int range, boolean useHeadPos, int distance) EntityNavigation.findPathTo
(Entity entity, int distance) EntityNavigation.findPathTo
(BlockPos target, int distance) EntityNavigation.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) EntityNavigation.findPathToAny
(Set<BlockPos> positions, int range, boolean useHeadPos, int distance, float followRange) EntityNavigation.findPathToAny
(Stream<BlockPos> positions, int distance) PathNodeNavigator.findPathToAny
(Profiler profiler, PathNode startNode, Map<TargetPathNode, BlockPos> positions, float followRange, int distance, float rangeMultiplier) PathNodeNavigator.findPathToAny
(ChunkCache world, MobEntity mob, Set<BlockPos> positions, float followRange, int distance, float rangeMultiplier) static Path
Path.fromBuffer
(PacketByteBuf buffer) EntityNavigation.getCurrentPath()
Methods in net.minecraft.entity.ai.pathing with parameters of type PathModifier and TypeMethodDescriptionboolean
Path.equalsPath
(@Nullable Path o) boolean
EntityNavigation.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.server.network
Methods in net.minecraft.server.network with parameters of type PathModifier and TypeMethodDescriptionstatic void
DebugInfoSender.sendPathfindingData
(World world, MobEntity mob, @Nullable Path path, float nodeReachProximity)