Uses of Class
net.minecraft.entity.ai.brain.LivingTargetCache
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 LivingTargetCache in net.minecraft.entity.ai.brain
Modifier and TypeFieldDescriptionstatic final MemoryModuleType<LivingTargetCache>
MemoryModuleType.VISIBLE_MOBS
-
Uses of LivingTargetCache in net.minecraft.entity.ai.brain.sensor
Modifier and TypeMethodDescriptionprivate LivingTargetCache
VillagerBabiesSensor.getVisibleMobs
(LivingEntity entity) Modifier and TypeMethodDescriptionprotected Optional<LivingTargetCache>
NearestVisibleLivingEntitySensor.getVisibleLivingEntities
(LivingEntity entity) Modifier and TypeMethodDescriptionprivate void
NearestVisibleAdultSensor.findNearestVisibleAdult
(PassiveEntity entity, LivingTargetCache livingTargetCache) -
Uses of LivingTargetCache in net.minecraft.entity.ai.brain.task
Modifier and TypeMethodDescriptionprivate LivingTargetCache
FindInteractionTargetTask.getVisibleMobs
(LivingEntity entity)