net.minecraft.world.level.lighting

public class LevelLightEngine

implements LightEventListener

eab
net.minecraft.world.level.lighting.LevelLightEngine
net.minecraft.class_3568
net.minecraft.world.chunk.light.LightingProvider
net.minecraft.src.C_2681_
net.minecraft.world.level.lighting.LevelLightEngine

Field summary

Modifier and TypeField
public static final int
b
LIGHT_SECTION_PADDING
field_31714
field_31714
f_164444_
protected final LevelHeightAccessor
c
levelHeightAccessor
field_27339
world
f_164445_
private final LightEngine<?, ?>
a
blockEngine
field_15814
blockLightProvider
f_75802_
private final LightEngine<?, ?>
d
skyEngine
field_15813
skyLightProvider
f_75803_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(gw arg0)
checkBlock(BlockPos arg0)
method_15513(class_2338 arg0)
checkBlock(BlockPos arg0)
m_7174_(C_4675_ arg0)
public boolean
J_()
hasLightWork()
method_15518()
hasUpdates()
m_75808_()
public int
a()
runLightUpdates()
method_15516()
doLightUpdates()
m_9323_()
public void
a(hw arg0, boolean arg1)
updateSectionStatus(SectionPos arg0, boolean arg1)
method_15551(class_4076 arg0, boolean arg1)
setSectionStatus(ChunkSectionPos arg0, boolean arg1)
m_6191_(C_4710_ p_75828_, boolean arg1)
public void
a(cpc arg0, boolean arg1)
setLightEnabled(ChunkPos arg0, boolean arg1)
method_15512(class_1923 arg0, boolean arg1)
setColumnEnabled(ChunkPos arg0, boolean arg1)
m_9335_(C_1560_ p_285012_, boolean arg1)
public void
b(cpc arg0)
propagateLightSources(ChunkPos arg0)
method_51471(class_1923 arg0)
propagateLight(ChunkPos arg0)
m_142519_(C_1560_ arg0)
public LayerLightEventListener
a(cqe arg0)
getLayerListener(LightLayer arg0)
method_15562(class_1944 arg0)
get(LightType lightType)
m_75814_(C_1607_ arg0)
public String
a(cqe arg0, hw arg1)
getDebugData(LightLayer arg0, SectionPos arg1)
method_22876(class_1944 arg0, class_4076 arg1)
displaySectionLevel(LightType lightType, ChunkSectionPos pos)
m_75816_(C_1607_ p_75818_, C_4710_ arg1)
public LayerLightSectionStorage$SectionType
b(cqe arg0, hw arg1)
getDebugSectionType(LightLayer arg0, SectionPos arg1)
method_51560(class_1944 arg0, class_4076 arg1)
getStatus(LightType lightType, ChunkSectionPos pos)
m_284493_(C_1607_ p_285336_, C_4710_ arg1)
public void
a(cqe arg0, hw arg1, dhl 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)
m_284126_(C_1607_ p_284962_, C_4710_ p_285035_, C_2131_ arg2)
public void
b(cpc arg0, boolean arg1)
retainData(ChunkPos arg0, boolean arg1)
method_20601(class_1923 arg0, boolean arg1)
setRetainData(ChunkPos pos, boolean retainData)
m_6462_(C_1560_ p_75830_, boolean arg1)
public int
a(gw arg0, int arg1)
getRawBrightness(BlockPos arg0, int arg1)
method_22363(class_2338 arg0, int arg1)
getLight(BlockPos pos, int ambientDarkness)
m_75831_(C_4675_ p_75833_, int arg1)
public boolean
a(hw arg0)
lightOnInSection(SectionPos arg0)
method_51559(class_4076 arg0)
isLightingEnabled(ChunkSectionPos sectionPos)
m_284439_(C_4710_ arg0)
public int
c()
getLightSectionCount()
method_31928()
getHeight()
m_164446_()
public int
d()
getMinLightSection()
method_31929()
getBottomY()
m_164447_()
public int
e()
getMaxLightSection()
method_31930()
getTopY()
m_164448_()