net.minecraft.world.chunk.light

public abstract class LightStorage<M extends ChunkToNibbleArrayMap<M>>

extends SectionDistanceLevelPropagator

cla
net.minecraft.world.level.lighting.LayerLightSectionStorage
net.minecraft.class_3560
net.minecraft.world.chunk.light.LightStorage
net.minecraft.unmapped.C_jbeocnxo
net.minecraft.unmapped.C_60041178
net.minecraft.world.lighting.SectionLightStorage
net.minecraft.world.lighting.SectionLightStorage

Field summary

Modifier and TypeField
protected static final ChunkNibbleArray
a
EMPTY_DATA
field_15801
EMPTY
f_qeqamiep
f_42314034
field_215534_a
EMPTY_ARRAY
private static final Direction[]
k
DIRECTIONS
field_15799
DIRECTIONS
f_uovcabcn
f_71471792
field_215544_k
DIRECTIONS
private final LightType
l
layer
field_15805
lightType
f_mesdifhs
f_20142994
field_215545_l
type
private final ChunkProvider
m
chunkSource
field_15803
chunkProvider
f_zrurunvu
f_79884423
field_215546_m
chunkProvider
protected final it.unimi.dsi.fastutil.longs.LongSet
b
dataSectionSet
field_15808
f_negllpge
f_89740145
field_215535_b
activeLightSections
protected final it.unimi.dsi.fastutil.longs.LongSet
c
toMarkNoData
field_15797
f_ibixvwyn
f_61347802
field_215536_c
addedEmptySections
protected final it.unimi.dsi.fastutil.longs.LongSet
d
toMarkData
field_15804
f_lfjhnyxk
f_83883966
field_215537_d
addedActiveLightSections
protected volatile M
e
visibleSectionData
field_15806
uncachedLightArrays
f_sklbmqyv
f_52368892
field_215538_e
uncachedLightData
protected final M
f
updatingSectionData
field_15796
lightArrays
f_lbfvidey
f_28246201
field_215539_f
cachedLightData
protected final it.unimi.dsi.fastutil.longs.LongSet
g
changedSections
field_15802
f_msjxleyd
f_29105889
field_215540_g
dirtyCachedSections
protected final it.unimi.dsi.fastutil.longs.LongSet
h
sectionsAffectedByLightUpdates
field_16448
dirtySections
f_pvwqdcuu
f_48905370
field_215541_h
changedLightPositions
protected final it.unimi.dsi.fastutil.longs.Long2ObjectMap<ChunkNibbleArray>
i
queuedSections
field_15807
lightArraysToAdd
f_qwkkrrne
f_69358116
field_215542_i
newArrays
private final it.unimi.dsi.fastutil.longs.LongSet
n
columnsToRetainQueuedDataFor
field_19342
f_nuubbbls
f_56020651
field_223114_n
chunksToRetain
private final it.unimi.dsi.fastutil.longs.LongSet
o
toRemove
field_15798
lightArraysToRemove
f_trtxwtss
f_66525857
field_215547_n
noLightSections
protected volatile boolean
j
hasToRemove
field_15800
hasLightUpdates
f_iufqzusd
f_97194195
field_215543_j
hasSectionsToUpdate

Constructor summary

ModifierConstructor
protected (LightType lightType, ChunkProvider chunkProvider, M lightData)

Method summary

