net.minecraft.world.entity.ai.sensing

public class NearestBedSensor

extends Sensor<Mob>

bcl
net.minecraft.world.entity.ai.sensing.NearestBedSensor
net.minecraft.class_4256
net.minecraft.entity.ai.brain.sensor.NearestBedSensor
net.minecraft.src.C_766_
net.minecraft.world.entity.ai.sensing.SensorNearestBed

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Set<MemoryModuleType<?>>
a()
requires()
method_19099()
getOutputMemoryModules()
m_7163_()
protected void
a(abr arg0, atw arg1)
doTick(ServerLevel arg0, Mob arg1)
method_21646(class_3218 arg0, class_1308 arg1)
sense(ServerWorld arg0, MobEntity arg1)
m_5578_(C_12_ p_26686_, C_526_ arg1)