Class VillagerBabiesSensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<LivingEntity>
net.minecraft.world.entity.ai.sensing.VillagerBabiesSensor
- 
Field SummaryFields inherited from class net.minecraft.world.entity.ai.sensing.SensorTARGETING_RANGE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voiddoTick(ServerLevel p_26834_, LivingEntity p_26835_) private List<LivingEntity>getNearestVillagerBabies(LivingEntity p_26837_) private NearestVisibleLivingEntitiesgetVisibleEntities(LivingEntity p_186204_) private booleanisVillagerBaby(LivingEntity p_26839_) Set<MemoryModuleType<?>>requires()Methods inherited from class net.minecraft.world.entity.ai.sensing.SensorisEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, tick
- 
Constructor Details- 
VillagerBabiesSensorpublic VillagerBabiesSensor()
 
- 
- 
Method Details- 
requires- Specified by:
- requiresin class- Sensor<LivingEntity>
 
- 
doTick- Specified by:
- doTickin class- Sensor<LivingEntity>
 
- 
getNearestVillagerBabies
- 
isVillagerBaby
- 
getVisibleEntities
 
-