Class DataLayerStorageMap<M extends DataLayerStorageMap<M>>
java.lang.Object
net.minecraft.world.level.lighting.DataLayerStorageMap<M>
- Direct Known Subclasses:
BlockLightSectionStorage.BlockDataLayerStorageMap
,SkyLightSectionStorage.SkyDataLayerStorageMap
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
DataLayerStorageMap
(it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<DataLayer> p_75523_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
abstract M
copy()
void
copyDataLayer
(long p_75525_) void
getLayer
(long p_75533_) boolean
hasLayer
(long p_75530_) removeLayer
(long p_75536_) void
-
Field Details
-
CACHE_SIZE
private static final int CACHE_SIZE- See Also:
-
lastSectionKeys
private final long[] lastSectionKeys -
lastSections
-
cacheEnabled
private boolean cacheEnabled -
map
-
-
Constructor Details
-
DataLayerStorageMap
protected DataLayerStorageMap(it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<DataLayer> p_75523_)
-
-
Method Details
-
copy
-
copyDataLayer
public void copyDataLayer(long p_75525_) -
hasLayer
public boolean hasLayer(long p_75530_) -
getLayer
-
removeLayer
-
setLayer
-
clearCache
public void clearCache() -
disableCache
public void disableCache()
-