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