Package net.minecraft.world.chunk.light
Class ChunkSkyLight
java.lang.Object
net.minecraft.world.chunk.light.ChunkSkyLight
- Mappings:
Namespace Name intermediary net/minecraft/class_8528official dwlnamed net/minecraft/world/chunk/light/ChunkSkyLight
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate static final intprivate final intprivate final PaletteStorageprivate final BlockPos.Mutableprivate final BlockPos.Mutable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intcalculateSurfaceY(Chunk chunk, int topSectionIndex, int localX, int localZ) private intconvertMinY(int y) private static booleanfaceBlocksLight(BlockView blockView, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) private voidfill(int y) private intget(int index) intget(int localX, int localZ) intprivate static intgetPackedIndex(int localX, int localZ) booleanisSkyLightAccessible(BlockView blockView, int localX, int y, int localZ) private booleanisSkyLightAccessible(BlockView blockView, int packedIndex, int value, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) private intlocateLightBlockingBlockBelow(BlockView blockView, BlockPos pos, BlockState blockState) voidrefreshSurfaceY(Chunk chunk) private voidset(int index, int y)
-
Field Details
-
field_44711
private static final int field_44711- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_44711Lnet/minecraft/class_8528;field_44711:Iofficial bLdwl;b:Inamed field_44711Lnet/minecraft/world/chunk/light/ChunkSkyLight;field_44711:I
-
field_44710
public static final int field_44710- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_44710Lnet/minecraft/class_8528;field_44710:Iofficial aLdwl;a:Inamed field_44710Lnet/minecraft/world/chunk/light/ChunkSkyLight;field_44710:I
-
minY
private final int minY- Mappings:
Namespace Name Mixin selector intermediary field_44712Lnet/minecraft/class_8528;field_44712:Iofficial cLdwl;c:Inamed minYLnet/minecraft/world/chunk/light/ChunkSkyLight;minY:I
-
palette
- Mappings:
Namespace Name Mixin selector intermediary field_44713Lnet/minecraft/class_8528;field_44713:Lnet/minecraft/class_6490;official dLdwl;d:Lans;named paletteLnet/minecraft/world/chunk/light/ChunkSkyLight;palette:Lnet/minecraft/util/collection/PaletteStorage;
-
reusableBlockPos1
- Mappings:
Namespace Name Mixin selector intermediary field_44714Lnet/minecraft/class_8528;field_44714:Lnet/minecraft/class_2338$class_2339;official eLdwl;e:Lgu$a;named reusableBlockPos1Lnet/minecraft/world/chunk/light/ChunkSkyLight;reusableBlockPos1:Lnet/minecraft/util/math/BlockPos$Mutable;
-
reusableBlockPos2
- Mappings:
Namespace Name Mixin selector intermediary field_44715Lnet/minecraft/class_8528;field_44715:Lnet/minecraft/class_2338$class_2339;official fLdwl;f:Lgu$a;named reusableBlockPos2Lnet/minecraft/world/chunk/light/ChunkSkyLight;reusableBlockPos2:Lnet/minecraft/util/math/BlockPos$Mutable;
-
-
Constructor Details
-
ChunkSkyLight
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_8528;<init>(Lnet/minecraft/class_5539;)Vofficial <init>Ldwl;<init>(Lcmm;)Vnamed <init>Lnet/minecraft/world/chunk/light/ChunkSkyLight;<init>(Lnet/minecraft/world/HeightLimitView;)V
-
-
Method Details
-
refreshSurfaceY
- Mappings:
Namespace Name Mixin selector intermediary method_51540Lnet/minecraft/class_8528;method_51540(Lnet/minecraft/class_2791;)Vofficial aLdwl;a(Lddu;)Vnamed refreshSurfaceYLnet/minecraft/world/chunk/light/ChunkSkyLight;refreshSurfaceY(Lnet/minecraft/world/chunk/Chunk;)V
-
calculateSurfaceY
- Mappings:
Namespace Name Mixin selector intermediary method_51541Lnet/minecraft/class_8528;method_51541(Lnet/minecraft/class_2791;III)Iofficial aLdwl;a(Lddu;III)Inamed calculateSurfaceYLnet/minecraft/world/chunk/light/ChunkSkyLight;calculateSurfaceY(Lnet/minecraft/world/chunk/Chunk;III)I
-
isSkyLightAccessible
- Mappings:
Namespace Name Mixin selector intermediary method_51536Lnet/minecraft/class_8528;method_51536(Lnet/minecraft/class_1922;III)Zofficial aLdwl;a(Lclq;III)Znamed isSkyLightAccessibleLnet/minecraft/world/chunk/light/ChunkSkyLight;isSkyLightAccessible(Lnet/minecraft/world/BlockView;III)Z
-
isSkyLightAccessible
private boolean isSkyLightAccessible(BlockView blockView, int packedIndex, int value, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) - Mappings:
Namespace Name Mixin selector intermediary method_51537Lnet/minecraft/class_8528;method_51537(Lnet/minecraft/class_1922;IILnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Zofficial aLdwl;a(Lclq;IILgu;Ldby;Lgu;Ldby;)Znamed isSkyLightAccessibleLnet/minecraft/world/chunk/light/ChunkSkyLight;isSkyLightAccessible(Lnet/minecraft/world/BlockView;IILnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
locateLightBlockingBlockBelow
- Mappings:
Namespace Name Mixin selector intermediary method_51538Lnet/minecraft/class_8528;method_51538(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Iofficial aLdwl;a(Lclq;Lgu;Ldby;)Inamed locateLightBlockingBlockBelowLnet/minecraft/world/chunk/light/ChunkSkyLight;locateLightBlockingBlockBelow(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I
-
faceBlocksLight
private static boolean faceBlocksLight(BlockView blockView, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) - Mappings:
Namespace Name Mixin selector intermediary method_51539Lnet/minecraft/class_8528;method_51539(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Zofficial aLdwl;a(Lclq;Lgu;Ldby;Lgu;Ldby;)Znamed faceBlocksLightLnet/minecraft/world/chunk/light/ChunkSkyLight;faceBlocksLight(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
get
public int get(int localX, int localZ) - Mappings:
Namespace Name Mixin selector intermediary method_51535Lnet/minecraft/class_8528;method_51535(II)Iofficial aLdwl;a(II)Inamed getLnet/minecraft/world/chunk/light/ChunkSkyLight;get(II)I
-
getMaxSurfaceY
public int getMaxSurfaceY()- Mappings:
Namespace Name Mixin selector intermediary method_51533Lnet/minecraft/class_8528;method_51533()Iofficial aLdwl;a()Inamed getMaxSurfaceYLnet/minecraft/world/chunk/light/ChunkSkyLight;getMaxSurfaceY()I
-
fill
private void fill(int y) - Mappings:
Namespace Name Mixin selector intermediary method_51534Lnet/minecraft/class_8528;method_51534(I)Vofficial aLdwl;a(I)Vnamed fillLnet/minecraft/world/chunk/light/ChunkSkyLight;fill(I)V
-
set
private void set(int index, int y) - Mappings:
Namespace Name Mixin selector intermediary method_51543Lnet/minecraft/class_8528;method_51543(II)Vofficial bLdwl;b(II)Vnamed setLnet/minecraft/world/chunk/light/ChunkSkyLight;set(II)V
-
get
private int get(int index) - Mappings:
Namespace Name Mixin selector intermediary method_51542Lnet/minecraft/class_8528;method_51542(I)Iofficial bLdwl;b(I)Inamed getLnet/minecraft/world/chunk/light/ChunkSkyLight;get(I)I
-
convertMinY
private int convertMinY(int y) - Mappings:
Namespace Name Mixin selector intermediary method_51544Lnet/minecraft/class_8528;method_51544(I)Iofficial cLdwl;c(I)Inamed convertMinYLnet/minecraft/world/chunk/light/ChunkSkyLight;convertMinY(I)I
-
getPackedIndex
private static int getPackedIndex(int localX, int localZ) - Mappings:
Namespace Name Mixin selector intermediary method_51545Lnet/minecraft/class_8528;method_51545(II)Iofficial cLdwl;c(II)Inamed getPackedIndexLnet/minecraft/world/chunk/light/ChunkSkyLight;getPackedIndex(II)I
-