net.minecraft.world.level.lighting

public abstract class LayerLightSectionStorage<M extends DataLayerStorageMap<M>>

dws
net.minecraft.world.level.lighting.LayerLightSectionStorage
net.minecraft.class_3560
net.minecraft.unmapped.C_jbeocnxo
net.minecraft.world.chunk.light.LightStorage
net.minecraft.world.chunk.light.LightStorage
net.minecraft.src.C_2679_
net.minecraft.world.level.lighting.LightEngineStorage

Field summary

Modifier and TypeField
private final LightLayer
i
layer
field_15805
f_mesdifhs
lightType
lightType
f_75738_
protected final LightChunkGetter
a
chunkSource
field_15803
f_zrurunvu
chunkProvider
chunkProvider
f_75739_
protected final it.unimi.dsi.fastutil.longs.Long2ByteMap
b
sectionStates
field_44716
f_voaewlib
sectionPropagations
sectionStates
f_283872_
private final it.unimi.dsi.fastutil.longs.LongSet
j
columnsWithSources
field_44718
f_oogambyi
enabledColumns
enabledColumns
f_283775_
protected volatile M
c
visibleSectionData
field_15806
f_sklbmqyv
uncachedStorage
uncachedStorage
f_75731_
protected final M
d
updatingSectionData
field_15796
f_lbfvidey
storage
storage
f_75732_
protected final it.unimi.dsi.fastutil.longs.LongSet
e
changedSections
field_15802
f_msjxleyd
dirtySections
dirtySections
f_75733_
protected final it.unimi.dsi.fastutil.longs.LongSet
f
sectionsAffectedByLightUpdates
field_16448
f_pvwqdcuu
notifySections
notifySections
f_75734_
protected final it.unimi.dsi.fastutil.longs.Long2ObjectMap<DataLayer>
g
queuedSections
field_15807
f_qwkkrrne
queuedSections
queuedSections
f_75735_
private final it.unimi.dsi.fastutil.longs.LongSet
k
columnsToRetainQueuedDataFor
field_19342
f_nuubbbls
columnsToRetain
columnsToRetain
f_75741_
private final it.unimi.dsi.fastutil.longs.LongSet
l
toRemove
field_15798
f_trtxwtss
sectionsToRemove
sectionsToRemove
f_75742_
protected volatile boolean
h
hasInconsistencies
field_44717
f_scqciszr
hasLightUpdates
hasLightUpdates
f_283847_

Constructor summary

ModifierConstructor
protected (LightLayer lightType, LightChunkGetter chunkProvider, M lightData)

Method summary

