net.minecraft.world.level.lighting

public class LevelLightEngine

implements LightEventListener

cwr
net.minecraft.world.level.lighting.LevelLightEngine
net.minecraft.class_3568
net.minecraft.world.chunk.light.LightingProvider
net.minecraft.world.lighting.WorldLightManager
net.minecraft.server.v1_16_R1.LightEngine

Field summary

Modifier and TypeField
private final LayerLightEngine<?, ?>
a
blockEngine
field_15814
blockLightProvider
field_215576_a
private final LayerLightEngine<?, ?>
b
skyEngine
field_15813
skyLightProvider
field_215577_b

Constructor summary

ModifierConstructor
public (LightChunkGetter chunkProvider, boolean hasBlockLight, boolean hasSkyLight)

Method summary

Modifier and TypeMethod
public void
a(fu arg0)
checkBlock(BlockPos arg0)
method_15559(class_2338 arg0)
checkBlock(BlockPos pos)
func_215568_a(BlockPos arg0)
public void
a(fu arg0, int arg1)
onBlockEmissionIncrease(BlockPos arg0, int arg1)
method_15560(class_2338 arg0, int arg1)
addLightSource(BlockPos pos, int level)
func_215573_a(BlockPos arg0, int arg1)
public boolean
a()
hasLightWork()
method_15561()
hasUpdates()
func_215570_a()
public int
a(int arg0, boolean arg1, boolean arg2)
runUpdates(int arg0, boolean arg1, boolean arg2)
method_15563(int arg0, boolean arg1, boolean arg2)
doLightUpdates(int maxUpdateCount, boolean doSkylight, boolean skipEdgeLightPropagation)
func_215575_a(int arg0, boolean arg1, boolean arg2)
public void
a(go arg0, boolean arg1)
updateSectionStatus(SectionPos arg0, boolean arg1)
method_15551(class_4076 arg0, boolean arg1)
updateSectionStatus(ChunkSectionPos arg0, boolean arg1)
func_215566_a(SectionPos arg0, boolean arg1)
public void
a(bph arg0, boolean arg1)
enableLightSources(ChunkPos arg0, boolean arg1)
method_15557(class_1923 arg0, boolean arg1)
setLightEnabled(ChunkPos pos, boolean lightEnabled)
func_215571_a(ChunkPos arg0, boolean arg1)
public LayerLightEventListener
a(bqi arg0)
getLayerListener(LightLayer arg0)
method_15562(class_1944 arg0)
get(LightType lightType)
func_215569_a(LightType arg0)
public void
a(bqi arg0, go arg1, chd arg2, boolean arg3)
queueSectionData(LightLayer arg0, SectionPos arg1, DataLayer arg2, boolean arg3)
method_15558(class_1944 arg0, class_4076 arg1, class_2804 arg2, boolean arg3)
queueData(LightType lightType, ChunkSectionPos pos, ChunkNibbleArray nibbles, boolean arg3)
func_215574_a(LightType arg0, SectionPos arg1, NibbleArray arg2, boolean arg3)
public void
b(bph arg0, boolean arg1)
retainData(ChunkPos arg0, boolean arg1)
method_20601(class_1923 arg0, boolean arg1)
setRetainData(ChunkPos pos, boolean retainData)
func_223115_b(ChunkPos arg0, boolean arg1)
public int
b(fu arg0, int arg1)
getRawBrightness(BlockPos arg0, int arg1)
method_22363(class_2338 arg0, int arg1)
getLight(BlockPos pos, int ambientDarkness)
func_227470_b_(BlockPos arg0, int arg1)
public String
a(bqi arg0, go arg1)
getDebugData(LightLayer arg0, SectionPos arg1)
method_22876(class_1944 arg0, class_4076 arg1)
method_22876(LightType arg0, ChunkSectionPos arg1)
func_215572_a(LightType arg0, SectionPos arg1)