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