Class VillagerBabiesSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
net.minecraft.entity.ai.brain.sensor.VillagerBabiesSensor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doTick
(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 boolean
isVillagerBaby
(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:
requires
in classSensor<LivingEntity>
-
doTick
- Specified by:
doTick
in classSensor<LivingEntity>
-
getNearestVillagerBabies
-
isVillagerBaby
-
getVisibleEntities
-