public class NearestPlayersSensor extends Sensor<LivingEntity>
| Modifier and Type | Field and Description |
|---|---|
private static TargetPredicate |
field_25161 |
| Constructor and Description |
|---|
NearestPlayersSensor() |
| Modifier and Type | Method and Description |
|---|---|
Set<MemoryModuleType<?>> |
getOutputMemoryModules() |
protected void |
sense(ServerWorld world,
LivingEntity entity) |
private static final TargetPredicate field_25161
public Set<MemoryModuleType<?>> getOutputMemoryModules()
getOutputMemoryModules in class Sensor<LivingEntity>protected void sense(ServerWorld world, LivingEntity entity)
sense in class Sensor<LivingEntity>