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 TypeMethodDescriptionvoidThreadedLevelLightEngine.queueSectionData(LightLayer p_285046_, SectionPos p_285496_, @Nullable DataLayer p_285495_) -
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 @Nullable DataLayerSerializableChunkData.SectionData.blockLightThe field for theblockLightrecord component.private final @Nullable DataLayerSerializableChunkData.SectionData.skyLightThe field for theskyLightrecord component.Methods in net.minecraft.world.level.chunk.storage that return DataLayerModifier and TypeMethodDescription@Nullable DataLayerSerializableChunkData.SectionData.blockLight()Returns the value of theblockLightrecord component.@Nullable DataLayerSerializableChunkData.SectionData.skyLight()Returns the value of theskyLightrecord component.Constructors in net.minecraft.world.level.chunk.storage with parameters of type DataLayerModifierConstructorDescriptionSectionData(int y, @Nullable LevelChunkSection chunkSection, @Nullable DataLayer blockLight, @Nullable DataLayer skyLight) Creates an instance of aSectionDatarecord class. -
Uses of DataLayer in net.minecraft.world.level.lighting
Fields in net.minecraft.world.level.lighting declared as DataLayerModifier and TypeFieldDescriptionprivate final @Nullable DataLayer[]DataLayerStorageMap.lastSectionsFields in net.minecraft.world.level.lighting with type parameters of type DataLayerModifier and TypeFieldDescriptionprotected final it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<DataLayer> DataLayerStorageMap.mapprotected final it.unimi.dsi.fastutil.longs.Long2ObjectMap<DataLayer> LayerLightSectionStorage.queuedSectionsMethods in net.minecraft.world.level.lighting that return DataLayerModifier and TypeMethodDescriptionDataLayerStorageMap.copyDataLayer(long index) protected DataLayerLayerLightSectionStorage.createDataLayer(long sectionPos) protected DataLayerSkyLightSectionStorage.createDataLayer(long sectionPos) protected @Nullable DataLayerLayerLightSectionStorage.getDataLayer(long sectionPos, boolean cached) protected @Nullable DataLayerLayerLightSectionStorage.getDataLayer(M map, long sectionPos) @Nullable DataLayerLayerLightEventListener.DummyLightLayerEventListener.getDataLayerData(SectionPos p_75718_) @Nullable DataLayerLayerLightEventListener.getDataLayerData(SectionPos sectionPos) @Nullable DataLayerLayerLightSectionStorage.getDataLayerData(long sectionPos) @Nullable DataLayerLightEngine.getDataLayerData(SectionPos p_285093_) protected @Nullable DataLayerLayerLightSectionStorage.getDataLayerToWrite(long sectionPos) @Nullable DataLayerDataLayerStorageMap.getLayer(long sectionPos) @Nullable DataLayerDataLayerStorageMap.removeLayer(long sectionPos) private static DataLayerSkyLightSectionStorage.repeatFirstLayer(DataLayer dataLayer) Methods in net.minecraft.world.level.lighting with parameters of type DataLayerModifier and TypeMethodDescriptionprotected voidLayerLightSectionStorage.queueSectionData(long sectionPos, @Nullable DataLayer data) voidLevelLightEngine.queueSectionData(LightLayer lightLayer, SectionPos sectionPos, @Nullable DataLayer dataLayer) voidLightEngine.queueSectionData(long sectionPos, @Nullable DataLayer data) private static DataLayerSkyLightSectionStorage.repeatFirstLayer(DataLayer dataLayer) voidConstructor parameters in net.minecraft.world.level.lighting with type arguments of type DataLayerModifierConstructorDescriptionBlockDataLayerStorageMap(it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<DataLayer> p_75515_) protectedDataLayerStorageMap(it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<DataLayer> map) SkyDataLayerStorageMap(it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<DataLayer> map, it.unimi.dsi.fastutil.longs.Long2IntOpenHashMap topSections, int currentLowestY)