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 intermediary net/minecraft/class_3572official dwunamed net/minecraft/world/chunk/light/ChunkSkyLightProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
ChunkLightProvider.class_8531Nested classes/interfaces inherited from interface net.minecraft.world.chunk.light.ChunkLightingView
ChunkLightingView.Empty -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate static final longprivate static final longprivate final BlockPos.Mutableprivate final ChunkSkyLightFields 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 TypeMethodDescriptionprivate static booleanexitsChunkXZ(Direction direction, int localX, int localZ) private intgetNumberOfSectionsBelowPos(long blockPos) protected voidmethod_51529(long blockPos) protected voidmethod_51530(long blockPos, long long2) protected voidmethod_51531(long blockPos, long long2, int int2) private static booleanmethod_51584(int int2) private intmethod_51585(int x, int z, int int2) 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 @Nullable ChunkSkyLightmethod_51589(int chunkX, int chunkZ) private voidmethod_51590(int int2, int int3, int int4) private voidmethod_51591(int int2, int int3, int int4, int int5) voidpropagateLight(ChunkPos chunkPos) voidsetColumnEnabled(ChunkPos pos, boolean retainData) Methods inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
checkBlock, displaySectionLevel, doLightUpdates, enqueueSectionData, getChunk, getLightLevel, getLightSection, getOpacity, getOpaqueShape, getOpaqueShape, getRealisticOpacity, getStateForLighting, getStatus, hasUpdates, isTrivialForLighting, method_51565, method_51566, needsLightUpdate, 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 intermediary field_44743Lnet/minecraft/class_3572;field_44743:Jofficial gLdwu;g:Jnamed field_44743Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;field_44743:J
-
field_44744
private static final long field_44744- Mappings:
Namespace Name Mixin selector intermediary field_44744Lnet/minecraft/class_3572;field_44744:Jofficial hLdwu;h:Jnamed field_44744Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;field_44744:J
-
field_44745
private static final long field_44745- Mappings:
Namespace Name Mixin selector intermediary field_44745Lnet/minecraft/class_3572;field_44745:Jofficial iLdwu;i:Jnamed field_44745Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;field_44745:J
-
field_44746
- Mappings:
Namespace Name Mixin selector intermediary field_44746Lnet/minecraft/class_3572;field_44746:Lnet/minecraft/class_2338$class_2339;official jLdwu;j:Lgu$a;named field_44746Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;field_44746:Lnet/minecraft/util/math/BlockPos$Mutable;
-
field_44747
- Mappings:
Namespace Name Mixin selector intermediary field_44747Lnet/minecraft/class_3572;field_44747:Lnet/minecraft/class_8528;official kLdwu;k:Ldwl;named field_44747Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;field_44747:Lnet/minecraft/world/chunk/light/ChunkSkyLight;
-
-
Constructor Details
-
ChunkSkyLightProvider
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_3572;<init>(Lnet/minecraft/class_2823;)Vofficial <init>Ldwu;<init>(Ldei;)Vnamed <init>Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)V
-
ChunkSkyLightProvider
@VisibleForTesting protected ChunkSkyLightProvider(ChunkProvider chunkProvider, SkyLightStorage lightStorage) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_3572;<init>(Lnet/minecraft/class_2823;Lnet/minecraft/class_3569;)Vofficial <init>Ldwu;<init>(Ldei;Ldwv;)Vnamed <init>Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/chunk/light/SkyLightStorage;)V
-
-
Method Details
-
method_51584
private static boolean method_51584(int int2) - Mappings:
Namespace Name Mixin selector intermediary method_51584Lnet/minecraft/class_3572;method_51584(I)Zofficial aLdwu;a(I)Znamed method_51584Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;method_51584(I)Z
-
method_51585
private int method_51585(int x, int z, int int2) - Mappings:
Namespace Name Mixin selector intermediary method_51585Lnet/minecraft/class_3572;method_51585(III)Iofficial aLdwu;a(III)Inamed method_51585Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;method_51585(III)I
-
method_51589
- Mappings:
Namespace Name Mixin selector intermediary method_51589Lnet/minecraft/class_3572;method_51589(II)Lnet/minecraft/class_8528;official bLdwu;b(II)Ldwl;named method_51589Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;method_51589(II)Lnet/minecraft/world/chunk/light/ChunkSkyLight;
-
method_51529
protected void method_51529(long blockPos) - Specified by:
method_51529in classChunkLightProvider<SkyLightStorage.Data,SkyLightStorage> - Mappings:
Namespace Name Mixin selector intermediary method_51529Lnet/minecraft/class_3558;method_51529(J)Vofficial aLdws;a(J)Vnamed method_51529Lnet/minecraft/world/chunk/light/ChunkLightProvider;method_51529(J)V
-
method_51590
private void method_51590(int int2, int int3, int int4) - Mappings:
Namespace Name Mixin selector intermediary method_51590Lnet/minecraft/class_3572;method_51590(III)Vofficial bLdwu;b(III)Vnamed method_51590Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;method_51590(III)V
-
method_51586
private void method_51586(int x, int z, int int2, int int3) - Mappings:
Namespace Name Mixin selector intermediary method_51586Lnet/minecraft/class_3572;method_51586(IIII)Vofficial aLdwu;a(IIII)Vnamed method_51586Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;method_51586(IIII)V
-
method_51591
private void method_51591(int int2, int int3, int int4, int int5) - Mappings:
Namespace Name Mixin selector intermediary method_51591Lnet/minecraft/class_3572;method_51591(IIII)Vofficial bLdwu;b(IIII)Vnamed method_51591Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;method_51591(IIII)V
-
method_51531
protected void method_51531(long blockPos, long long2, int int2) - Specified by:
method_51531in classChunkLightProvider<SkyLightStorage.Data,SkyLightStorage> - Mappings:
Namespace Name Mixin selector intermediary method_51531Lnet/minecraft/class_3558;method_51531(JJI)Vofficial aLdws;a(JJI)Vnamed method_51531Lnet/minecraft/world/chunk/light/ChunkLightProvider;method_51531(JJI)V
-
method_51530
protected void method_51530(long blockPos, long long2) - Specified by:
method_51530in classChunkLightProvider<SkyLightStorage.Data,SkyLightStorage> - Mappings:
Namespace Name Mixin selector intermediary method_51530Lnet/minecraft/class_3558;method_51530(JJ)Vofficial aLdws;a(JJ)Vnamed method_51530Lnet/minecraft/world/chunk/light/ChunkLightProvider;method_51530(JJ)V
-
getNumberOfSectionsBelowPos
private int getNumberOfSectionsBelowPos(long blockPos) - Mappings:
Namespace Name Mixin selector intermediary method_51592Lnet/minecraft/class_3572;method_51592(J)Iofficial dLdwu;d(J)Inamed getNumberOfSectionsBelowPosLnet/minecraft/world/chunk/light/ChunkSkyLightProvider;getNumberOfSectionsBelowPos(J)I
-
method_51587
private void method_51587(long blockPos, Direction direction, int lightLevel, boolean bool, int int2) - Mappings:
Namespace Name Mixin selector intermediary method_51587Lnet/minecraft/class_3572;method_51587(JLnet/minecraft/class_2350;IZI)Vofficial aLdwu;a(JLha;IZI)Vnamed method_51587Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;method_51587(JLnet/minecraft/util/math/Direction;IZI)V
-
exitsChunkXZ
- Mappings:
Namespace Name Mixin selector intermediary method_51588Lnet/minecraft/class_3572;method_51588(Lnet/minecraft/class_2350;II)Zofficial aLdwu;a(Lha;II)Znamed exitsChunkXZLnet/minecraft/world/chunk/light/ChunkSkyLightProvider;exitsChunkXZ(Lnet/minecraft/util/math/Direction;II)Z
-
setColumnEnabled
- Specified by:
setColumnEnabledin interfaceLightingView- Overrides:
setColumnEnabledin classChunkLightProvider<SkyLightStorage.Data,SkyLightStorage> - Mappings:
Namespace Name Mixin selector intermediary method_15512Lnet/minecraft/class_3565;method_15512(Lnet/minecraft/class_1923;Z)Vofficial aLdwt;a(Lclr;Z)Vnamed setColumnEnabledLnet/minecraft/world/chunk/light/LightingView;setColumnEnabled(Lnet/minecraft/util/math/ChunkPos;Z)V
-
propagateLight
- Mappings:
Namespace Name Mixin selector intermediary method_51471Lnet/minecraft/class_3565;method_51471(Lnet/minecraft/class_1923;)Vofficial bLdwt;b(Lclr;)Vnamed propagateLightLnet/minecraft/world/chunk/light/LightingView;propagateLight(Lnet/minecraft/util/math/ChunkPos;)V
-