Class MateSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<AgeableEntity>
net.minecraft.entity.ai.brain.sensor.MateSensor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoTick(ServerWorld p_212872_1_, AgeableEntity p_212872_2_) Set<MemoryModuleType<?>>requires()private voidsetNearestVisibleAdult(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:
requiresin classSensor<AgeableEntity>
-
doTick
- Specified by:
doTickin classSensor<AgeableEntity>
-
setNearestVisibleAdult
-