Class VillagerBabiesSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
net.minecraft.entity.ai.brain.sensor.VillagerBabiesSensor
public class VillagerBabiesSensor extends Sensor<LivingEntity>
-
Constructor Summary
Constructors Constructor Description VillagerBabiesSensor() -
Method Summary
Modifier and Type Method Description Set<MemoryModuleType<?>>getOutputMemoryModules()private List<LivingEntity>getVisibleMobs(LivingEntity entity)private List<LivingEntity>getVisibleVillagerBabies(LivingEntity entities)private booleanisVillagerBaby(LivingEntity entity)protected voidsense(ServerWorld world, LivingEntity entity)Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
method_30954, tick
-
Constructor Details
-
VillagerBabiesSensor
public VillagerBabiesSensor()
-
-
Method Details
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModulesin classSensor<LivingEntity>
-
sense
- Specified by:
sensein classSensor<LivingEntity>
-
getVisibleVillagerBabies
-
isVillagerBaby
-
getVisibleMobs
-