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
Fields inherited from class net.minecraft.world.level.lighting.LayerLightEngine
chunkSource, layer, pos, SELF_SOURCE, storage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkNeighborsAfterUpdate(long p_75845_, int p_75846_, boolean p_75847_)
protected void
checkNode(long p_75859_)
protected int
computeLevelFromNeighbor(long p_75855_, long p_75856_, int p_75857_)
protected int
getComputedLevel(long p_75849_, long p_75850_, int p_75851_)
getDebugData(long p_75853_)
int
Methods 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, updateSectionStatus
Methods inherited from class net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
checkEdge, checkNeighbor, getQueueSize, hasWork, removeFromQueue, removeIf, runUpdates
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
checkNeighborsAfterUpdate
in classDynamicGraphMinFixedPoint
-
getComputedLevel
protected int getComputedLevel(long p_75849_, long p_75850_, int p_75851_)- Overrides:
getComputedLevel
in classLayerLightEngine<SkyLightSectionStorage.SkyDataLayerStorageMap,SkyLightSectionStorage>
-
checkNode
protected void checkNode(long p_75859_)- Overrides:
checkNode
in classLayerLightEngine<SkyLightSectionStorage.SkyDataLayerStorageMap,SkyLightSectionStorage>
-
getDebugData
- Overrides:
getDebugData
in classLayerLightEngine<SkyLightSectionStorage.SkyDataLayerStorageMap,SkyLightSectionStorage>
-
queuedUpdateSize
public int queuedUpdateSize()- Specified by:
queuedUpdateSize
in classLayerLightEngine<SkyLightSectionStorage.SkyDataLayerStorageMap,SkyLightSectionStorage>
-