net.minecraft.world.level.lighting

public final class SkyLightEngine

extends LightEngine<SkyLightSectionStorage$SkyDataLayerStorageMap, SkyLightSectionStorage>

All mapped superinterfaces:

LayerLightEventListener, LightEventListener

eox
net.minecraft.world.level.lighting.SkyLightEngine
net.minecraft.class_3572
net.minecraft.world.chunk.light.ChunkSkyLightProvider
net.minecraft.src.C_2683_
net.minecraft.world.level.lighting.LightEngineSky

Field summary

Modifier and TypeField
private static final long
g
REMOVE_TOP_SKY_SOURCE_ENTRY
field_44743
field_44743
f_283759_
private static final long
h
REMOVE_SKY_SOURCE_ENTRY
field_44744
field_44744
f_283845_
private static final long
i
ADD_SKY_SOURCE_ENTRY
field_44745
field_44745
f_283756_
private final BlockPos$MutableBlockPos
j
mutablePos
field_44746
field_44746
f_283853_
private final ChunkSkyLightSources
k
emptyChunkSources
field_44747
field_44747
f_283855_

Constructor summary

ModifierConstructor
public (LightChunkGetter chunkProvider)
protected (LightChunkGetter chunkProvider, SkyLightSectionStorage lightStorage)

Method summary

Modifier and TypeMethod
private static boolean
a(int arg0)
isSourceLevel(int arg0)
method_51584(int arg0)
method_51584(int arg0)
m_284444_(int p_285004_)
private int
a(int arg0, int arg1, int arg2)
getLowestSourceY(int arg0, int arg1, int arg2)
method_51585(int arg0, int arg1, int arg2)
method_51585(int x, int z, int arg2)
m_284344_(int p_285191_, int p_285111_, int arg2)
private ChunkSkyLightSources
b(int arg0, int arg1)
getChunkSources(int arg0, int arg1)
method_51589(int arg0, int arg1)
method_51589(int chunkX, int chunkZ)
m_284231_(int p_285307_, int arg1)
protected void
a(long arg0)
checkNode(long arg0)
method_51529(long arg0)
method_51529(long arg0)
m_75858_(long arg0)
private void
b(int arg0, int arg1, int arg2)
updateSourcesInColumn(int arg0, int arg1, int arg2)
method_51590(int arg0, int arg1, int arg2)
method_51590(int arg0, int arg1, int arg2)
m_284427_(int p_285140_, int p_285337_, int arg2)
private void
a(int arg0, int arg1, int arg2, int arg3)
removeSourcesBelow(int arg0, int arg1, int arg2, int arg3)
method_51586(int arg0, int arg1, int arg2, int arg3)
method_51586(int x, int z, int arg2, int arg3)
m_284317_(int p_285138_, int p_285130_, int p_285112_, int arg3)
private void
b(int arg0, int arg1, int arg2, int arg3)
addSourcesAbove(int arg0, int arg1, int arg2, int arg3)
method_51591(int arg0, int arg1, int arg2, int arg3)
method_51591(int arg0, int arg1, int arg2, int arg3)
m_284375_(int p_285212_, int p_284972_, int p_285134_, int arg3)
protected void
a(long arg0, long arg1, int arg2)
propagateIncrease(long arg0, long arg1, int arg2)
method_51531(long arg0, long arg1, int arg2)
method_51531(long arg0, long arg1, int arg2)
m_284316_(long p_285204_, long arg1, int arg2)
protected void
a(long arg0, long arg1)
propagateDecrease(long arg0, long arg1)
method_51530(long arg0, long arg1)
method_51530(long arg0, long arg1)
m_284321_(long p_285395_, long arg1)
private int
d(long arg0)
countEmptySectionsBelowIfAtBorder(long arg0)
method_51592(long arg0)
getNumberOfSectionsBelowPos(long blockPos)
m_284210_(long arg0)
private void
a(long arg0, ji arg1, int arg2, boolean arg3, int arg4)
propagateFromEmptySections(long arg0, Direction arg1, int arg2, boolean arg3, int arg4)
method_51587(long arg0, class_2350 arg1, int arg2, boolean arg3, int arg4)
method_51587(long blockPos, Direction direction, int lightLevel, boolean arg3, int arg4)
m_284181_(long p_285308_, C_4687_ p_285001_, int p_285052_, boolean arg3, int arg4)
private static boolean
a(ji arg0, int arg1, int arg2)
crossedSectionEdge(Direction arg0, int arg1, int arg2)
method_51588(class_2350 arg0, int arg1, int arg2)
exitsChunkXZ(Direction direction, int localX, int localZ)
m_284202_(C_4687_ p_285014_, int p_284991_, int p_285468_)
public void
a(dcd 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_285013_, boolean arg1)
public void
b(dcd arg0)
propagateLightSources(ChunkPos arg0)
method_51471(class_1923 arg0)
propagateLight(ChunkPos arg0)
m_142519_(C_1560_ arg0)