Class SkyLightSectionStorage
java.lang.Object
net.minecraft.world.level.lighting.LayerLightSectionStorage<SkyLightSectionStorage.SkyDataLayerStorageMap>
net.minecraft.world.level.lighting.SkyLightSectionStorage
public class SkyLightSectionStorage
extends LayerLightSectionStorage<SkyLightSectionStorage.SkyDataLayerStorageMap>
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static final class
Nested classes/interfaces inherited from class net.minecraft.world.level.lighting.LayerLightSectionStorage
LayerLightSectionStorage.SectionState, LayerLightSectionStorage.SectionType
-
Field Summary
Fields inherited from class net.minecraft.world.level.lighting.LayerLightSectionStorage
changedSections, chunkSource, hasInconsistencies, queuedSections, sectionsAffectedByLightUpdates, sectionStates, updatingSectionData, visibleSectionData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DataLayer
createDataLayer
(long p_75883_) protected int
protected int
getLightValue
(long p_75880_) protected int
getLightValue
(long p_164458_, boolean p_164459_) protected int
getTopSectionY
(long p_285094_) protected boolean
hasLightDataAtOrBelow
(int p_278270_) protected boolean
isAboveData
(long p_75891_) protected void
onNodeAdded
(long p_75885_) protected void
onNodeRemoved
(long p_75887_) private static DataLayer
repeatFirstLayer
(DataLayer p_182513_) Methods inherited from class net.minecraft.world.level.lighting.LayerLightSectionStorage
getDataLayer, getDataLayer, getDataLayerData, getDataLayerToWrite, getDebugSectionType, getStoredLevel, hasInconsistencies, lightOnInSection, markNewInconsistencies, markSectionAndNeighborsAsAffected, putSectionState, queueSectionData, retainData, setLightEnabled, setStoredLevel, storingLightForSection, swapSectionMap, updateSectionStatus
-
Constructor Details
-
SkyLightSectionStorage
-
-
Method Details
-
getLightValue
protected int getLightValue(long p_75880_) - Specified by:
getLightValue
in classLayerLightSectionStorage<SkyLightSectionStorage.SkyDataLayerStorageMap>
-
getLightValue
protected int getLightValue(long p_164458_, boolean p_164459_) -
onNodeAdded
protected void onNodeAdded(long p_75885_) - Overrides:
onNodeAdded
in classLayerLightSectionStorage<SkyLightSectionStorage.SkyDataLayerStorageMap>
-
onNodeRemoved
protected void onNodeRemoved(long p_75887_) - Overrides:
onNodeRemoved
in classLayerLightSectionStorage<SkyLightSectionStorage.SkyDataLayerStorageMap>
-
createDataLayer
- Overrides:
createDataLayer
in classLayerLightSectionStorage<SkyLightSectionStorage.SkyDataLayerStorageMap>
-
repeatFirstLayer
-
hasLightDataAtOrBelow
protected boolean hasLightDataAtOrBelow(int p_278270_) -
isAboveData
protected boolean isAboveData(long p_75891_) -
getTopSectionY
protected int getTopSectionY(long p_285094_) -
getBottomSectionY
protected int getBottomSectionY()
-