Uses of Class
net.minecraft.entity.ai.pathing.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
Modifier and TypeFieldDescriptionBeeDebugRenderer.Bee.path
final Path
VillageDebugRenderer.Brain.path
Modifier and TypeMethodDescriptionvoid
static void
PathfindingDebugRenderer.drawPath
(Path path, float nodeSize, boolean drawDebugNodes, boolean drawLabels, double cameraX, double cameraY, double cameraZ) private static void
PathfindingDebugRenderer.drawPathInternal
(Path path, float nodeSize, boolean drawDebugNodes, boolean drawLabels, double cameraX, double cameraY, double cameraZ) static void
PathfindingDebugRenderer.drawPathLines
(Path path, double cameraX, double cameraY, double cameraZ) ModifierConstructorDescriptionBee
(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
-
Uses of Path in net.minecraft.entity.ai.brain.task
Modifier and TypeMethodDescriptionFindPointOfInterestTask.findPathToPoi
(MobEntity entity, Set<com.mojang.datafixers.util.Pair<RegistryEntry<PointOfInterestType>, BlockPos>> pois) -
Uses of Path in net.minecraft.entity.ai.goal
-
Uses of Path in net.minecraft.entity.ai.pathing
Modifier 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()
Modifier and TypeMethodDescriptionboolean
Path.equalsPath
(@Nullable Path o) boolean
EntityNavigation.startMovingAlong
(@Nullable Path path, double speed) -
Uses of Path in net.minecraft.entity.boss.dragon
-
Uses of Path in net.minecraft.entity.boss.dragon.phase
-
Uses of Path in net.minecraft.entity.passive
-
Uses of Path in net.minecraft.server.network
Modifier and TypeMethodDescriptionstatic void
DebugInfoSender.sendPathfindingData
(World world, MobEntity mob, @Nullable Path path, float nodeReachProximity)