Class MateSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<AgeableEntity>
net.minecraft.entity.ai.brain.sensor.MateSensor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doTick
(ServerWorld p_212872_1_, AgeableEntity p_212872_2_) Set<MemoryModuleType<?>>
requires()
private void
setNearestVisibleAdult
(AgeableEntity p_234116_1_, List<LivingEntity> p_234116_2_) Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
isEntityTargetable, tick
-
Constructor Details
-
MateSensor
public MateSensor()
-
-
Method Details
-
requires
- Specified by:
requires
in classSensor<AgeableEntity>
-
doTick
- Specified by:
doTick
in classSensor<AgeableEntity>
-
setNearestVisibleAdult
-