net.minecraft.world.level.lighting

public abstract class LayerLightEngine<M extends DataLayerStorageMap<M>, S extends LayerLightSectionStorage<M>>

extends DynamicGraphMinFixedPoint implements LayerLightEventListener

All mapped superinterfaces:

LayerLightEventListener, LightEventListener

dom
net.minecraft.world.level.lighting.LayerLightEngine
net.minecraft.class_3558
net.minecraft.unmapped.C_jlaszxlb
net.minecraft.world.chunk.light.ChunkLightProvider
net.minecraft.world.chunk.light.ChunkLightProvider
net.minecraft.src.C_2676_
net.minecraft.world.level.lighting.LightEngineLayer

Field summary

Modifier and TypeField
public static final long
a
SELF_SOURCE
field_31708
f_zmtdqqfh
field_31708
SELF_PROVIDER
f_164424_
private static final Direction[]
f
DIRECTIONS
field_16513
f_eqqjwwmz
DIRECTIONS
DIRECTIONS
f_75634_
protected final LightChunkGetter
b
chunkSource
field_15795
f_ukpeweyf
chunkProvider
chunkProvider
f_75630_
protected final LightLayer
c
layer
field_15792
f_ffgimzeb
type
type
f_75631_
protected final S
d
storage
field_15793
f_ilhttgis
lightStorage
lightStorage
f_75632_
private boolean
g
runningLightUpdates
field_15794
f_pkicpdky
field_15794
runningLightUpdates
f_75635_
protected final BlockPos$MutableBlockPos
e
pos
field_19284
f_qfhizlme
reusableBlockPos
reusableBlockPos
f_75633_
private static final int
h
CACHE_SIZE
field_31709
f_hliwgfpw
field_31709
CACHE_SIZE
f_164425_
private final long[]
i
lastChunkPos
field_17397
f_uopnipgu
cachedChunkPositions
cachedChunkPositions
f_75636_
private final BlockGetter[]
j
lastChunk
field_17398
f_aifhymnr
cachedChunks
cachedChunks
f_75637_

Constructor summary

ModifierConstructor
public (LightChunkGetter chunkProvider, LightLayer type, S lightStorage)

Method summary

