public class NearestVisibleAdultSensor extends Sensor<PassiveEntity>
Constructor and Description |
---|
NearestVisibleAdultSensor() |
Modifier and Type | Method and Description |
---|---|
private void |
findNearestVisibleAdult(PassiveEntity entity,
List<LivingEntity> visibleMobs) |
Set<MemoryModuleType<?>> |
getOutputMemoryModules() |
protected void |
sense(ServerWorld serverWorld,
PassiveEntity passiveEntity) |
method_30954, tick
public Set<MemoryModuleType<?>> getOutputMemoryModules()
getOutputMemoryModules
in class Sensor<PassiveEntity>
protected void sense(ServerWorld serverWorld, PassiveEntity passiveEntity)
sense
in class Sensor<PassiveEntity>
private void findNearestVisibleAdult(PassiveEntity entity, List<LivingEntity> visibleMobs)