Package net.minecraft.world.chunk.light
Class BlockLightStorage
java.lang.Object
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.world.SectionDistanceLevelPropagator
net.minecraft.world.chunk.light.LightStorage<BlockLightStorage.Data>
net.minecraft.world.chunk.light.BlockLightStorage
public class BlockLightStorage extends LightStorage<BlockLightStorage.Data>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlockLightStorage.Data
-
Field Summary
Fields inherited from class net.minecraft.world.chunk.light.LightStorage
dirtySections, EMPTY, hasLightUpdates, markedNotReadySections, markedReadySections, notifySections, queuedSections, readySections, storage, uncachedStorage
-
Constructor Summary
Constructors Modifier Constructor Description protected
BlockLightStorage(ChunkProvider chunkProvider)
-
Method Summary
Modifier and Type Method Description protected int
getLight(long blockPos)
Methods inherited from class net.minecraft.world.chunk.light.LightStorage
createSection, enqueueSectionData, get, getInitialLevel, getLevel, getLightSection, getLightSection, getLightSection, hasLightUpdates, hasSection, notifyChanges, onLoadSection, onUnloadSection, removeSection, set, setColumnEnabled, setLevel, setRetainColumn, setSectionStatus, updateAll, updateLight
Methods inherited from class net.minecraft.world.SectionDistanceLevelPropagator
getPropagatedLevel, isMarker, propagateLevel, recalculateLevel, update
Methods inherited from class net.minecraft.world.chunk.light.LevelPropagator
applyPendingUpdates, getPendingUpdateCount, hasPendingUpdates, propagateLevel, removePendingUpdate, removePendingUpdateIf, resetLevel, updateLevel
-
Constructor Details
-
BlockLightStorage
-
-
Method Details
-
getLight
protected int getLight(long blockPos)- Specified by:
getLight
in classLightStorage<BlockLightStorage.Data>
-