public class VillagerBabiesSensor extends Sensor<LivingEntity>
| Constructor and Description |
|---|
VillagerBabiesSensor() |
| Modifier and Type | Method and Description |
|---|---|
Set<MemoryModuleType<?>> |
getOutputMemoryModules() |
private List<LivingEntity> |
getVisibleMobs(LivingEntity entity) |
private List<LivingEntity> |
getVisibleVillagerBabies(LivingEntity entities) |
private boolean |
isVillagerBaby(LivingEntity entity) |
protected void |
sense(ServerWorld world,
LivingEntity entity) |
method_30954, tickpublic Set<MemoryModuleType<?>> getOutputMemoryModules()
getOutputMemoryModules in class Sensor<LivingEntity>protected void sense(ServerWorld world, LivingEntity entity)
sense in class Sensor<LivingEntity>private List<LivingEntity> getVisibleVillagerBabies(LivingEntity entities)
private boolean isVillagerBaby(LivingEntity entity)
private List<LivingEntity> getVisibleMobs(LivingEntity entity)