public final class BlockLightEngine extends LightEngine<BlockLightStorage.StorageMap,BlockLightStorage>
IWorldLightListener.Dummy
Modifier and Type | Field and Description |
---|---|
private static Direction[] |
DIRECTIONS |
private BlockPos.Mutable |
scratchPos |
chunkProvider, storage, type
Constructor and Description |
---|
BlockLightEngine(IChunkLightProvider p_i51301_1_) |
Modifier and Type | Method and Description |
---|---|
protected int |
computeLevel(long pos,
long excludedSourcePos,
int level) |
void |
func_215623_a(BlockPos p_215623_1_,
int p_215623_2_) |
protected int |
getEdgeLevel(long startPos,
long endPos,
int startLevel) |
private int |
getLightValue(long worldPos) |
protected void |
notifyNeighbors(long pos,
int level,
boolean isDecreasing) |
int |
queuedUpdateSize() |
checkLight, func_215613_a, func_215619_a, func_215620_a, func_227468_a_, getData, getDebugString, getLevel, getLevelFromArray, getLightFor, getVoxelShape, isRoot, retainChunkData, scheduleUpdate, setData, setLevel, tick, updateSectionStatus
cancelUpdate, func_227465_a_, func_227467_c_, needsUpdate, processUpdates, propagateLevel, scheduleUpdate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_215567_a
private static final Direction[] DIRECTIONS
private final BlockPos.Mutable scratchPos
public BlockLightEngine(IChunkLightProvider p_i51301_1_)
private int getLightValue(long worldPos)
protected int getEdgeLevel(long startPos, long endPos, int startLevel)
getEdgeLevel
in class LightEngine<BlockLightStorage.StorageMap,BlockLightStorage>
protected void notifyNeighbors(long pos, int level, boolean isDecreasing)
notifyNeighbors
in class LevelBasedGraph
protected int computeLevel(long pos, long excludedSourcePos, int level)
computeLevel
in class LightEngine<BlockLightStorage.StorageMap,BlockLightStorage>
public void func_215623_a(BlockPos p_215623_1_, int p_215623_2_)
func_215623_a
in class LightEngine<BlockLightStorage.StorageMap,BlockLightStorage>
public int queuedUpdateSize()
queuedUpdateSize
in class LightEngine<BlockLightStorage.StorageMap,BlockLightStorage>