Modifier and TypeMethod
protected boolean
g(long arg0)
storingLightForSection(long arg0)
method_15524(long arg0)
hasLight(long sectionPos)
m_eiakvigx(long arg0)
m_01360377(long arg0)
func_215518_g(long arg0)
hasSection(long sectionPosIn)
protected ChunkNibbleArray
a(long arg0, boolean arg1)
getDataLayer(long arg0, boolean arg1)
method_15522(long arg0, boolean arg1)
getLightArray(long sectionPos, boolean cached)
m_vhvnvicu(long arg0, boolean arg1)
m_46496608(long arg0, boolean arg1)
func_215520_a(long arg0, boolean arg1)
getArray(long sectionPosIn, boolean cached)
protected ChunkNibbleArray
a(M arg0, long arg1)
getDataLayer(M arg0, long arg1)
method_15533(M arg0, long arg1)
getLightArray(M storage, long sectionPos)
m_pvecduvn(M arg0, long arg1)
m_65011913(M arg0, long arg1)
func_215531_a(M arg0, long arg1)
getArray(M map, long sectionPosIn)
public ChunkNibbleArray
h(long arg0)
getDataLayerData(long arg0)
method_20533(long arg0)
m_xfsbvnmn(long arg0)
m_26342109(long arg0)
func_222858_h(long arg0)
getArray(long sectionPosIn)
protected abstract int
d(long arg0)
getLightValue(long arg0)
method_15538(long arg0)
getLight(long blockPos)
m_rxafiwiu(long arg0)
m_76184289(long arg0)
func_215525_d(long arg0)
getLightOrDefault(long worldPos)
protected int
i(long arg0)
getStoredLevel(long arg0)
method_15537(long arg0)
get(long blockPos)
m_mhvcjheb(long arg0)
m_20335006(long arg0)
func_215521_h(long arg0)
getLight(long worldPos)
protected void
b(long arg0, int arg1)
setStoredLevel(long arg0, int arg1)
method_15525(long arg0, int arg1)
set(long blockPos, int value)
m_hqhiqhhi(long arg0, int arg1)
m_25490378(long arg0, int arg1)
func_215517_b(long arg0, int arg1)
setLight(long worldPos, int lightLevel)
protected int
c(long arg0)
getLevel(long arg0)
method_15480(long arg0)
getLevel(long arg0)
m_wtixtcsc(long arg0)
m_46092813(long arg0)
func_215471_c(long arg0)
getLevel(long arg0)
protected int
b(long arg0)
getLevelFromSource(long arg0)
method_18749(long arg0)
getInitialLevel(long arg0)
m_hqzmlhhv(long arg0)
m_38391197(long arg0)
func_215516_b(long arg0)
getSourceLevel(long arg0)
protected void
a(long arg0, int arg1)
setLevel(long arg0, int arg1)
method_15485(long arg0, int arg1)
setLevel(long arg0, int arg1)
m_cmnzdzjd(long arg0, int arg1)
m_96468888(long arg0, int arg1)
func_215476_a(long arg0, int arg1)
setLevel(long arg0, int arg1)
protected ChunkNibbleArray
j(long arg0)
createDataLayer(long arg0)
method_15529(long arg0)
createLightArray(long pos)
m_xjzllulu(long arg0)
m_14684386(long arg0)
func_215530_i(long arg0)
getOrCreateArray(long sectionPosIn)
protected void
a(cky<?, ?> arg0, long arg1)
clearQueuedSectionBlocks(LayerLightEngine<?, ?> arg0, long arg1)
method_15536(class_3558<?, ?> arg0, long arg1)
removeChunkData(ChunkLightProvider<?, ?> storage, long blockChunkPos)
m_eqchfhzk(C_jlaszxlb<?, ?> arg0, long arg1)
m_35998296(C_71862855<?, ?> arg0, long arg1)
func_215528_a(LightEngine<?, ?> arg0, long arg1)
cancelSectionUpdates(LightEngine<?, ?> engine, long sectionPosIn)
protected boolean
a()
hasInconsistencies()
method_15528()
hasLightUpdates()
m_zxaouzke()
m_21905523()
func_215527_a()
hasSectionsToUpdate()
protected void
a(cky<M, ?> arg0, boolean arg1, boolean arg2)
markNewInconsistencies(LayerLightEngine<M, ?> arg0, boolean arg1, boolean arg2)
method_15527(class_3558<M, ?> arg0, boolean arg1, boolean arg2)
updateLightArrays(ChunkLightProvider<M, ?> lightProvider, boolean doSkylight, boolean skipEdgeLightPropagation)
m_fqmrtdms(C_jlaszxlb<M, ?> arg0, boolean arg1, boolean arg2)
m_73263358(C_71862855<M, ?> arg0, boolean arg1, boolean arg2)
func_215522_a(LightEngine<M, ?> arg0, boolean arg1, boolean arg2)
updateSections(LightEngine<M, ?> engine, boolean updateSkyLight, boolean updateBlockLight)
protected void
k(long arg0)
onNodeAdded(long arg0)
method_15523(long arg0)
onLightArrayCreated(long blockPos)
m_hjzphppe(long arg0)
m_85436281(long arg0)
func_215524_j(long arg0)
func_215524_j(long arg0)
protected void
l(long arg0)
onNodeRemoved(long arg0)
method_15534(long arg0)
onChunkRemoved(long arg0)
m_yxjtjbvt(long arg0)
m_59011546(long arg0)
func_215523_k(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)
m_11807919(long arg0, boolean arg1)
func_215526_b(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)
m_58370766(long arg0, boolean arg1)
func_223113_c(long arg0, boolean arg1)
retainChunkData(long sectionColumnPos, boolean retain)
protected void
a(long arg0, bxn arg1)
queueSectionData(long arg0, DataLayer arg1)
method_15532(long arg0, class_2804 arg1)
setLightArray(long pos, ChunkNibbleArray array)
m_kddiegam(long arg0, C_cneaxdxg arg1)
m_71452856(long arg0, ChunkNibbleStorage arg1)
func_215529_a(long arg0, NibbleArray arg1)
setData(long sectionPosIn, NibbleArray array)
protected void
d(long arg0, boolean arg1)
updateSectionStatus(long arg0, boolean arg1)
method_15526(long arg0, boolean arg1)
updateSectionStatus(long pos, boolean empty)
m_zbcehnxw(long arg0, boolean arg1)
m_95147927(long arg0, boolean arg1)
func_215519_c(long arg0, boolean arg1)
updateSectionStatus(long sectionPosIn, boolean isEmpty)
protected void
c()
runAllUpdates()
method_15539()
updateAll()
m_fqilqeqj()
m_12183393()
func_215532_c()
processAllLevelUpdates()
protected void
d()
swapSectionMap()
method_15530()
notifyChunkProvider()
m_ofuazfca()
m_77810308()
func_215533_d()
updateAndNotify()