net.minecraft.world.level.lighting

public class SkyLightSectionStorage

extends LayerLightSectionStorage<SkyLightSectionStorage$SkyDataLayerStorageMap>

dwd
net.minecraft.world.level.lighting.SkyLightSectionStorage
net.minecraft.class_3569
net.minecraft.world.chunk.light.SkyLightStorage
net.minecraft.src.C_2684_
net.minecraft.world.level.lighting.LightEngineStorageSky

Field summary

Modifier and TypeField
private static final Direction[]
n
HORIZONTALS
field_15818
LIGHT_REDUCTION_DIRECTIONS
f_75860_
private final it.unimi.dsi.fastutil.longs.LongSet
o
sectionsWithSources
field_15820
field_15820
f_75861_
private final it.unimi.dsi.fastutil.longs.LongSet
p
sectionsToAddSourcesTo
field_15815
sectionsToUpdate
f_75862_
private final it.unimi.dsi.fastutil.longs.LongSet
q
sectionsToRemoveSourcesFrom
field_15816
sectionsToRemove
f_75863_
private final it.unimi.dsi.fastutil.longs.LongSet
r
columnsWithSkySources
field_15817
enabledColumns
f_75864_
private volatile boolean
s
hasSourceInconsistencies
field_15819
hasUpdates
f_75865_

Constructor summary

ModifierConstructor
protected (LightChunkGetter chunkProvider)

Method summary

Modifier and TypeMethod
protected int
d(long arg0)
getLightValue(long arg0)
method_15538(long arg0)
getLight(long arg0)
m_6181_(long arg0)
protected int
e(long arg0, boolean arg1)
getLightValue(long arg0, boolean arg1)
method_31931(long arg0, boolean arg1)
getLight(long blockPos, boolean cached)
m_164457_(long p_164459_, boolean arg1)
protected void
k(long arg0)
onNodeAdded(long arg0)
method_15523(long arg0)
onLoadSection(long arg0)
m_6177_(long arg0)
private void
o(long arg0)
queueRemoveSource(long arg0)
method_20809(long arg0)
enqueueRemoveSection(long sectionPos)
m_75894_(long arg0)
private void
p(long arg0)
queueAddSource(long arg0)
method_20810(long arg0)
enqueueAddSection(long sectionPos)
m_75896_(long arg0)
private void
f()
recheckInconsistencyFlag()
method_15569()
checkForUpdates()
m_75881_()
protected void
l(long arg0)
onNodeRemoved(long arg0)
method_15534(long arg0)
onUnloadSection(long arg0)
m_6187_(long arg0)
protected void
b(long arg0, boolean arg1)
enableLightSources(long arg0, boolean arg1)
method_15535(long arg0, boolean arg1)
setColumnEnabled(long arg0, boolean arg1)
m_7358_(long p_75878_, boolean arg1)
protected boolean
a()
hasInconsistencies()
method_15528()
hasLightUpdates()
m_6808_()
protected DataLayer
j(long arg0)
createDataLayer(long arg0)
method_15529(long arg0)
createSection(long arg0)
m_7667_(long arg0)
private static DataLayer
a(ddt arg0)
repeatFirstLayer(DataLayer arg0)
method_37460(class_2804 arg0)
copy(ChunkNibbleArray source)
m_182512_(C_2131_ p_182513_)
protected void
a(dvx<dwd$a, ?> arg0, boolean arg1, boolean arg2)
markNewInconsistencies(LayerLightEngine<SkyLightSectionStorage$SkyDataLayerStorageMap, ?> arg0, boolean arg1, boolean arg2)
method_15527(class_3558<class_3569$class_3570, ?> arg0, boolean arg1, boolean arg2)
updateLight(ChunkLightProvider<SkyLightStorage$Data, ?> arg0, boolean arg1, boolean arg2)
m_6716_(C_2676_<C_2684_$C_2686_, ?> p_75874_, boolean p_75875_, boolean arg2)
protected boolean
a(int arg0)
hasSectionsBelow(int arg0)
method_15567(int arg0)
isAboveMinHeight(int sectionY)
m_75870_(int arg0)
protected boolean
m(long arg0)
isAboveData(long arg0)
method_15568(long arg0)
isAtOrAboveTopmostSection(long sectionPos)
m_75890_(long arg0)
protected boolean
n(long arg0)
lightOnInSection(long arg0)
method_15566(long arg0)
isSectionEnabled(long sectionPos)
m_75892_(long arg0)