Package net.minecraft.world.lighting
Class SkyLightEngine
java.lang.Object
net.minecraft.world.lighting.LevelBasedGraph
net.minecraft.world.lighting.LightEngine<SkyLightStorage.StorageMap,SkyLightStorage>
net.minecraft.world.lighting.SkyLightEngine
- All Implemented Interfaces:
ILightListener,IWorldLightListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.lighting.IWorldLightListener
IWorldLightListener.Dummy -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Direction[]private static final Direction[]Fields inherited from class net.minecraft.world.lighting.LightEngine
chunkSource, layer, pos, storage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckNeighborsAfterUpdate(long p_215478_1_, int p_215478_3_, boolean p_215478_4_) protected voidcheckNode(long p_215473_1_) protected intcomputeLevelFromNeighbor(long p_215480_1_, long p_215480_3_, int p_215480_5_) protected intgetComputedLevel(long p_215477_1_, long p_215477_3_, int p_215477_5_) getDebugData(long p_215614_1_) intMethods inherited from class net.minecraft.world.lighting.LightEngine
checkBlock, enableLightSources, getDataLayerData, getLevel, getLevel, getLightBlockInto, getLightValue, getShape, getStateAndOpacity, hasLightWork, isSource, onBlockEmissionIncrease, queueSectionData, retainData, runUpdates, setLevel, updateSectionStatusMethods inherited from class net.minecraft.world.lighting.LevelBasedGraph
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.lighting.ILightListener
updateSectionStatus
-
Field Details
-
DIRECTIONS
-
HORIZONTALS
-
-
Constructor Details
-
SkyLightEngine
-
-
Method Details
-
computeLevelFromNeighbor
protected int computeLevelFromNeighbor(long p_215480_1_, long p_215480_3_, int p_215480_5_) - Overrides:
computeLevelFromNeighborin classLightEngine<SkyLightStorage.StorageMap,SkyLightStorage>
-
checkNeighborsAfterUpdate
protected void checkNeighborsAfterUpdate(long p_215478_1_, int p_215478_3_, boolean p_215478_4_) - Specified by:
checkNeighborsAfterUpdatein classLevelBasedGraph
-
getComputedLevel
protected int getComputedLevel(long p_215477_1_, long p_215477_3_, int p_215477_5_) - Overrides:
getComputedLevelin classLightEngine<SkyLightStorage.StorageMap,SkyLightStorage>
-
checkNode
protected void checkNode(long p_215473_1_) - Overrides:
checkNodein classLightEngine<SkyLightStorage.StorageMap,SkyLightStorage>
-
getDebugData
- Overrides:
getDebugDatain classLightEngine<SkyLightStorage.StorageMap,SkyLightStorage>
-
queuedUpdateSize
public int queuedUpdateSize()- Specified by:
queuedUpdateSizein classLightEngine<SkyLightStorage.StorageMap,SkyLightStorage>
-