Modifier and TypeMethod
protected boolean
b(long arg0)
storingLightForSection(long arg0)
method_15524(long arg0)
m_eiakvigx(long arg0)
hasSection(long sectionPos)
hasSection(long sectionPos)
m_75791_(long arg0)
protected DataLayer
a(long arg0, boolean arg1)
getDataLayer(long arg0, boolean arg1)
method_15522(long arg0, boolean arg1)
m_vhvnvicu(long arg0, boolean arg1)
getLightSection(long sectionPos, boolean cached)
getLightSection(long sectionPos, boolean cached)
m_75758_(long p_75760_, boolean arg1)
protected DataLayer
a(M arg0, long arg1)
getDataLayer(M arg0, long arg1)
method_15533(M arg0, long arg1)
m_pvecduvn(M arg0, long arg1)
getLightSection(M storage, long sectionPos)
getLightSection(M storage, long sectionPos)
m_75761_(M p_75763_, long arg1)
protected DataLayer
c(long arg0)
getDataLayerToWrite(long arg0)
method_51547(long arg0)
m_nsozzdfz(long arg0)
method_51547(long sectionPos)
getLightSectionToWrite(long sectionPos)
m_284157_(long arg0)
public DataLayer
d(long arg0)
getDataLayerData(long arg0)
method_20533(long arg0)
m_xfsbvnmn(long arg0)
getLightSection(long sectionPos)
getLightSection(long sectionPos)
m_75793_(long arg0)
protected abstract int
a(long arg0)
getLightValue(long arg0)
method_15538(long arg0)
m_rxafiwiu(long arg0)
getLight(long blockPos)
getLight(long blockPos)
m_6181_(long arg0)
protected int
e(long arg0)
getStoredLevel(long arg0)
method_15537(long arg0)
m_mhvcjheb(long arg0)
get(long blockPos)
get(long blockPos)
m_75795_(long arg0)
protected void
a(long arg0, int arg1)
setStoredLevel(long arg0, int arg1)
method_15525(long arg0, int arg1)
m_hqhiqhhi(long arg0, int arg1)
set(long blockPos, int value)
set(long blockPos, int value)
m_75772_(long p_75774_, int arg1)
protected void
f(long arg0)
markSectionAndNeighborsAsAffected(long arg0)
method_51415(long arg0)
m_npchrzjp(long arg0)
addNotifySections(long id)
addNotifySections(long sectionPos)
m_280483_(long arg0)
protected DataLayer
g(long arg0)
createDataLayer(long arg0)
method_15529(long arg0)
m_xjzllulu(long arg0)
createSection(long sectionPos)
createSection(long sectionPos)
m_7667_(long arg0)
protected boolean
a()
hasInconsistencies()
method_15528()
m_zxaouzke()
hasLightUpdates()
hasLightUpdates()
m_6808_()
protected void
a(dwv<M, ?> arg0)
markNewInconsistencies(LightEngine<M, ?> arg0)
method_15527(class_3558<M, ?> arg0)
m_fqmrtdms(C_upkweuif<M, ?> arg0)
updateLight(ChunkLightProvider<M, ?> lightProvider)
updateLight(ChunkLightProvider<M, ?> lightProvider)
m_284283_(C_283721_<M, ?> arg0)
protected void
h(long arg0)
onNodeAdded(long arg0)
method_15523(long arg0)
m_hjzphppe(long arg0)
onLoadSection(long sectionPos)
onLoadSection(long sectionPos)
m_6177_(long arg0)
protected void
i(long arg0)
onNodeRemoved(long arg0)
method_15534(long arg0)
m_yxjtjbvt(long arg0)
onUnloadSection(long sectionPos)
onUnloadSection(long sectionPos)
m_6187_(long arg0)
protected void
b(long arg0, boolean arg1)
setLightEnabled(long arg0, boolean arg1)
method_15535(long arg0, boolean arg1)
m_hwfejwis(long arg0, boolean arg1)
setColumnEnabled(long columnPos, boolean enabled)
setColumEnabled(long columnPos, boolean enabled)
m_284259_(long p_284938_, boolean arg1)
protected boolean
j(long arg0)
lightOnInSection(long arg0)
method_51548(long arg0)
m_pxhvbkpf(long arg0)
isSectionInEnabledColumn(long sectionPos)
isSectionColumnEnabled(long sectionPos)
m_284382_(long arg0)
public void
c(long arg0, boolean arg1)
retainData(long arg0, boolean arg1)
method_20600(long arg0, boolean arg1)
m_dqsmfxmr(long arg0, boolean arg1)
setRetainColumn(long sectionPos, boolean retain)
setRetainColumn(long sectionPos, boolean retain)
m_75782_(long p_75784_, boolean arg1)
protected void
a(long arg0, ded arg1)
queueSectionData(long arg0, DataLayer arg1)
method_15532(long arg0, class_2804 arg1)
m_kddiegam(long arg0, C_cneaxdxg arg1)
enqueueSectionData(long sectionPos, ChunkNibbleArray array)
enqueueSectionData(long sectionPos, ChunkNibbleArray array)
m_284542_(long p_285498_, C_2131_ arg1)
protected void
d(long arg0, boolean arg1)
updateSectionStatus(long arg0, boolean arg1)
method_15526(long arg0, boolean arg1)
m_zbcehnxw(long arg0, boolean arg1)
setSectionStatus(long sectionPos, boolean notReady)
setSectionStatus(long sectionPos, boolean notReady)
m_75787_(long p_75789_, boolean arg1)
protected void
a(long arg0, byte arg1)
putSectionState(long arg0, byte arg1)
method_51546(long arg0, byte arg1)
m_briaekcb(long arg0, byte arg1)
setSectionPropagation(long sectionPos, byte flags)
putSectionState(long sectionPos, byte state)
m_284336_(long p_285078_, byte arg1)
private void
l(long arg0)
initializeSection(long arg0)
method_51550(long arg0)
m_tyyxpbbk(long arg0)
queueForUpdate(long sectionPos)
queueForUpdate(long sectionPos)
m_284497_(long arg0)
private void
m(long arg0)
removeSection(long arg0)
method_51551(long arg0)
m_wzssrukw(long arg0)
queueForRemoval(long sectionPos)
queueSectionRemoval(long sectionPos)
m_284475_(long arg0)
protected void
b()
swapSectionMap()
method_15530()
m_ofuazfca()
notifyChanges()
notifyChanges()
m_75790_()
public LayerLightSectionStorage$SectionType
k(long arg0)
getDebugSectionType(long arg0)
method_51549(long arg0)
m_egnbnfxl(long arg0)
getStatus(long sectionPos)
getType(long sectionPos)
m_284291_(long arg0)