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

cky
net.minecraft.world.level.lighting.LayerLightEngine
net.minecraft.class_3558
net.minecraft.world.chunk.light.ChunkLightProvider
net.minecraft.world.lighting.LightEngine
net.minecraft.server.v1_14_R1.LightEngineLayer

Field summary

Modifier and TypeField
private static final Direction[]
e
DIRECTIONS
field_16513
DIRECTIONS
field_215628_d
protected final LightChunkGetter
a
chunkSource
field_15795
chunkProvider
field_215625_a
protected final LightLayer
b
layer
field_15792
type
field_215626_b
protected final S
c
storage
field_15793
lightStorage
field_215627_c
private boolean
f
runningLightUpdates
field_15794
field_215629_e
protected final BlockPos$MutableBlockPos
d
pos
field_19284
field_215630_f
private final long[]
g
lastChunkPos
field_17397
field_215631_g
private final BlockGetter[]
h
lastChunk
field_17398
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)
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)
getChunk(int chunkX, int chunkZ)
func_215615_a(int arg0, int arg1)
private void
c()
clearCache()
method_17530()
func_215624_c()
protected BlockState
a(long arg0, AtomicInteger arg1)
getStateAndOpacity(long arg0, AtomicInteger arg1)
method_20479(long arg0, AtomicInteger arg1)
func_223406_a(long arg0, AtomicInteger arg1)
protected VoxelShape
a(bvt arg0, long arg1, fb arg2)
getShape(BlockState arg0, long arg1, Direction arg2)
method_20710(class_2680 arg0, long arg1, class_2350 arg2)
func_223405_a(BlockState arg0, long arg1, Direction arg2)
public static int
a(bhb arg0, bvt arg1, ew arg2, bvt arg3, ew arg4, fb 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)
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)
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)
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)
getLevel(long arg0)
func_215471_c(long arg0)
protected int
a(bxn arg0, long arg1)
getLevel(DataLayer arg0, long arg1)
method_15517(class_2804 arg0, long arg1)
getCurrentLevelFromArray(ChunkNibbleArray array, 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)
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)
getPropagatedLevel(long arg0, long arg1, int arg2)
func_215480_b(long arg0, long arg1, int arg2)
public boolean
a()
hasLightWork()
method_15518()
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)
doLightUpdates(int maxSteps, boolean doSkylight, boolean skipEdgeLightPropagation)
func_215616_a(int arg0, boolean arg1, boolean arg2)
protected void
a(long arg0, bxn arg1)
queueSectionData(long arg0, DataLayer arg1)
method_15515(long arg0, class_2804 arg1)
setLightArray(long pos, ChunkNibbleArray lightArray)
func_215621_a(long arg0, NibbleArray arg1)
public DataLayer
a(fp arg0)
getDataLayerData(SectionPos arg0)
method_15544(class_4076 arg0)
getLightArray(ChunkSectionPos arg0)
func_215612_a(SectionPos arg0)
public int
b(ew arg0)
getLightValue(BlockPos arg0)
method_15543(class_2338 arg0)
getLightLevel(BlockPos arg0)
func_215611_b(BlockPos arg0)
public void
a(ew arg0)
checkBlock(BlockPos arg0)
method_15513(class_2338 arg0)
checkBlock(BlockPos pos)
func_215617_a(BlockPos arg0)
public void
a(ew arg0, int arg1)
onBlockEmissionIncrease(BlockPos arg0, int arg1)
method_15514(class_2338 arg0, int arg1)
func_215623_a(BlockPos arg0, int arg1)
public void
a(fp arg0, boolean arg1)
updateSectionStatus(SectionPos arg0, boolean arg1)
method_15551(class_4076 arg0, boolean arg1)
updateSectionStatus(ChunkSectionPos arg0, boolean arg1)
func_215566_a(SectionPos arg0, boolean arg1)
public void
a(bhd arg0, boolean arg1)
enableLightSources(ChunkPos arg0, boolean arg1)
method_15512(class_1923 arg0, boolean arg1)
func_215620_a(ChunkPos arg0, boolean arg1)
public void
b(bhd arg0, boolean arg1)
retainData(ChunkPos arg0, boolean arg1)
method_20599(class_1923 arg0, boolean arg1)
func_223129_b(ChunkPos arg0, boolean arg1)
public String
b(long arg0)
getDebugData(long arg0)
method_15520(long arg0)
func_215614_b(long arg0)