Class VillagerBabiesSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
net.minecraft.entity.ai.brain.sensor.VillagerBabiesSensor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoTick(ServerWorld p_212872_1_, LivingEntity p_212872_2_) private List<LivingEntity>getNearestVillagerBabies(LivingEntity p_220994_1_) private List<LivingEntity>getVisibleEntities(LivingEntity p_220992_1_) private booleanisVillagerBaby(LivingEntity p_220993_1_) Set<MemoryModuleType<?>>requires()Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
isEntityTargetable, tick
-
Constructor Details
-
VillagerBabiesSensor
public VillagerBabiesSensor()
-
-
Method Details
-
requires
- Specified by:
requiresin classSensor<LivingEntity>
-
doTick
- Specified by:
doTickin classSensor<LivingEntity>
-
getNearestVillagerBabies
-
isVillagerBaby
-
getVisibleEntities
-