Package net.minecraft.world.lighting
Class LightDataMap<M extends LightDataMap<M>>
java.lang.Object
net.minecraft.world.lighting.LightDataMap<M>
- Direct Known Subclasses:
BlockLightStorage.StorageMap
,SkyLightStorage.StorageMap
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private final long[]
private final NibbleArray[]
protected final it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<NibbleArray>
-
Constructor Summary
ModifierConstructorDescriptionprotected
LightDataMap
(it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<NibbleArray> p_i51299_1_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
abstract M
copy()
void
copyDataLayer
(long p_215641_1_) void
getLayer
(long p_215638_1_) boolean
hasLayer
(long p_215642_1_) removeLayer
(long p_223130_1_) void
setLayer
(long p_215640_1_, NibbleArray p_215640_3_)
-
Field Details
-
lastSectionKeys
private final long[] lastSectionKeys -
lastSections
-
cacheEnabled
private boolean cacheEnabled -
map
-
-
Constructor Details
-
LightDataMap
-
-
Method Details
-
copy
-
copyDataLayer
public void copyDataLayer(long p_215641_1_) -
hasLayer
public boolean hasLayer(long p_215642_1_) -
getLayer
-
removeLayer
-
setLayer
-
clearCache
public void clearCache() -
disableCache
public void disableCache()
-