Class NearestBedSensor
- java.lang.Object
-
- net.minecraft.entity.ai.brain.sensor.Sensor<MobEntity>
-
- net.minecraft.entity.ai.brain.sensor.NearestBedSensor
-
-
Field Summary
Fields Modifier and Type Field Description private it.unimi.dsi.fastutil.longs.Long2LongMap
batchCache
private long
lastUpdate
private int
triedCount
-
Constructor Summary
Constructors Constructor Description NearestBedSensor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doTick(ServerWorld p_212872_1_, MobEntity p_212872_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()
-
doTick
protected void doTick(ServerWorld p_212872_1_, MobEntity p_212872_2_)
-
-