类 BlockLightEngine
java.lang.Object
net.minecraft.world.level.lighting.LightEngine<BlockLightSectionStorage.BlockDataLayerStorageMap,BlockLightSectionStorage>
net.minecraft.world.level.lighting.BlockLightEngine
- 所有已实现的接口:
LayerLightEventListener
,LightEventListener
public final class BlockLightEngine
extends LightEngine<BlockLightSectionStorage.BlockDataLayerStorageMap,BlockLightSectionStorage>
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.lighting.LightEngine
LightEngine.QueueEntry
从接口继承的嵌套类/接口 net.minecraft.world.level.lighting.LayerLightEventListener
LayerLightEventListener.DummyLightLayerEventListener
-
字段概要
字段从类继承的字段 net.minecraft.world.level.lighting.LightEngine
chunkSource, MAX_LEVEL, MIN_OPACITY, PROPAGATION_DIRECTIONS, PULL_LIGHT_IN_ENTRY, storage
-
构造器概要
构造器构造器说明BlockLightEngine
(LightChunkGetter p_75492_) BlockLightEngine
(LightChunkGetter p_278252_, BlockLightSectionStorage p_278255_) -
方法概要
修饰符和类型方法说明protected void
checkNode
(long p_285169_) private int
getEmission
(long p_285243_, BlockState p_284973_) protected void
propagateDecrease
(long p_285435_, long p_285230_) protected void
propagateIncrease
(long p_285500_, long p_285410_, int p_285492_) void
propagateLightSources
(ChunkPos p_285274_) 从类继承的方法 net.minecraft.world.level.lighting.LightEngine
checkBlock, enqueueDecrease, enqueueIncrease, getChunk, getDataLayerData, getDebugData, getDebugSectionType, getLightBlockInto, getLightValue, getOcclusionShape, getOpacity, getState, hasDifferentLightProperties, hasDifferentLightProperties, hasLightWork, isEmptyShape, queueSectionData, retainData, runLightUpdates, setLightEnabled, shapeOccludes, updateSectionStatus
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.lighting.LightEventListener
updateSectionStatus
-
字段详细资料
-
mutablePos
-
-
构造器详细资料
-
BlockLightEngine
-
BlockLightEngine
-
-
方法详细资料
-
checkNode
protected void checkNode(long p_285169_) -
propagateIncrease
protected void propagateIncrease(long p_285500_, long p_285410_, int p_285492_) -
propagateDecrease
protected void propagateDecrease(long p_285435_, long p_285230_) -
getEmission
-
propagateLightSources
-