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
Nested ClassesModifier and TypeClassDescriptionprotected static final classNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DataLayercreateDataLayer(long p_75883_) protected intprotected intgetLightValue(long p_75880_) protected intgetLightValue(long p_164458_, boolean p_164459_) protected intgetTopSectionY(long p_285094_) protected booleanhasLightDataAtOrBelow(int p_278270_) protected booleanisAboveData(long p_75891_) protected voidonNodeAdded(long p_75885_) protected voidonNodeRemoved(long p_75887_) private static DataLayerrepeatFirstLayer(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:
getLightValuein classLayerLightSectionStorage<SkyLightSectionStorage.SkyDataLayerStorageMap>
-
getLightValue
protected int getLightValue(long p_164458_, boolean p_164459_) -
onNodeAdded
protected void onNodeAdded(long p_75885_) - Overrides:
onNodeAddedin classLayerLightSectionStorage<SkyLightSectionStorage.SkyDataLayerStorageMap>
-
onNodeRemoved
protected void onNodeRemoved(long p_75887_) - Overrides:
onNodeRemovedin classLayerLightSectionStorage<SkyLightSectionStorage.SkyDataLayerStorageMap>
-
createDataLayer
- Overrides:
createDataLayerin 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()
-