net.minecraft.world.level.lighting

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

eso
net.minecraft.world.level.lighting.LayerLightSectionStorage
net.minecraft.class_3560
net.minecraft.world.chunk.light.LightStorage
net.minecraft.world.level.lighting.LightEngineStorage

Field summary

Modifier and TypeField
private final LightLayer
i
layer
field_15805
lightType
protected final LightChunkGetter
a
chunkSource
field_15803
chunkProvider
protected final it.unimi.dsi.fastutil.longs.Long2ByteMap
b
sectionStates
field_44716
sectionPropagations
private final it.unimi.dsi.fastutil.longs.LongSet
j
columnsWithSources
field_44718
enabledColumns
protected volatile M
c
visibleSectionData
field_15806
uncachedStorage
protected final M
d
updatingSectionData
field_15796
storage
protected final it.unimi.dsi.fastutil.longs.LongSet
e
changedSections
field_15802
dirtySections
protected final it.unimi.dsi.fastutil.longs.LongSet
f
sectionsAffectedByLightUpdates
field_16448
notifySections
protected final it.unimi.dsi.fastutil.longs.Long2ObjectMap<DataLayer>
g
queuedSections
field_15807
queuedSections
private final it.unimi.dsi.fastutil.longs.LongSet
k
columnsToRetainQueuedDataFor
field_19342
columnsToRetain
private final it.unimi.dsi.fastutil.longs.LongSet
l
toRemove
field_15798
sectionsToRemove
protected volatile boolean
h
hasInconsistencies
field_44717
hasLightUpdates

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)
protected DataLayer
a(long arg0, boolean arg1)
getDataLayer(long arg0, boolean arg1)
method_15522(long arg0, boolean arg1)
getLightSection(long sectionPos, boolean cached)
protected DataLayer
a(M arg0, long arg1)
getDataLayer(M arg0, long arg1)
method_15533(M arg0, long arg1)
getLightSection(M storage, long sectionPos)
protected DataLayer
c(long arg0)
getDataLayerToWrite(long arg0)
method_51547(long arg0)
method_51547(long sectionPos)
public DataLayer
d(long arg0)
getDataLayerData(long arg0)
method_20533(long arg0)
getLightSection(long sectionPos)
protected abstract int
a(long arg0)
getLightValue(long arg0)
method_15538(long arg0)
getLight(long blockPos)
protected int
e(long arg0)
getStoredLevel(long arg0)
method_15537(long arg0)
get(long blockPos)
protected void
a(long arg0, int arg1)
setStoredLevel(long arg0, int arg1)
method_15525(long arg0, int arg1)
set(long blockPos, int value)
protected void
f(long arg0)
markSectionAndNeighborsAsAffected(long arg0)
method_51415(long arg0)
addNotifySections(long id)
protected DataLayer
g(long arg0)
createDataLayer(long arg0)
method_15529(long arg0)
createSection(long sectionPos)
protected boolean
a()
hasInconsistencies()
method_15528()
hasLightUpdates()
protected void
a(esr<M, ?> arg0)
markNewInconsistencies(LightEngine<M, ?> arg0)
method_15527(class_3558<M, ?> arg0)
updateLight(ChunkLightProvider<M, ?> lightProvider)
protected void
h(long arg0)
onNodeAdded(long arg0)
method_15523(long arg0)
onLoadSection(long sectionPos)
protected void
i(long arg0)
onNodeRemoved(long arg0)
method_15534(long arg0)
onUnloadSection(long sectionPos)
protected void
b(long arg0, boolean arg1)
setLightEnabled(long arg0, boolean arg1)
method_15535(long arg0, boolean arg1)
setColumnEnabled(long columnPos, boolean enabled)
protected boolean
j(long arg0)
lightOnInSection(long arg0)
method_51548(long arg0)
isSectionInEnabledColumn(long sectionPos)
protected boolean
k(long arg0)
lightOnInColumn(long arg0)
method_62873(long arg0)
isColumnEnabled(long columnPos)
public void
c(long arg0, boolean arg1)
retainData(long arg0, boolean arg1)
method_20600(long arg0, boolean arg1)
setRetainColumn(long sectionPos, boolean retain)
protected void
a(long arg0, dyy arg1)
queueSectionData(long arg0, DataLayer arg1)
method_15532(long arg0, class_2804 arg1)
enqueueSectionData(long sectionPos, ChunkNibbleArray array)
protected void
d(long arg0, boolean arg1)
updateSectionStatus(long arg0, boolean arg1)
method_15526(long arg0, boolean arg1)
setSectionStatus(long sectionPos, boolean notReady)
protected void
a(long arg0, byte arg1)
putSectionState(long arg0, byte arg1)
method_51546(long arg0, byte arg1)
setSectionPropagation(long sectionPos, byte flags)
private void
m(long arg0)
initializeSection(long arg0)
method_51550(long arg0)
queueForUpdate(long sectionPos)
private void
n(long arg0)
removeSection(long arg0)
method_51551(long arg0)
queueForRemoval(long sectionPos)
protected void
b()
swapSectionMap()
method_15530()
notifyChanges()
public LayerLightSectionStorage$SectionType
l(long arg0)
getDebugSectionType(long arg0)
method_51549(long arg0)
getStatus(long sectionPos)