Class SkyLightEngine
java.lang.Object
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.world.level.lighting.LayerLightEngine<SkyLightSectionStorage.SkyDataLayerStorageMap,SkyLightSectionStorage>
net.minecraft.world.level.lighting.SkyLightEngine
- All Implemented Interfaces:
LayerLightEventListener,LightEventListener
public final class SkyLightEngine
extends LayerLightEngine<SkyLightSectionStorage.SkyDataLayerStorageMap,SkyLightSectionStorage>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.level.lighting.LayerLightEventListener
LayerLightEventListener.DummyLightLayerEventListener -
Field Summary
FieldsFields inherited from class net.minecraft.world.level.lighting.LayerLightEngine
chunkSource, layer, pos, SELF_SOURCE, storage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckNeighborsAfterUpdate(long p_75845_, int p_75846_, boolean p_75847_)protected voidcheckNode(long p_75859_)protected intcomputeLevelFromNeighbor(long p_75855_, long p_75856_, int p_75857_)protected intgetComputedLevel(long p_75849_, long p_75850_, int p_75851_)getDebugData(long p_75853_)intMethods inherited from class net.minecraft.world.level.lighting.LayerLightEngine
checkBlock, enableLightSources, getDataLayerData, getLevel, getLevel, getLightBlockInto, getLightValue, getShape, getStateAndOpacity, hasLightWork, isSource, onBlockEmissionIncrease, queueSectionData, retainData, runUpdates, setLevel, updateSectionStatusMethods inherited from class net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
checkEdge, checkNeighbor, getQueueSize, hasWork, removeFromQueue, removeIf, runUpdatesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.lighting.LightEventListener
updateSectionStatus
-
Field Details
-
DIRECTIONS
-
HORIZONTALS
-
-
Constructor Details
-
SkyLightEngine
-
-
Method Details
-
computeLevelFromNeighbor
protected int computeLevelFromNeighbor(long p_75855_, long p_75856_, int p_75857_) -
checkNeighborsAfterUpdate
protected void checkNeighborsAfterUpdate(long p_75845_, int p_75846_, boolean p_75847_)- Specified by:
checkNeighborsAfterUpdatein classDynamicGraphMinFixedPoint
-
getComputedLevel
protected int getComputedLevel(long p_75849_, long p_75850_, int p_75851_)- Overrides:
getComputedLevelin classLayerLightEngine<SkyLightSectionStorage.SkyDataLayerStorageMap,SkyLightSectionStorage>
-
checkNode
protected void checkNode(long p_75859_)- Overrides:
checkNodein classLayerLightEngine<SkyLightSectionStorage.SkyDataLayerStorageMap,SkyLightSectionStorage>
-
getDebugData
- Overrides:
getDebugDatain classLayerLightEngine<SkyLightSectionStorage.SkyDataLayerStorageMap,SkyLightSectionStorage>
-
queuedUpdateSize
public int queuedUpdateSize()- Specified by:
queuedUpdateSizein classLayerLightEngine<SkyLightSectionStorage.SkyDataLayerStorageMap,SkyLightSectionStorage>
-