Class BlockLightEngine
java.lang.Object
net.minecraft.world.level.lighting.LightEngine<BlockLightSectionStorage.BlockDataLayerStorageMap,BlockLightSectionStorage>
net.minecraft.world.level.lighting.BlockLightEngine
- All Implemented Interfaces:
LayerLightEventListener,LightEventListener
public final class BlockLightEngine
extends LightEngine<BlockLightSectionStorage.BlockDataLayerStorageMap,BlockLightSectionStorage>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.lighting.LightEngine
LightEngine.QueueEntryNested classes/interfaces inherited from interface net.minecraft.world.level.lighting.LayerLightEventListener
LayerLightEventListener.DummyLightLayerEventListener -
Field Summary
FieldsFields inherited from class net.minecraft.world.level.lighting.LightEngine
chunkSource, MAX_LEVEL, MIN_OPACITY, PROPAGATION_DIRECTIONS, PULL_LIGHT_IN_ENTRY, storage -
Constructor Summary
ConstructorsConstructorDescriptionBlockLightEngine(LightChunkGetter pChunkSource) BlockLightEngine(LightChunkGetter pChunkSource, BlockLightSectionStorage pStorage) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckNode(long pPackedPos) private intgetEmission(long pPackedPos, BlockState pState) protected voidpropagateDecrease(long pPackedPos, long pLightLevel) protected voidpropagateIncrease(long pPackedPos, long pQueueEntry, int pLightLevel) voidpropagateLightSources(ChunkPos pChunkPos) Methods inherited from class net.minecraft.world.level.lighting.LightEngine
checkBlock, enqueueDecrease, enqueueIncrease, getChunk, getDataLayerData, getDebugData, getDebugSectionType, getLightBlockInto, getLightValue, getOcclusionShape, getOcclusionShape, getOpacity, getState, hasDifferentLightProperties, hasLightWork, isEmptyShape, queueSectionData, retainData, runLightUpdates, setLightEnabled, shapeOccludes, updateSectionStatusMethods 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
-
mutablePos
-
-
Constructor Details
-
BlockLightEngine
-
BlockLightEngine
-
-
Method Details
-
checkNode
protected void checkNode(long pPackedPos) - Specified by:
checkNodein classLightEngine<BlockLightSectionStorage.BlockDataLayerStorageMap,BlockLightSectionStorage>
-
propagateIncrease
protected void propagateIncrease(long pPackedPos, long pQueueEntry, int pLightLevel) - Specified by:
propagateIncreasein classLightEngine<BlockLightSectionStorage.BlockDataLayerStorageMap,BlockLightSectionStorage>
-
propagateDecrease
protected void propagateDecrease(long pPackedPos, long pLightLevel) - Specified by:
propagateDecreasein classLightEngine<BlockLightSectionStorage.BlockDataLayerStorageMap,BlockLightSectionStorage>
-
getEmission
-
propagateLightSources
-