net.minecraft.world.level.lighting

public class LevelLightEngine

implements LightEventListener

dop
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.LightEngine

Field summary

Modifier and TypeField
public static final int
a
MAX_SOURCE_LEVEL
field_31713
field_31713
f_164443_
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 LayerLightEngine<?, ?>
d
blockEngine
field_15814
blockLightProvider
f_75802_
private final LayerLightEngine<?, ?>
e
skyEngine
field_15813
skyLightProvider
f_75803_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(gt arg0)
checkBlock(BlockPos arg0)
method_15513(class_2338 arg0)
checkBlock(BlockPos arg0)
m_7174_(C_4675_ arg0)
public void
a(gt arg0, int arg1)
onBlockEmissionIncrease(BlockPos arg0, int arg1)
method_15514(class_2338 arg0, int arg1)
addLightSource(BlockPos arg0, int arg1)
m_8116_(C_4675_ p_75825_, int arg1)
public boolean
A_()
hasLightWork()
method_15518()
hasUpdates()
m_75643_()
public int
a(int arg0, boolean arg1, boolean arg2)
runUpdates(int arg0, boolean arg1, boolean arg2)
method_15516(int arg0, boolean arg1, boolean arg2)
doLightUpdates(int arg0, boolean arg1, boolean arg2)
m_5738_(int p_75810_, boolean p_75811_, boolean arg2)
public void
a(hq 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(cfh arg0, boolean arg1)
enableLightSources(ChunkPos arg0, boolean arg1)
method_15512(class_1923 arg0, boolean arg1)
setColumnEnabled(ChunkPos arg0, boolean arg1)
m_6460_(C_1560_ p_75813_, boolean arg1)
public LayerLightEventListener
a(cgj arg0)
getLayerListener(LightLayer arg0)
method_15562(class_1944 arg0)
get(LightType lightType)
m_75814_(C_1607_ arg0)
public String
a(cgj arg0, hq 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 void
a(cgj arg0, hq arg1, cwr 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)
enqueueSectionData(LightType lightType, ChunkSectionPos pos, ChunkNibbleArray nibbles, boolean nonEdge)
m_5687_(C_1607_ p_75820_, C_4710_ p_75821_, C_2131_ p_75822_, boolean arg3)
public void
b(cfh 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
b(gt 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 int
b()
getLightSectionCount()
method_31928()
getHeight()
m_164446_()
public int
c()
getMinLightSection()
method_31929()
getBottomY()
m_164447_()
public int
d()
getMaxLightSection()
method_31930()
getTopY()
m_164448_()