net.minecraft.world.level.lighting

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

eef
net.minecraft.world.level.lighting.LayerLightSectionStorage
net.minecraft.class_3560
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
lightType
f_75738_
protected final LightChunkGetter
a
chunkSource
field_15803
chunkProvider
f_75739_
protected final it.unimi.dsi.fastutil.longs.Long2ByteMap
b
sectionStates
field_44716
sectionPropagations
f_283872_
private final it.unimi.dsi.fastutil.longs.LongSet
j
columnsWithSources
field_44718
enabledColumns
f_283775_
protected volatile M
c
visibleSectionData
field_15806
uncachedStorage
f_75731_
protected final M
d
updatingSectionData
field_15796
storage
f_75732_
protected final it.unimi.dsi.fastutil.longs.LongSet
e
changedSections
field_15802
dirtySections
f_75733_
protected final it.unimi.dsi.fastutil.longs.LongSet
f
sectionsAffectedByLightUpdates
field_16448
notifySections
f_75734_
protected final it.unimi.dsi.fastutil.longs.Long2ObjectMap<DataLayer>
g
queuedSections
field_15807
queuedSections
f_75735_
private final it.unimi.dsi.fastutil.longs.LongSet
k
columnsToRetainQueuedDataFor
field_19342
columnsToRetain
f_75741_
private final it.unimi.dsi.fastutil.longs.LongSet
l
toRemove
field_15798
sectionsToRemove
f_75742_
protected volatile boolean
h
hasInconsistencies
field_44717
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)
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)
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)
getLightSection(M storage, long sectionPos)
m_75761_(M p_75763_, long arg1)
protected DataLayer
c(long arg0)
getDataLayerToWrite(long arg0)
method_51547(long arg0)
method_51547(long sectionPos)
m_284157_(long arg0)
public DataLayer
d(long arg0)
getDataLayerData(long arg0)
method_20533(long arg0)
getLightSection(long sectionPos)
m_75793_(long arg0)
protected abstract int
a(long arg0)
getLightValue(long arg0)
method_15538(long arg0)
getLight(long blockPos)
m_6181_(long arg0)
protected int
e(long arg0)
getStoredLevel(long arg0)
method_15537(long arg0)
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)
set(long blockPos, int value)
m_75772_(long p_75774_, int arg1)
protected void
f(long arg0)
markSectionAndNeighborsAsAffected(long arg0)
method_51415(long arg0)
addNotifySections(long id)
m_280483_(long arg0)
protected DataLayer
g(long arg0)
createDataLayer(long arg0)
method_15529(long arg0)
createSection(long sectionPos)
m_7667_(long arg0)
protected boolean
a()
hasInconsistencies()
method_15528()
hasLightUpdates()
m_6808_()
protected void
a(eei<M, ?> arg0)
markNewInconsistencies(LightEngine<M, ?> arg0)
method_15527(class_3558<M, ?> arg0)
updateLight(ChunkLightProvider<M, ?> lightProvider)
m_284283_(C_283721_<M, ?> arg0)
protected void
h(long arg0)
onNodeAdded(long arg0)
method_15523(long arg0)
onLoadSection(long sectionPos)
m_6177_(long arg0)
protected void
i(long arg0)
onNodeRemoved(long arg0)
method_15534(long arg0)
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)
setColumnEnabled(long columnPos, boolean enabled)
m_284259_(long p_284938_, boolean arg1)
protected boolean
j(long arg0)
lightOnInSection(long arg0)
method_51548(long arg0)
isSectionInEnabledColumn(long sectionPos)
m_284382_(long arg0)
public void
c(long arg0, boolean arg1)
retainData(long arg0, boolean arg1)
method_20600(long arg0, boolean arg1)
setRetainColumn(long sectionPos, boolean retain)
m_75782_(long p_75784_, boolean arg1)
protected void
a(long arg0, dlj arg1)
queueSectionData(long arg0, DataLayer arg1)
method_15532(long arg0, class_2804 arg1)
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)
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)
setSectionPropagation(long sectionPos, byte flags)
m_284336_(long p_285078_, byte arg1)
private void
l(long arg0)
initializeSection(long arg0)
method_51550(long arg0)
queueForUpdate(long sectionPos)
m_284497_(long arg0)
private void
m(long arg0)
removeSection(long arg0)
method_51551(long arg0)
queueForRemoval(long sectionPos)
m_284475_(long arg0)
protected void
b()
swapSectionMap()
method_15530()
notifyChanges()
m_75790_()
public LayerLightSectionStorage$SectionType
k(long arg0)
getDebugSectionType(long arg0)
method_51549(long arg0)
getStatus(long sectionPos)
m_284291_(long arg0)