public final class SkyLightEngine extends LightEngine<SkyLightStorage.StorageMap,SkyLightStorage>
IWorldLightListener.Dummy
Modifier and Type | Field and Description |
---|---|
private static Direction[] |
CARDINALS |
private static Direction[] |
DIRECTIONS |
chunkProvider, scratchPos, storage, type
Constructor and Description |
---|
SkyLightEngine(IChunkLightProvider p_i51289_1_) |
Modifier and Type | Method and Description |
---|---|
protected int |
computeLevel(long pos,
long excludedSourcePos,
int level) |
java.lang.String |
getDebugString(long sectionPosIn) |
protected int |
getEdgeLevel(long startPos,
long endPos,
int startLevel) |
protected void |
notifyNeighbors(long pos,
int level,
boolean isDecreasing) |
int |
queuedUpdateSize() |
protected void |
scheduleUpdate(long worldPos) |
checkLight, func_215613_a, func_215619_a, func_215620_a, func_215623_a, func_227468_a_, getData, getLevel, getLevelFromArray, getLightFor, getVoxelShape, isRoot, retainChunkData, 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 static final Direction[] CARDINALS
public SkyLightEngine(IChunkLightProvider p_i51289_1_)
protected int getEdgeLevel(long startPos, long endPos, int startLevel)
getEdgeLevel
in class LightEngine<SkyLightStorage.StorageMap,SkyLightStorage>
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<SkyLightStorage.StorageMap,SkyLightStorage>
protected void scheduleUpdate(long worldPos)
scheduleUpdate
in class LightEngine<SkyLightStorage.StorageMap,SkyLightStorage>
public java.lang.String getDebugString(long sectionPosIn)
getDebugString
in class LightEngine<SkyLightStorage.StorageMap,SkyLightStorage>
public int queuedUpdateSize()
queuedUpdateSize
in class LightEngine<SkyLightStorage.StorageMap,SkyLightStorage>