public final class ChunkSkyLightProvider extends ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
ChunkLightingView.Empty
Modifier and Type | Field and Description |
---|---|
private static Direction[] |
DIRECTIONS |
private static Direction[] |
HORIZONTAL_DIRECTIONS |
chunkProvider, lightStorage, reusableBlockPos, type
Constructor and Description |
---|
ChunkSkyLightProvider(ChunkProvider chunkProvider) |
Modifier and Type | Method and Description |
---|---|
protected int |
getPropagatedLevel(long sourceId,
long targetId,
int level) |
String |
method_22875(long long2) |
protected void |
propagateLevel(long id,
int level,
boolean decrease) |
protected int |
recalculateLevel(long id,
long excludedId,
int maxLevel) |
protected void |
resetLevel(long id) |
addLightSource, checkBlock, doLightUpdates, getCurrentLevelFromArray, getLevel, getLightArray, getLightLevel, getOpaqueShape, getRealisticOpacity, getStateForLighting, hasUpdates, isMarker, setLevel, setLightArray, setLightEnabled, setRetainData, updateSectionStatus
applyPendingUpdates, hasPendingUpdates, method_24206, method_24208, propagateLevel, removePendingUpdate, updateLevel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateSectionStatus
private static final Direction[] DIRECTIONS
private static final Direction[] HORIZONTAL_DIRECTIONS
public ChunkSkyLightProvider(ChunkProvider chunkProvider)
protected int getPropagatedLevel(long sourceId, long targetId, int level)
getPropagatedLevel
in class ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
protected void propagateLevel(long id, int level, boolean decrease)
propagateLevel
in class LevelPropagator
protected int recalculateLevel(long id, long excludedId, int maxLevel)
recalculateLevel
in class ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
protected void resetLevel(long id)
resetLevel
in class ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
@Environment(value=CLIENT) public String method_22875(long long2)
method_22875
in class ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>