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
private final Function<LivingEntity,
Optional<LookTarget>> WalkTowardsLookTargetTask.lookTargetFunction
Methods in net.minecraft.entity.ai.brain.task with parameters of type LookTargetModifier and TypeMethodDescriptionprivate void
GiveInventoryToLookTargetTask.method_43079
(LookTarget lookTarget, ItemStack itemStack, ServerPlayerEntity serverPlayerEntity) private static Vec3d
GiveInventoryToLookTargetTask.offsetTarget
(LookTarget target) static void
LookTargetUtil.walkTowards
(LivingEntity entity, LookTarget target, float speed, int completionRange) Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type LookTargetModifierConstructorDescriptionGiveInventoryToLookTargetTask
(Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, float speed) WalkTowardsLookTargetTask
(Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, int range, float speed) -
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.method_42657
(LivingEntity livingEntity) private static Optional<LookTarget>
AllayBrain.method_42662
(LivingEntity livingEntity)