net.minecraft.world.entity.ai.sensing

public class NearestBedSensor

extends Sensor<Mob>

cgh
net.minecraft.world.entity.ai.sensing.NearestBedSensor
net.minecraft.class_4256
net.minecraft.entity.ai.brain.sensor.NearestBedSensor
net.minecraft.world.entity.ai.sensing.SensorNearestBed

Field summary

Modifier and TypeField
private static final int
a
CACHE_TIMEOUT
field_30251
REMEMBER_TIME
private static final int
b
BATCH_SIZE
field_30252
MAX_TRIES
private static final int
c
RATE
field_30253
MAX_EXPIRY_TIME
private final it.unimi.dsi.fastutil.longs.Long2LongMap
d
batchCache
field_20295
positionToExpiryTime
private int
e
triedCount
field_20296
tries
private long
f
lastUpdate
field_20297
expiryTime

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Set<MemoryModuleType<?>>
a()
requires()
method_19099()
getOutputMemoryModules()
protected void
a(ash arg0, bwi arg1)
doTick(ServerLevel arg0, Mob arg1)
method_21646(class_3218 arg0, class_1308 arg1)
sense(ServerWorld arg0, MobEntity arg1)