Class AdultSensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<AgeableMob>
net.minecraft.world.entity.ai.sensing.AdultSensor
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.sensing.Sensor
TARGETING_RANGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doTick(ServerLevel p_148248_, AgeableMob p_148249_)
Set<MemoryModuleType<?>>
requires()
private void
setNearestVisibleAdult(AgeableMob p_148256_, List<LivingEntity> p_148257_)
Methods inherited from class net.minecraft.world.entity.ai.sensing.Sensor
isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, tick
-
Constructor Details
-
AdultSensor
public AdultSensor()
-
-
Method Details
-
requires
- Specified by:
requires
in classSensor<AgeableMob>
-
doTick
- Specified by:
doTick
in classSensor<AgeableMob>
-
setNearestVisibleAdult
-