net.minecraft.world.level.lighting

public abstract class DataLayerStorageMap<M extends DataLayerStorageMap<M>>

eti
net.minecraft.world.level.lighting.DataLayerStorageMap
net.minecraft.class_3556
net.minecraft.world.chunk.ChunkToNibbleArrayMap
net.minecraft.world.level.lighting.LightEngineStorageArray

Field summary

Modifier and TypeField
private static final int
b
CACHE_SIZE
field_31705
field_31705
private final long[]
c
lastSectionKeys
field_15789
cachePositions
private final DataLayer[]
d
lastSections
field_15790
cacheArrays
private boolean
e
cacheEnabled
field_16447
cacheEnabled
protected final it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<DataLayer>
a
map
field_15791
arrays

Constructor summary

ModifierConstructor
protected (it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<DataLayer> arrays)

Method summary

Modifier and TypeMethod
public abstract M
b()
copy()
method_15504()
copy()
public DataLayer
a(long arg0)
copyDataLayer(long arg0)
method_15502(long arg0)
replaceWithCopy(long pos)
public boolean
b(long arg0)
hasLayer(long arg0)
method_15503(long arg0)
containsKey(long chunkPos)
public DataLayer
c(long arg0)
getLayer(long arg0)
method_15501(long arg0)
get(long chunkPos)
public DataLayer
d(long arg0)
removeLayer(long arg0)
method_15500(long arg0)
removeChunk(long chunkPos)
public void
a(long arg0, dzv arg1)
setLayer(long arg0, DataLayer arg1)
method_15499(long arg0, class_2804 arg1)
put(long pos, ChunkNibbleArray data)
public void
c()
clearCache()
method_15505()
clearCache()
public void
d()
disableCache()
method_16188()
disableCache()