Class HoglinMobsSensor
- java.lang.Object
-
- net.minecraft.entity.ai.brain.sensor.Sensor<HoglinEntity>
-
- net.minecraft.entity.ai.brain.sensor.HoglinMobsSensor
-
public class HoglinMobsSensor extends Sensor<HoglinEntity>
-
-
Constructor Summary
Constructors Constructor Description HoglinMobsSensor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doTick(ServerWorld p_212872_1_, HoglinEntity p_212872_2_)
private java.util.Optional<BlockPos>
findNearestRepellent(ServerWorld p_234120_1_, HoglinEntity p_234120_2_)
java.util.Set<MemoryModuleType<?>>
requires()
-
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<HoglinEntity>
-
doTick
protected void doTick(ServerWorld p_212872_1_, HoglinEntity p_212872_2_)
- Specified by:
doTick
in classSensor<HoglinEntity>
-
findNearestRepellent
private java.util.Optional<BlockPos> findNearestRepellent(ServerWorld p_234120_1_, HoglinEntity p_234120_2_)
-
-