Class NearestBedSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<MobEntity>
net.minecraft.entity.ai.brain.sensor.NearestBedSensor
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.longs.Long2LongMap
private long
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doTick
(ServerWorld p_212872_1_, MobEntity p_212872_2_) Set<MemoryModuleType<?>>
requires()
Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
isEntityTargetable, tick
-
Field Details
-
batchCache
private final it.unimi.dsi.fastutil.longs.Long2LongMap batchCache -
triedCount
private int triedCount -
lastUpdate
private long lastUpdate
-
-
Constructor Details
-
NearestBedSensor
public NearestBedSensor()
-
-
Method Details