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
private final Function<LivingEntity,
Optional<LookTarget>> WalkTowardsLookTargetTask.lookTargetFunction
Modifier 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) ModifierConstructorDescriptionGiveInventoryToLookTargetTask
(Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, float speed) WalkTowardsLookTargetTask
(Function<LivingEntity, Optional<LookTarget>> lookTargetFunction, int completionRange, int searchRange, float speed) -
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)