Class NearestPlayersSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
net.minecraft.entity.ai.brain.sensor.NearestPlayersSensor
public class NearestPlayersSensor extends Sensor<LivingEntity>
-
Constructor Summary
Constructors Constructor Description NearestPlayersSensor()
-
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
-
NearestPlayersSensor
public NearestPlayersSensor()
-
-
Method Details
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<LivingEntity>
-
sense
- Specified by:
sense
in classSensor<LivingEntity>
-