net.minecraft.world.level.lighting

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

dzx
net.minecraft.world.level.lighting.DataLayerStorageMap
net.minecraft.class_3556
net.minecraft.world.chunk.ChunkToNibbleArrayMap
net.minecraft.src.C_2671_
net.minecraft.world.level.lighting.LightEngineStorageArray

Field summary

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

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()
m_5972_()
public DataLayer
a(long arg0)
copyDataLayer(long arg0)
method_15502(long arg0)
replaceWithCopy(long pos)
m_75524_(long arg0)
public boolean
b(long arg0)
hasLayer(long arg0)
method_15503(long arg0)
containsKey(long chunkPos)
m_75529_(long arg0)
public DataLayer
c(long arg0)
getLayer(long arg0)
method_15501(long arg0)
get(long chunkPos)
m_75532_(long arg0)
public DataLayer
d(long arg0)
removeLayer(long arg0)
method_15500(long arg0)
removeChunk(long chunkPos)
m_75535_(long arg0)
public void
a(long arg0, dhl arg1)
setLayer(long arg0, DataLayer arg1)
method_15499(long arg0, class_2804 arg1)
put(long pos, ChunkNibbleArray data)
m_75526_(long p_75528_, C_2131_ arg1)
public void
c()
clearCache()
method_15505()
clearCache()
m_75531_()
public void
d()
disableCache()
method_16188()
disableCache()
m_75534_()