Package net.minecraft.world.lighting
Class BlockLightStorage
- java.lang.Object
-
- net.minecraft.world.lighting.LevelBasedGraph
-
- net.minecraft.util.SectionDistanceGraph
-
- net.minecraft.world.lighting.SectionLightStorage<BlockLightStorage.StorageMap>
-
- net.minecraft.world.lighting.BlockLightStorage
-
public class BlockLightStorage extends SectionLightStorage<BlockLightStorage.StorageMap>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlockLightStorage.StorageMap
-
Field Summary
-
Fields inherited from class net.minecraft.world.lighting.SectionLightStorage
changedSections, dataSectionSet, EMPTY_DATA, hasToRemove, queuedSections, sectionsAffectedByLightUpdates, toMarkData, toMarkNoData, updatingSectionData, visibleSectionData
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BlockLightStorage(IChunkLightProvider p_i51300_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getLightValue(long p_215525_1_)
-
Methods inherited from class net.minecraft.world.lighting.SectionLightStorage
clearQueuedSectionBlocks, createDataLayer, enableLightSources, getDataLayer, getDataLayer, getDataLayerData, getLevel, getLevelFromSource, getStoredLevel, hasInconsistencies, markNewInconsistencies, onNodeAdded, onNodeRemoved, queueSectionData, retainData, runAllUpdates, setLevel, setStoredLevel, storingLightForSection, swapSectionMap, updateSectionStatus
-
Methods inherited from class net.minecraft.util.SectionDistanceGraph
checkNeighborsAfterUpdate, computeLevelFromNeighbor, getComputedLevel, isSource, update
-
Methods inherited from class net.minecraft.world.lighting.LevelBasedGraph
checkEdge, checkNeighbor, checkNode, getQueueSize, hasWork, queuedUpdateSize, removeFromQueue, removeIf, runUpdates
-
-
-
-
Constructor Detail
-
BlockLightStorage
protected BlockLightStorage(IChunkLightProvider p_i51300_1_)
-
-
Method Detail
-
getLightValue
protected int getLightValue(long p_215525_1_)
- Specified by:
getLightValue
in classSectionLightStorage<BlockLightStorage.StorageMap>
-
-