net.minecraft.world.level.lighting

public class LevelLightEngine

implements LightEventListener

etm
net.minecraft.world.level.lighting.LevelLightEngine
net.minecraft.class_3568
net.minecraft.world.chunk.light.LightingProvider
net.minecraft.world.level.lighting.LevelLightEngine

Field summary

Modifier and TypeField
public static final int
b
LIGHT_SECTION_PADDING
field_31714
field_31714
public static final LevelLightEngine
c
EMPTY
field_52658
DEFAULT
protected final LevelHeightAccessor
d
levelHeightAccessor
field_27339
world
private final LightEngine<?, ?>
a
blockEngine
field_15814
blockLightProvider
private final LightEngine<?, ?>
e
skyEngine
field_15813
skyLightProvider

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(jh arg0)
checkBlock(BlockPos arg0)
method_15513(class_2338 arg0)
checkBlock(BlockPos arg0)
public boolean
N_()
hasLightWork()
method_15518()
hasUpdates()
public int
a()
runLightUpdates()
method_15516()
doLightUpdates()
public void
a(kj arg0, boolean arg1)
updateSectionStatus(SectionPos arg0, boolean arg1)
method_15551(class_4076 arg0, boolean arg1)
setSectionStatus(ChunkSectionPos arg0, boolean arg1)
public void
a(dgo arg0, boolean arg1)
setLightEnabled(ChunkPos arg0, boolean arg1)
method_15512(class_1923 arg0, boolean arg1)
setColumnEnabled(ChunkPos arg0, boolean arg1)
public void
b(dgo arg0)
propagateLightSources(ChunkPos arg0)
method_51471(class_1923 arg0)
propagateLight(ChunkPos arg0)
public LayerLightEventListener
a(dhr arg0)
getLayerListener(LightLayer arg0)
method_15562(class_1944 arg0)
get(LightType lightType)
public String
a(dhr arg0, kj arg1)
getDebugData(LightLayer arg0, SectionPos arg1)
method_22876(class_1944 arg0, class_4076 arg1)
displaySectionLevel(LightType lightType, ChunkSectionPos pos)
public LayerLightSectionStorage$SectionType
b(dhr arg0, kj arg1)
getDebugSectionType(LightLayer arg0, SectionPos arg1)
method_51560(class_1944 arg0, class_4076 arg1)
getStatus(LightType lightType, ChunkSectionPos pos)
public void
a(dhr arg0, kj arg1, dzv arg2)
queueSectionData(LightLayer arg0, SectionPos arg1, DataLayer arg2)
method_15558(class_1944 arg0, class_4076 arg1, class_2804 arg2)
enqueueSectionData(LightType lightType, ChunkSectionPos pos, ChunkNibbleArray nibbles)
public void
b(dgo arg0, boolean arg1)
retainData(ChunkPos arg0, boolean arg1)
method_20601(class_1923 arg0, boolean arg1)
setRetainData(ChunkPos pos, boolean retainData)
public int
a(jh arg0, int arg1)
getRawBrightness(BlockPos arg0, int arg1)
method_22363(class_2338 arg0, int arg1)
getLight(BlockPos pos, int ambientDarkness)
public boolean
a(long arg0)
lightOnInColumn(long arg0)
method_62874(long arg0)
isLightingEnabled(long sectionPos)
public int
c()
getLightSectionCount()
method_31928()
getHeight()
public int
d()
getMinLightSection()
method_31929()
getBottomY()
public int
e()
getMaxLightSection()
method_31930()
getTopY()