net.minecraft.world.level.lighting

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

extends SectionTracker

cnw
net.minecraft.world.level.lighting.LayerLightSectionStorage
net.minecraft.class_3560
net.minecraft.unmapped.C_jbeocnxo
net.minecraft.world.chunk.light.LightStorage
net.minecraft.world.lighting.SectionLightStorage
net.minecraft.server.v1_15_R1.LightEngineStorage

Field summary

Modifier and TypeField
protected static final DataLayer
a
EMPTY_DATA
field_15801
f_qeqamiep
EMPTY
field_215534_a
private static final Direction[]
k
DIRECTIONS
field_15799
f_uovcabcn
DIRECTIONS
field_215544_k
private final LightLayer
l
layer
field_15805
f_mesdifhs
lightType
field_215545_l
private final LightChunkGetter
m
chunkSource
field_15803
f_zrurunvu
chunkProvider
field_215546_m
protected final it.unimi.dsi.fastutil.longs.LongSet
b
dataSectionSet
field_15808
f_negllpge
nonEmptySections
field_215535_b
protected final it.unimi.dsi.fastutil.longs.LongSet
c
toMarkNoData
field_15797
f_ibixvwyn
field_215536_c
protected final it.unimi.dsi.fastutil.longs.LongSet
d
toMarkData
field_15804
f_lfjhnyxk
field_215537_d
protected volatile M
e
visibleSectionData
field_15806
f_sklbmqyv
uncachedLightArrays
field_215538_e
protected final M
f
updatingSectionData
field_15796
f_lbfvidey
lightArrays
field_215539_f
protected final it.unimi.dsi.fastutil.longs.LongSet
g
changedSections
field_15802
f_msjxleyd
field_215540_g
protected final it.unimi.dsi.fastutil.longs.LongSet
h
sectionsAffectedByLightUpdates
field_16448
f_pvwqdcuu
dirtySections
field_215541_h
protected final it.unimi.dsi.fastutil.longs.Long2ObjectMap<DataLayer>
i
queuedSections
field_15807
f_qwkkrrne
lightArraysToAdd
field_215542_i
private final it.unimi.dsi.fastutil.longs.LongSet
n
columnsToRetainQueuedDataFor
field_19342
f_nuubbbls
field_223114_n
private final it.unimi.dsi.fastutil.longs.LongSet
o
toRemove
field_15798
f_trtxwtss
lightArraysToRemove
field_215547_n
protected volatile boolean
j
hasToRemove
field_15800
f_iufqzusd
hasLightUpdates
field_215543_j

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
g(long arg0)
storingLightForSection(long arg0)
method_15524(long arg0)
m_eiakvigx(long arg0)
hasLight(long sectionPos)
func_215518_g(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)
getLightArray(long sectionPos, boolean cached)
func_215520_a(long arg0, 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)
getLightArray(M storage, long sectionPos)
func_215531_a(M arg0, long arg1)
public DataLayer
h(long arg0)
getDataLayerData(long arg0)
method_20533(long arg0)
m_xfsbvnmn(long arg0)
getLightArray(long sectionPos)
func_222858_h(long arg0)
protected abstract int
d(long arg0)
getLightValue(long arg0)
method_15538(long arg0)
m_rxafiwiu(long arg0)
getLight(long blockPos)
func_215525_d(long arg0)
protected int
i(long arg0)
getStoredLevel(long arg0)
method_15537(long arg0)
m_mhvcjheb(long arg0)
get(long blockPos)
func_215521_h(long arg0)
protected void
b(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)
func_215517_b(long arg0, int arg1)
protected int
c(long arg0)
getLevel(long arg0)
method_15480(long arg0)
m_wtixtcsc(long arg0)
getLevel(long arg0)
func_215471_c(long arg0)
protected int
b(long arg0)
getLevelFromSource(long arg0)
method_18749(long arg0)
m_hqzmlhhv(long arg0)
getInitialLevel(long arg0)
func_215516_b(long arg0)
protected void
a(long arg0, int arg1)
setLevel(long arg0, int arg1)
method_15485(long arg0, int arg1)
m_cmnzdzjd(long arg0, int arg1)
setLevel(long arg0, int arg1)
func_215476_a(long arg0, int arg1)
protected DataLayer
j(long arg0)
createDataLayer(long arg0)
method_15529(long arg0)
m_xjzllulu(long arg0)
createLightArray(long pos)
func_215530_i(long arg0)
protected void
a(cnu<?, ?> arg0, long arg1)
clearQueuedSectionBlocks(LayerLightEngine<?, ?> arg0, long arg1)
method_15536(class_3558<?, ?> arg0, long arg1)
m_eqchfhzk(C_jlaszxlb<?, ?> arg0, long arg1)
removeChunkData(ChunkLightProvider<?, ?> storage, long blockChunkPos)
func_215528_a(LightEngine<?, ?> arg0, long arg1)
protected boolean
a()
hasInconsistencies()
method_15528()
m_zxaouzke()
hasLightUpdates()
func_215527_a()
protected void
a(cnu<M, ?> arg0, boolean arg1, boolean arg2)
markNewInconsistencies(LayerLightEngine<M, ?> arg0, boolean arg1, boolean arg2)
method_15527(class_3558<M, ?> arg0, boolean arg1, boolean arg2)
m_fqmrtdms(C_jlaszxlb<M, ?> arg0, boolean arg1, boolean arg2)
updateLightArrays(ChunkLightProvider<M, ?> lightProvider, boolean doSkylight, boolean skipEdgeLightPropagation)
func_215522_a(LightEngine<M, ?> arg0, boolean arg1, boolean arg2)
protected void
k(long arg0)
onNodeAdded(long arg0)
method_15523(long arg0)
m_hjzphppe(long arg0)
onLightArrayCreated(long blockPos)
func_215524_j(long arg0)
protected void
l(long arg0)
onNodeRemoved(long arg0)
method_15534(long arg0)
m_yxjtjbvt(long arg0)
onChunkRemoved(long arg0)
func_215523_k(long arg0)
protected void
b(long arg0, boolean arg1)
enableLightSources(long arg0, boolean arg1)
method_15535(long arg0, boolean arg1)
m_fruwkmyc(long arg0, boolean arg1)
setLightEnabled(long arg0, boolean arg1)
func_215526_b(long arg0, boolean arg1)
public void
c(long arg0, boolean arg1)
retainData(long arg0, boolean arg1)
method_20600(long arg0, boolean arg1)
m_dqsmfxmr(long arg0, boolean arg1)
setRetainData(long arg0, boolean arg1)
func_223113_c(long arg0, boolean arg1)
protected void
a(long arg0, cac arg1)
queueSectionData(long arg0, DataLayer arg1)
method_15532(long arg0, class_2804 arg1)
m_kddiegam(long arg0, C_cneaxdxg arg1)
setLightArray(long pos, ChunkNibbleArray array)
func_215529_a(long arg0, NibbleArray 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)
updateSectionStatus(long pos, boolean empty)
func_215519_c(long arg0, boolean arg1)
protected void
d()
runAllUpdates()
method_15539()
m_fqilqeqj()
updateAll()
func_215532_c()
protected void
e()
swapSectionMap()
method_15530()
m_ofuazfca()
notifyChunkProvider()
func_215533_d()