Package net.minecraft.world.lighting
Class WorldLightManager
java.lang.Object
net.minecraft.world.lighting.WorldLightManager
- All Implemented Interfaces:
ILightListener
- Direct Known Subclasses:
ServerWorldLightManager
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWorldLightManager(IChunkLightProvider p_i51290_1_, boolean p_i51290_2_, boolean p_i51290_3_) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckBlock(BlockPos p_215568_1_) voidenableLightSources(ChunkPos p_215571_1_, boolean p_215571_2_) getDebugData(LightType p_215572_1_, SectionPos p_215572_2_) getLayerListener(LightType p_215569_1_) intgetRawBrightness(BlockPos p_227470_1_, int p_227470_2_) booleanvoidonBlockEmissionIncrease(BlockPos p_215573_1_, int p_215573_2_) voidqueueSectionData(LightType p_215574_1_, SectionPos p_215574_2_, NibbleArray p_215574_3_, boolean p_215574_4_) voidretainData(ChunkPos p_223115_1_, boolean p_223115_2_) intrunUpdates(int p_215575_1_, boolean p_215575_2_, boolean p_215575_3_) voidupdateSectionStatus(SectionPos p_215566_1_, boolean p_215566_2_) Methods 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
-
blockEngine
-
skyEngine
-
-
Constructor Details
-
WorldLightManager
-
-
Method Details
-
checkBlock
-
onBlockEmissionIncrease
-
hasLightWork
public boolean hasLightWork() -
runUpdates
public int runUpdates(int p_215575_1_, boolean p_215575_2_, boolean p_215575_3_) -
updateSectionStatus
- Specified by:
updateSectionStatusin interfaceILightListener
-
enableLightSources
-
getLayerListener
-
getDebugData
-
queueSectionData
public void queueSectionData(LightType p_215574_1_, SectionPos p_215574_2_, @Nullable NibbleArray p_215574_3_, boolean p_215574_4_) -
retainData
-
getRawBrightness
-