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

cui
net.minecraft.world.level.lighting.LayerLightEngine
net.minecraft.class_3558
net.minecraft.unmapped.C_jlaszxlb
net.minecraft.world.chunk.light.ChunkLightProvider
net.minecraft.world.lighting.LightEngine
net.minecraft.server.v1_16_R2.LightEngineLayer

Field summary

Modifier and TypeField
private static final Direction[]
e
DIRECTIONS
field_16513
f_eqqjwwmz
DIRECTIONS
field_215628_d
protected final LightChunkGetter
a
chunkSource
field_15795
f_ukpeweyf
chunkProvider
field_215625_a
protected final LightLayer
b
layer
field_15792
f_ffgimzeb
type
field_215626_b
protected final S
c
storage
field_15793
f_ilhttgis
lightStorage
field_215627_c
private boolean
f
runningLightUpdates
field_15794
f_pkicpdky
field_15794
field_215629_e
protected final BlockPos$MutableBlockPos
d
pos
field_19284
f_qfhizlme
reusableBlockPos
field_215630_f
private final long[]
g
lastChunkPos
field_17397
f_uopnipgu
cachedChunkPositions
field_215631_g
private final BlockGetter[]
h
lastChunk
field_17398
f_aifhymnr
cachedChunks
field_215632_h

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)
func_215473_f(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)
func_215615_a(int arg0, int arg1)
private void
d()
clearCache()
method_17530()
m_zcwinlcu()
clearChunkCache()
func_215624_c()
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)
func_227468_a_(long arg0, org.apache.commons.lang3.mutable.MutableInt arg1)
protected VoxelShape
a(cee arg0, long arg1, gc 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)
func_223405_a(BlockState arg0, long arg1, Direction arg2)
public static int
a(bqz arg0, cee arg1, fx arg2, cee arg3, fx arg4, gc 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)
func_215613_a(IBlockReader arg0, BlockState arg1, BlockPos arg2, BlockState arg3, BlockPos arg4, Direction arg5, int arg6)
protected boolean
a(long arg0)
isSource(long arg0)
method_15494(long arg0)
m_rcktpimf(long arg0)
isMarker(long arg0)
func_215485_a(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)
func_215477_a(long arg0, long arg1, int arg2)
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
a(cfy 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)
func_215622_a(NibbleArray arg0, 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)
func_215476_a(long arg0, 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)
func_215480_b(long arg0, long arg1, int arg2)
public boolean
a()
hasLightWork()
method_15518()
m_woirlhhd()
hasUpdates()
func_215619_a()
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_ckzybvtb(int arg0, boolean arg1, boolean arg2)
doLightUpdates(int maxSteps, boolean doSkylight, boolean skipEdgeLightPropagation)
func_215616_a(int arg0, boolean arg1, boolean arg2)
protected void
a(long arg0, cfy 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 arg2)
func_215621_a(long arg0, NibbleArray arg1, boolean arg2)
public DataLayer
a(gp arg0)
getDataLayerData(SectionPos arg0)
method_15544(class_4076 arg0)
m_xfgdaccr(C_zubvmeye arg0)
getLightSection(ChunkSectionPos arg0)
func_215612_a(SectionPos arg0)
public int
b(fx arg0)
getLightValue(BlockPos arg0)
method_15543(class_2338 arg0)
m_kzkaudjr(C_hynzadkk arg0)
getLightLevel(BlockPos arg0)
func_215611_b(BlockPos arg0)
public void
a(fx arg0)
checkBlock(BlockPos arg0)
method_15513(class_2338 arg0)
m_dzdzmikm(C_hynzadkk arg0)
checkBlock(BlockPos pos)
func_215617_a(BlockPos arg0)
public void
a(fx arg0, int arg1)
onBlockEmissionIncrease(BlockPos arg0, int arg1)
method_15514(class_2338 arg0, int arg1)
m_ortfsaxz(C_hynzadkk arg0, int arg1)
addLightSource(BlockPos pos, int level)
func_215623_a(BlockPos arg0, int arg1)
public void
a(gp 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)
func_215566_a(SectionPos arg0, boolean arg1)
public void
a(bra arg0, boolean arg1)
enableLightSources(ChunkPos arg0, boolean arg1)
method_15512(class_1923 arg0, boolean arg1)
m_pccgsxkb(C_ynrszrtu arg0, boolean arg1)
setColumnEnabled(ChunkPos pos, boolean enabled)
func_215620_a(ChunkPos arg0, boolean arg1)
public void
b(bra 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)
func_223129_b(ChunkPos arg0, boolean arg1)
public String
b(long arg0)
getDebugData(long arg0)
method_22875(long arg0)
m_lkchahgz(long arg0)
displaySectionLevel(long sectionPos)
func_215614_b(long arg0)