Class NearestLivingEntitiesSensor
- java.lang.Object
-
- net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
-
- net.minecraft.entity.ai.brain.sensor.NearestLivingEntitiesSensor
-
public class NearestLivingEntitiesSensor extends Sensor<LivingEntity>
-
-
Constructor Summary
Constructors Constructor Description NearestLivingEntitiesSensor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doTick(ServerWorld p_212872_1_, LivingEntity p_212872_2_)
java.util.Set<MemoryModuleType<?>>
requires()
-
Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
isEntityTargetable, tick
-
-
-
-
Method Detail
-
doTick
protected void doTick(ServerWorld p_212872_1_, LivingEntity p_212872_2_)
- Specified by:
doTick
in classSensor<LivingEntity>
-
requires
public java.util.Set<MemoryModuleType<?>> requires()
- Specified by:
requires
in classSensor<LivingEntity>
-
-