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 classBlockLightStorage.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 protectedBlockLightStorage(ChunkProvider chunkProvider) -
Method Summary
Modifier and Type Method Description protected intgetLight(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, updateLightMethods inherited from class net.minecraft.world.SectionDistanceLevelPropagator
getPropagatedLevel, isMarker, propagateLevel, recalculateLevel, updateMethods 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:
getLightin classLightStorage<BlockLightStorage.Data>
-