Uses of Class
net.minecraft.world.level.chunk.DataLayer
Packages that use DataLayer
Package
Description
-
Uses of DataLayer in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type DataLayerModifier and TypeMethodDescriptionvoid
ThreadedLevelLightEngine.queueSectionData
(LightLayer pLightLayer, SectionPos pSectionPos, DataLayer pDataLayer) -
Uses of DataLayer in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk that return DataLayer -
Uses of DataLayer in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage declared as DataLayerModifier and TypeFieldDescriptionprivate final DataLayer
SerializableChunkData.SectionData.blockLight
The field for theblockLight
record component.private final DataLayer
SerializableChunkData.SectionData.skyLight
The field for theskyLight
record component.Methods in net.minecraft.world.level.chunk.storage that return DataLayerModifier and TypeMethodDescriptionSerializableChunkData.SectionData.blockLight()
Returns the value of theblockLight
record component.SerializableChunkData.SectionData.skyLight()
Returns the value of theskyLight
record component.Constructors in net.minecraft.world.level.chunk.storage with parameters of type DataLayerModifierConstructorDescriptionSectionData
(int y, LevelChunkSection chunkSection, DataLayer blockLight, DataLayer skyLight) Creates an instance of aSectionData
record class. -
Uses of DataLayer in net.minecraft.world.level.lighting
Fields in net.minecraft.world.level.lighting declared as DataLayerFields in net.minecraft.world.level.lighting with type parameters of type DataLayerModifier and TypeFieldDescriptionprotected final it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap
<DataLayer> DataLayerStorageMap.map
protected final it.unimi.dsi.fastutil.longs.Long2ObjectMap
<DataLayer> LayerLightSectionStorage.queuedSections
Methods in net.minecraft.world.level.lighting that return DataLayerModifier and TypeMethodDescriptionDataLayerStorageMap.copyDataLayer
(long pIndex) protected DataLayer
LayerLightSectionStorage.createDataLayer
(long pSectionPos) protected DataLayer
SkyLightSectionStorage.createDataLayer
(long pSectionPos) protected DataLayer
LayerLightSectionStorage.getDataLayer
(long pSectionPos, boolean pCached) protected DataLayer
LayerLightSectionStorage.getDataLayer
(M pMap, long pSectionPos) LayerLightEventListener.DummyLightLayerEventListener.getDataLayerData
(SectionPos pSectionPos) LayerLightEventListener.getDataLayerData
(SectionPos pSectionPos) LayerLightSectionStorage.getDataLayerData
(long pSectionPos) LightEngine.getDataLayerData
(SectionPos pSectionPos) protected DataLayer
LayerLightSectionStorage.getDataLayerToWrite
(long pSectionPos) DataLayerStorageMap.getLayer
(long pSectionPos) DataLayerStorageMap.removeLayer
(long pSectionPos) private static DataLayer
SkyLightSectionStorage.repeatFirstLayer
(DataLayer pDataLayer) Methods in net.minecraft.world.level.lighting with parameters of type DataLayerModifier and TypeMethodDescriptionprotected void
LayerLightSectionStorage.queueSectionData
(long pSectionPos, DataLayer pData) void
LevelLightEngine.queueSectionData
(LightLayer pLightLayer, SectionPos pSectionPos, DataLayer pDataLayer) void
LightEngine.queueSectionData
(long pSectionPos, DataLayer pData) private static DataLayer
SkyLightSectionStorage.repeatFirstLayer
(DataLayer pDataLayer) void
Constructor parameters in net.minecraft.world.level.lighting with type arguments of type DataLayerModifierConstructorDescriptionBlockDataLayerStorageMap
(it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<DataLayer> p_75515_) protected
DataLayerStorageMap
(it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<DataLayer> p_75523_) SkyDataLayerStorageMap
(it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<DataLayer> p_75903_, it.unimi.dsi.fastutil.longs.Long2IntOpenHashMap p_75904_, int p_75905_)