Uses of Interface
net.minecraft.entity.ai.brain.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
Modifier and TypeFieldDescriptionstatic final MemoryModuleType
<LookTarget> MemoryModuleType.LOOK_TARGET
ModifierConstructorDescriptionWalkTarget
(LookTarget lookTarget, float speed, int completionRange) -
Uses of LookTarget in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate final Function
<LivingEntity, Optional<LookTarget>> GiveInventoryToLookTargetTask.lookTargetFunction
Modifier and TypeMethodDescriptionprivate static Vec3d
GiveInventoryToLookTargetTask.offsetTarget
(LookTarget target) private void
GiveInventoryToLookTargetTask.triggerCriterion
(LookTarget target, ItemStack stack, ServerPlayerEntity player) static void
TargetUtil.walkTowards
(LivingEntity entity, LookTarget target, float speed, int completionRange) Modifier and TypeMethodDescriptionstatic Task
<LivingEntity> WalkTowardsLookTargetTask.create
(Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, Predicate<LivingEntity> predicate, int completionRange, int searchRange, float speed) ModifierConstructorDescriptionGiveInventoryToLookTargetTask
(Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, float speed, int runTime) -
Uses of LookTarget in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionprivate static Optional
<LookTarget> AllayBrain.getLikedLookTarget
(LivingEntity allay) private static Optional
<LookTarget> AllayBrain.getLookTarget
(LivingEntity allay)