Class NearestLivingEntitySensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<LivingEntity>
net.minecraft.world.entity.ai.sensing.NearestLivingEntitySensor
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.sensing.Sensor
TARGETING_RANGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doTick
(ServerLevel p_26710_, LivingEntity p_26711_) Set<MemoryModuleType<?>>
requires()
Methods inherited from class net.minecraft.world.entity.ai.sensing.Sensor
isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, tick
-
Constructor Details
-
NearestLivingEntitySensor
public NearestLivingEntitySensor()
-
-
Method Details
-
doTick
- Specified by:
doTick
in classSensor<LivingEntity>
-
requires
- Specified by:
requires
in classSensor<LivingEntity>
-