Modifier and TypeMethod
protected void
f(long arg0)
checkNode(long arg0)
method_15491(long arg0)
m_utqfwxjn(long arg0)
resetLevel(long arg0)
resetLevel(long arg0)
m_6185_(long arg0)
private BlockGetter
a(int arg0, int arg1)
getChunk(int arg0, int arg1)
method_17529(int arg0, int arg1)
m_bbpckeea(int arg0, int arg1)
getChunk(int chunkX, int chunkZ)
getChunk(int chunkX, int chunkZ)
m_75644_(int p_75646_, int arg1)
private void
d()
clearCache()
method_17530()
m_zcwinlcu()
clearChunkCache()
clearChunkCache()
m_75706_()
protected BlockState
a(long arg0, org.apache.commons.lang3.mutable.MutableInt arg1)
getStateAndOpacity(long arg0, org.apache.commons.lang3.mutable.MutableInt arg1)
method_20479(long arg0, org.apache.commons.lang3.mutable.MutableInt arg1)
m_ancitzzf(long arg0, org.apache.commons.lang3.mutable.MutableInt arg1)
getStateForLighting(long pos, org.apache.commons.lang3.mutable.MutableInt arg1)
getStateForLighting(long pos, org.apache.commons.lang3.mutable.MutableInt arg1)
m_75664_(long p_75666_, org.apache.commons.lang3.mutable.MutableInt arg1)
protected VoxelShape
a(cur arg0, long arg1, gy arg2)
getShape(BlockState arg0, long arg1, Direction arg2)
method_20710(class_2680 arg0, long arg1, class_2350 arg2)
m_ypvqetlb(C_txtbiemp arg0, long arg1, C_xpuuihxf arg2)
getOpaqueShape(BlockState world, long pos, Direction facing)
getOpaqueShape(BlockState world, long pos, Direction facing)
m_75678_(C_2064_ p_75680_, long p_75681_, C_4687_ arg2)
public static int
a(cfg arg0, cur arg1, gt arg2, cur arg3, gt arg4, gy arg5, int arg6)
getLightBlockInto(BlockGetter arg0, BlockState arg1, BlockPos arg2, BlockState arg3, BlockPos arg4, Direction arg5, int arg6)
method_20049(class_1922 arg0, class_2680 arg1, class_2338 arg2, class_2680 arg3, class_2338 arg4, class_2350 arg5, int arg6)
m_otxjaprp(C_peaveboq arg0, C_txtbiemp arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_hynzadkk arg4, C_xpuuihxf arg5, int arg6)
getRealisticOpacity(BlockView world, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int opacity2)
getRealisticOpacity(BlockView world, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int opacity2)
m_75667_(C_1559_ p_75668_, C_2064_ p_75669_, C_4675_ p_75670_, C_2064_ p_75671_, C_4675_ p_75672_, C_4687_ p_75673_, int p_75674_)
protected boolean
a(long arg0)
isSource(long arg0)
method_15494(long arg0)
m_rcktpimf(long arg0)
isMarker(long arg0)
isMarker(long arg0)
m_6163_(long arg0)
protected int
a(long arg0, long arg1, int arg2)
getComputedLevel(long arg0, long arg1, int arg2)
method_15486(long arg0, long arg1, int arg2)
m_pmpdpqbx(long arg0, long arg1, int arg2)
recalculateLevel(long arg0, long arg1, int arg2)
recalculateLevel(long arg0, long arg1, int arg2)
m_6357_(long p_75658_, long arg1, int arg2)
protected int
c(long arg0)
getLevel(long arg0)
method_15480(long arg0)
m_wtixtcsc(long arg0)
getLevel(long arg0)
getLevel(long arg0)
m_6172_(long arg0)
protected int
a(cwr arg0, long arg1)
getLevel(DataLayer arg0, long arg1)
method_15517(class_2804 arg0, long arg1)
m_kjhvcjsp(C_cneaxdxg arg0, long arg1)
getCurrentLevelFromSection(ChunkNibbleArray section, long blockPos)
getCurrentLevelFromSection(ChunkNibbleArray section, long blockPos)
m_75682_(C_2131_ p_75684_, long arg1)
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)
setLevel(long arg0, int arg1)
m_7351_(long p_75655_, int arg1)
protected int
b(long arg0, long arg1, int arg2)
computeLevelFromNeighbor(long arg0, long arg1, int arg2)
method_15488(long arg0, long arg1, int arg2)
m_lpjrhbxi(long arg0, long arg1, int arg2)
getPropagatedLevel(long arg0, long arg1, int arg2)
getPropagatedLevel(long arg0, long arg1, int arg2)
m_6359_(long p_75697_, long arg1, int arg2)
public boolean
A_()
hasLightWork()
method_15518()
m_mlkcmlsw()
hasUpdates()
hasUpdates()
m_75643_()
public int
a(int arg0, boolean arg1, boolean arg2)
runUpdates(int arg0, boolean arg1, boolean arg2)
method_15516(int arg0, boolean arg1, boolean arg2)
m_hkcouwha(int arg0, boolean arg1, boolean arg2)
doLightUpdates(int arg0, boolean arg1, boolean arg2)
doLightUpdates(int arg0, boolean arg1, boolean arg2)
m_5738_(int p_75649_, boolean p_75650_, boolean arg2)
protected void
a(long arg0, cwr arg1, boolean arg2)
queueSectionData(long arg0, DataLayer arg1, boolean arg2)
method_15515(long arg0, class_2804 arg1, boolean arg2)
m_oublpzpp(long arg0, C_cneaxdxg arg1, boolean arg2)
enqueueSectionData(long sectionPos, ChunkNibbleArray lightArray, boolean nonEdge)
enqueueSectionData(long sectionPos, ChunkNibbleArray lightArray, boolean enqueueEdgeSections)
m_75660_(long p_75662_, C_2131_ arg1, boolean arg2)
public DataLayer
a(hq arg0)
getDataLayerData(SectionPos arg0)
method_15544(class_4076 arg0)
m_xfgdaccr(C_zubvmeye arg0)
getLightSection(ChunkSectionPos arg0)
getLightSection(ChunkSectionPos arg0)
m_8079_(C_4710_ arg0)
public int
b(gt arg0)
getLightValue(BlockPos arg0)
method_15543(class_2338 arg0)
m_kzkaudjr(C_hynzadkk arg0)
getLightLevel(BlockPos arg0)
getLightLevel(BlockPos arg0)
m_7768_(C_4675_ arg0)
public String
b(long arg0)
getDebugData(long arg0)
method_22875(long arg0)
m_lkchahgz(long arg0)
displaySectionLevel(long sectionPos)
displaySectionLevel(long sectionPos)
m_6647_(long arg0)
public void
a(gt arg0)
checkBlock(BlockPos arg0)
method_15513(class_2338 arg0)
m_idxlrtdh(C_hynzadkk arg0)
checkBlock(BlockPos arg0)
checkBlock(BlockPos arg0)
m_7174_(C_4675_ arg0)
public void
a(gt arg0, int arg1)
onBlockEmissionIncrease(BlockPos arg0, int arg1)
method_15514(class_2338 arg0, int arg1)
m_okeagzpa(C_hynzadkk arg0, int arg1)
addLightSource(BlockPos arg0, int arg1)
addLightSource(BlockPos arg0, int arg1)
m_8116_(C_4675_ p_75688_, int arg1)
public void
a(hq arg0, boolean arg1)
updateSectionStatus(SectionPos arg0, boolean arg1)
method_15551(class_4076 arg0, boolean arg1)
m_myforzem(C_zubvmeye arg0, boolean arg1)
setSectionStatus(ChunkSectionPos arg0, boolean arg1)
setSectionStatus(ChunkSectionPos arg0, boolean arg1)
m_6191_(C_4710_ p_75693_, boolean arg1)
public void
a(cfh arg0, boolean arg1)
enableLightSources(ChunkPos arg0, boolean arg1)
method_15512(class_1923 arg0, boolean arg1)
m_ajkuniqr(C_ynrszrtu arg0, boolean arg1)
setColumnEnabled(ChunkPos arg0, boolean arg1)
setColumnEnabled(ChunkPos arg0, boolean arg1)
m_6460_(C_1560_ p_75677_, boolean arg1)
public void
b(cfh arg0, boolean arg1)
retainData(ChunkPos arg0, boolean arg1)
method_20599(class_1923 arg0, boolean arg1)
m_bbtpqhnn(C_ynrszrtu arg0, boolean arg1)
setRetainColumn(ChunkPos pos, boolean retainData)
setRetainColumn(ChunkPos pos, boolean retainData)
m_75699_(C_1560_ p_75701_, boolean arg1)