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
Modifier and Type Method Description Set<MemoryModuleType<?>>
getOutputMemoryModules()
protected void
sense(ServerWorld world, LivingEntity entity)
Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
method_30954, tick
-
Constructor Details
-
NearestLivingEntitiesSensor
public NearestLivingEntitiesSensor()
-
-
Method Details
-
sense
- Specified by:
sense
in classSensor<LivingEntity>
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<LivingEntity>
-