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 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) -
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 TypeMethodDescriptionPath.copy()
private 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
(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.fromBuf
(PacketByteBuf buf) 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.entity.raid
-
Uses of Path in net.minecraft.network.packet.s2c.custom
Modifier and TypeFieldDescriptionDebugBeeCustomPayload.Bee.path
The field for thepath
record component.DebugBrainCustomPayload.Brain.path
The field for thepath
record component.private final Path
DebugPathCustomPayload.path
The field for thepath
record component.Modifier and TypeMethodDescriptionDebugBeeCustomPayload.Bee.path()
Returns the value of thepath
record component.DebugBrainCustomPayload.Brain.path()
Returns the value of thepath
record component.DebugPathCustomPayload.path()
Returns the value of thepath
record component.ModifierConstructorDescriptionBee
(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
Modifier and TypeMethodDescriptionstatic void
DebugInfoSender.sendPathfindingData
(World world, MobEntity mob, @Nullable Path path, float nodeReachProximity)