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 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
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 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
(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.fromBuf
(PacketByteBuf buf) 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.network.packet.s2c.custom
Fields in net.minecraft.network.packet.s2c.custom declared as PathModifier 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.Methods in net.minecraft.network.packet.s2c.custom that return PathModifier 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.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 void
DebugInfoSender.sendPathfindingData
(World world, MobEntity mob, @Nullable Path path, float nodeReachProximity)