Package net.minecraft.world.chunk.light
Class ChunkSkyLightProvider
java.lang.Object
net.minecraft.world.chunk.light.ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
net.minecraft.world.chunk.light.ChunkSkyLightProvider
- All Implemented Interfaces:
ChunkLightingView,LightingView
public final class ChunkSkyLightProvider
extends ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
- Mappings:
Namespace Name named net/minecraft/world/chunk/light/ChunkSkyLightProviderintermediary net/minecraft/class_3572official fft
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
ChunkLightProvider.PackedInfoNested classes/interfaces inherited from interface net.minecraft.world.chunk.light.ChunkLightingView
ChunkLightingView.Empty -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChunkSkyLightprivate static final longprivate static final longprivate static final longprivate final BlockPos.MutableFields inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
chunkProvider, DIRECTIONS, field_44729, field_44730, field_44731, lightStorage -
Constructor Summary
ConstructorsModifierConstructorDescriptionChunkSkyLightProvider(ChunkProvider chunkProvider) protectedChunkSkyLightProvider(ChunkProvider chunkProvider, SkyLightStorage lightStorage) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckForLightUpdate(long blockPos) private static booleanexitsChunkXZ(Direction direction, int localX, int localZ) private intgetNumberOfSectionsBelowPos(long blockPos) private @Nullable ChunkSkyLightgetSkyLight(int chunkX, int chunkZ) private intgetSkyLightOrDefault(int x, int z, int defaultValue) private static booleanisMaxLightLevel(int lightLevel) private voidmethod_51586(int x, int z, int int2, int int3) private voidmethod_51587(long blockPos, Direction direction, int lightLevel, boolean bool, int int2) private voidmethod_51590(int int2, int int3, int int4) private voidmethod_51591(int x, int z, int int2, int int3) voidpropagateLight(ChunkPos chunkPos) protected voidpropagateLightDecrease(long blockPos, long packed) protected voidpropagateLightIncrease(long blockPos, long packed, int lightLevel) voidsetColumnEnabled(ChunkPos pos, boolean retainData) Methods inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
checkBlock, displaySectionLevel, doLightUpdates, enqueueSectionData, getChunk, getLightLevel, getLightSection, getOpacity, getOpaqueShape, getRealisticOpacity, getStateForLighting, getStatus, hasUpdates, isTrivialForLighting, needsLightUpdate, queueLightDecrease, queueLightIncrease, setRetainColumn, setSectionStatus, shapesCoverFullCubeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.chunk.light.LightingView
setSectionStatus
-
Field Details
-
field_44743
private static final long field_44743- Mappings:
Namespace Name Mixin selector named field_44743Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;field_44743:Jintermediary field_44743Lnet/minecraft/class_3572;field_44743:Jofficial gLfft;g:J
-
field_44744
private static final long field_44744- Mappings:
Namespace Name Mixin selector named field_44744Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;field_44744:Jintermediary field_44744Lnet/minecraft/class_3572;field_44744:Jofficial hLfft;h:J
-
field_44745
private static final long field_44745- Mappings:
Namespace Name Mixin selector named field_44745Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;field_44745:Jintermediary field_44745Lnet/minecraft/class_3572;field_44745:Jofficial iLfft;i:J
-
field_44746
- Mappings:
Namespace Name Mixin selector named field_44746Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;field_44746:Lnet/minecraft/util/math/BlockPos$Mutable;intermediary field_44746Lnet/minecraft/class_3572;field_44746:Lnet/minecraft/class_2338$class_2339;official jLfft;j:Lja$a;
-
defaultSkyLight
- Mappings:
Namespace Name Mixin selector named defaultSkyLightLnet/minecraft/world/chunk/light/ChunkSkyLightProvider;defaultSkyLight:Lnet/minecraft/world/chunk/light/ChunkSkyLight;intermediary field_44747Lnet/minecraft/class_3572;field_44747:Lnet/minecraft/class_8528;official kLfft;k:Lffk;
-
-
Constructor Details
-
ChunkSkyLightProvider
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)Vintermediary <init>Lnet/minecraft/class_3572;<init>(Lnet/minecraft/class_2823;)Vofficial <init>Lfft;<init>(Lely;)V
-
ChunkSkyLightProvider
@VisibleForTesting protected ChunkSkyLightProvider(ChunkProvider chunkProvider, SkyLightStorage lightStorage) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/chunk/light/SkyLightStorage;)Vintermediary <init>Lnet/minecraft/class_3572;<init>(Lnet/minecraft/class_2823;Lnet/minecraft/class_3569;)Vofficial <init>Lfft;<init>(Lely;Lffu;)V
-
-
Method Details
-
isMaxLightLevel
private static boolean isMaxLightLevel(int lightLevel) - Mappings:
Namespace Name Mixin selector named isMaxLightLevelLnet/minecraft/world/chunk/light/ChunkSkyLightProvider;isMaxLightLevel(I)Zintermediary method_51584Lnet/minecraft/class_3572;method_51584(I)Zofficial aLfft;a(I)Z
-
getSkyLightOrDefault
private int getSkyLightOrDefault(int x, int z, int defaultValue) - Mappings:
Namespace Name Mixin selector named getSkyLightOrDefaultLnet/minecraft/world/chunk/light/ChunkSkyLightProvider;getSkyLightOrDefault(III)Iintermediary method_51585Lnet/minecraft/class_3572;method_51585(III)Iofficial aLfft;a(III)I
-
getSkyLight
- Mappings:
Namespace Name Mixin selector named getSkyLightLnet/minecraft/world/chunk/light/ChunkSkyLightProvider;getSkyLight(II)Lnet/minecraft/world/chunk/light/ChunkSkyLight;intermediary method_51589Lnet/minecraft/class_3572;method_51589(II)Lnet/minecraft/class_8528;official bLfft;b(II)Lffk;
-
checkForLightUpdate
protected void checkForLightUpdate(long blockPos) - Specified by:
checkForLightUpdatein classChunkLightProvider<SkyLightStorage.Data,SkyLightStorage> - Mappings:
Namespace Name Mixin selector named checkForLightUpdateLnet/minecraft/world/chunk/light/ChunkLightProvider;checkForLightUpdate(J)Vintermediary method_51529Lnet/minecraft/class_3558;method_51529(J)Vofficial aLffr;a(J)V
-
method_51590
private void method_51590(int int2, int int3, int int4) - Mappings:
Namespace Name Mixin selector named method_51590Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;method_51590(III)Vintermediary method_51590Lnet/minecraft/class_3572;method_51590(III)Vofficial bLfft;b(III)V
-
method_51586
private void method_51586(int x, int z, int int2, int int3) - Mappings:
Namespace Name Mixin selector named method_51586Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;method_51586(IIII)Vintermediary method_51586Lnet/minecraft/class_3572;method_51586(IIII)Vofficial aLfft;a(IIII)V
-
method_51591
private void method_51591(int x, int z, int int2, int int3) - Mappings:
Namespace Name Mixin selector named method_51591Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;method_51591(IIII)Vintermediary method_51591Lnet/minecraft/class_3572;method_51591(IIII)Vofficial bLfft;b(IIII)V
-
propagateLightIncrease
protected void propagateLightIncrease(long blockPos, long packed, int lightLevel) - Specified by:
propagateLightIncreasein classChunkLightProvider<SkyLightStorage.Data,SkyLightStorage> - Mappings:
Namespace Name Mixin selector named propagateLightIncreaseLnet/minecraft/world/chunk/light/ChunkLightProvider;propagateLightIncrease(JJI)Vintermediary method_51531Lnet/minecraft/class_3558;method_51531(JJI)Vofficial aLffr;a(JJI)V
-
propagateLightDecrease
protected void propagateLightDecrease(long blockPos, long packed) - Specified by:
propagateLightDecreasein classChunkLightProvider<SkyLightStorage.Data,SkyLightStorage> - Mappings:
Namespace Name Mixin selector named propagateLightDecreaseLnet/minecraft/world/chunk/light/ChunkLightProvider;propagateLightDecrease(JJ)Vintermediary method_51530Lnet/minecraft/class_3558;method_51530(JJ)Vofficial aLffr;a(JJ)V
-
getNumberOfSectionsBelowPos
private int getNumberOfSectionsBelowPos(long blockPos) - Mappings:
Namespace Name Mixin selector named getNumberOfSectionsBelowPosLnet/minecraft/world/chunk/light/ChunkSkyLightProvider;getNumberOfSectionsBelowPos(J)Iintermediary method_51592Lnet/minecraft/class_3572;method_51592(J)Iofficial dLfft;d(J)I
-
method_51587
private void method_51587(long blockPos, Direction direction, int lightLevel, boolean bool, int int2) - Mappings:
Namespace Name Mixin selector named method_51587Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;method_51587(JLnet/minecraft/util/math/Direction;IZI)Vintermediary method_51587Lnet/minecraft/class_3572;method_51587(JLnet/minecraft/class_2350;IZI)Vofficial aLfft;a(JLjg;IZI)V
-
exitsChunkXZ
- Mappings:
Namespace Name Mixin selector named exitsChunkXZLnet/minecraft/world/chunk/light/ChunkSkyLightProvider;exitsChunkXZ(Lnet/minecraft/util/math/Direction;II)Zintermediary method_51588Lnet/minecraft/class_3572;method_51588(Lnet/minecraft/class_2350;II)Zofficial aLfft;a(Ljg;II)Z
-
setColumnEnabled
- Specified by:
setColumnEnabledin interfaceLightingView- Overrides:
setColumnEnabledin classChunkLightProvider<SkyLightStorage.Data,SkyLightStorage> - Mappings:
Namespace Name Mixin selector named setColumnEnabledLnet/minecraft/world/chunk/light/LightingView;setColumnEnabled(Lnet/minecraft/util/math/ChunkPos;Z)Vintermediary method_15512Lnet/minecraft/class_3565;method_15512(Lnet/minecraft/class_1923;Z)Vofficial aLffs;a(Ldqv;Z)V
-
propagateLight
- Mappings:
Namespace Name Mixin selector named propagateLightLnet/minecraft/world/chunk/light/LightingView;propagateLight(Lnet/minecraft/util/math/ChunkPos;)Vintermediary method_51471Lnet/minecraft/class_3565;method_51471(Lnet/minecraft/class_1923;)Vofficial bLffs;b(Ldqv;)V
-