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
-
Constructor Summary
ConstructorDescriptionWorldLightManager
(IChunkLightProvider p_i51290_1_, boolean p_i51290_2_, boolean p_i51290_3_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkBlock
(BlockPos p_215568_1_) void
enableLightSources
(ChunkPos p_215571_1_, boolean p_215571_2_) getDebugData
(LightType p_215572_1_, SectionPos p_215572_2_) getLayerListener
(LightType p_215569_1_) int
getRawBrightness
(BlockPos p_227470_1_, int p_227470_2_) boolean
void
onBlockEmissionIncrease
(BlockPos p_215573_1_, int p_215573_2_) void
queueSectionData
(LightType p_215574_1_, SectionPos p_215574_2_, NibbleArray p_215574_3_, boolean p_215574_4_) void
retainData
(ChunkPos p_223115_1_, boolean p_223115_2_) int
runUpdates
(int p_215575_1_, boolean p_215575_2_, boolean p_215575_3_) void
updateSectionStatus
(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, wait
Methods 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:
updateSectionStatus
in 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
-