Modifier and Type | Field and Description |
---|---|
private long |
expiryTime |
private it.unimi.dsi.fastutil.longs.Long2LongMap |
positionToExpiryTime |
private int |
tries |
Constructor and Description |
---|
NearestBedSensor() |
Modifier and Type | Method and Description |
---|---|
Set<MemoryModuleType<?>> |
getOutputMemoryModules() |
protected void |
sense(ServerWorld serverWorld,
MobEntity mobEntity) |
private final it.unimi.dsi.fastutil.longs.Long2LongMap positionToExpiryTime
private int tries
private long expiryTime
public Set<MemoryModuleType<?>> getOutputMemoryModules()
getOutputMemoryModules
in class Sensor<MobEntity>
protected void sense(ServerWorld serverWorld, MobEntity mobEntity)