Uses of Interface
net.minecraft.entity.ai.brain.LookTarget
Packages that use LookTarget
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
-
Uses of LookTarget in net.minecraft.entity.ai.brain
Classes in net.minecraft.entity.ai.brain that implement LookTargetFields in net.minecraft.entity.ai.brain declared as LookTargetFields in net.minecraft.entity.ai.brain with type parameters of type LookTargetModifier and TypeFieldDescriptionstatic final MemoryModuleType
<LookTarget> MemoryModuleType.LOOK_TARGET
Methods in net.minecraft.entity.ai.brain that return LookTargetConstructors in net.minecraft.entity.ai.brain with parameters of type LookTargetModifierConstructorDescriptionWalkTarget
(LookTarget lookTarget, float speed, int completionRange) -
Uses of LookTarget in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task with type parameters of type LookTargetModifier and TypeFieldDescriptionprivate final Function
<LivingEntity, Optional<LookTarget>> GiveInventoryToLookTargetTask.lookTargetFunction
Methods in net.minecraft.entity.ai.brain.task with parameters of type LookTargetModifier and TypeMethodDescriptionprivate static Vec3d
GiveInventoryToLookTargetTask.offsetTarget
(LookTarget target) private void
GiveInventoryToLookTargetTask.triggerCriterion
(LookTarget target, ItemStack stack, ServerPlayerEntity player) static void
LookTargetUtil.walkTowards
(LivingEntity entity, LookTarget target, float speed, int completionRange) Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type LookTargetModifier and TypeMethodDescriptionstatic Task
<LivingEntity> WalkTowardsLookTargetTask.create
(Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, Predicate<LivingEntity> predicate, int completionRange, int searchRange, float speed) Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type LookTargetModifierConstructorDescriptionGiveInventoryToLookTargetTask
(Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, float speed, int runTime) -
Uses of LookTarget in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return types with arguments of type LookTargetModifier and TypeMethodDescriptionprivate static Optional
<LookTarget> AllayBrain.getLikedLookTarget
(LivingEntity allay) private static Optional
<LookTarget> AllayBrain.getLookTarget
(LivingEntity allay)