Package net.minecraft.world.chunk.light
Class ChunkSkyLight
java.lang.Object
net.minecraft.world.chunk.light.ChunkSkyLight
- Mappings:
Namespace Name official dwlintermediary net/minecraft/class_8528named 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 official bLdwl;b:Iintermediary field_44711Lnet/minecraft/class_8528;field_44711: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 official aLdwl;a:Iintermediary field_44710Lnet/minecraft/class_8528;field_44710:Inamed field_44710Lnet/minecraft/world/chunk/light/ChunkSkyLight;field_44710:I
-
minY
private final int minY- Mappings:
Namespace Name Mixin selector official cLdwl;c:Iintermediary field_44712Lnet/minecraft/class_8528;field_44712:Inamed minYLnet/minecraft/world/chunk/light/ChunkSkyLight;minY:I
-
palette
- Mappings:
Namespace Name Mixin selector official dLdwl;d:Lans;intermediary field_44713Lnet/minecraft/class_8528;field_44713:Lnet/minecraft/class_6490;named paletteLnet/minecraft/world/chunk/light/ChunkSkyLight;palette:Lnet/minecraft/util/collection/PaletteStorage;
-
reusableBlockPos1
- Mappings:
Namespace Name Mixin selector official eLdwl;e:Lgu$a;intermediary field_44714Lnet/minecraft/class_8528;field_44714:Lnet/minecraft/class_2338$class_2339;named reusableBlockPos1Lnet/minecraft/world/chunk/light/ChunkSkyLight;reusableBlockPos1:Lnet/minecraft/util/math/BlockPos$Mutable;
-
reusableBlockPos2
- Mappings:
Namespace Name Mixin selector official fLdwl;f:Lgu$a;intermediary field_44715Lnet/minecraft/class_8528;field_44715:Lnet/minecraft/class_2338$class_2339;named reusableBlockPos2Lnet/minecraft/world/chunk/light/ChunkSkyLight;reusableBlockPos2:Lnet/minecraft/util/math/BlockPos$Mutable;
-
-
Constructor Details
-
ChunkSkyLight
- Mappings:
Namespace Name Mixin selector official <init>Ldwl;<init>(Lcmm;)Vintermediary <init>Lnet/minecraft/class_8528;<init>(Lnet/minecraft/class_5539;)Vnamed <init>Lnet/minecraft/world/chunk/light/ChunkSkyLight;<init>(Lnet/minecraft/world/HeightLimitView;)V
-
-
Method Details
-
refreshSurfaceY
- Mappings:
Namespace Name Mixin selector official aLdwl;a(Lddu;)Vintermediary method_51540Lnet/minecraft/class_8528;method_51540(Lnet/minecraft/class_2791;)Vnamed refreshSurfaceYLnet/minecraft/world/chunk/light/ChunkSkyLight;refreshSurfaceY(Lnet/minecraft/world/chunk/Chunk;)V
-
calculateSurfaceY
- Mappings:
Namespace Name Mixin selector official aLdwl;a(Lddu;III)Iintermediary method_51541Lnet/minecraft/class_8528;method_51541(Lnet/minecraft/class_2791;III)Inamed calculateSurfaceYLnet/minecraft/world/chunk/light/ChunkSkyLight;calculateSurfaceY(Lnet/minecraft/world/chunk/Chunk;III)I
-
isSkyLightAccessible
- Mappings:
Namespace Name Mixin selector official aLdwl;a(Lclq;III)Zintermediary method_51536Lnet/minecraft/class_8528;method_51536(Lnet/minecraft/class_1922;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 official aLdwl;a(Lclq;IILgu;Ldby;Lgu;Ldby;)Zintermediary 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;)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 official aLdwl;a(Lclq;Lgu;Ldby;)Iintermediary method_51538Lnet/minecraft/class_8528;method_51538(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)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 official aLdwl;a(Lclq;Lgu;Ldby;Lgu;Ldby;)Zintermediary 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;)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 official aLdwl;a(II)Iintermediary method_51535Lnet/minecraft/class_8528;method_51535(II)Inamed getLnet/minecraft/world/chunk/light/ChunkSkyLight;get(II)I
-
getMaxSurfaceY
public int getMaxSurfaceY()- Mappings:
Namespace Name Mixin selector official aLdwl;a()Iintermediary method_51533Lnet/minecraft/class_8528;method_51533()Inamed getMaxSurfaceYLnet/minecraft/world/chunk/light/ChunkSkyLight;getMaxSurfaceY()I
-
fill
private void fill(int y) - Mappings:
Namespace Name Mixin selector official aLdwl;a(I)Vintermediary method_51534Lnet/minecraft/class_8528;method_51534(I)Vnamed fillLnet/minecraft/world/chunk/light/ChunkSkyLight;fill(I)V
-
set
private void set(int index, int y) - Mappings:
Namespace Name Mixin selector official bLdwl;b(II)Vintermediary method_51543Lnet/minecraft/class_8528;method_51543(II)Vnamed setLnet/minecraft/world/chunk/light/ChunkSkyLight;set(II)V
-
get
private int get(int index) - Mappings:
Namespace Name Mixin selector official bLdwl;b(I)Iintermediary method_51542Lnet/minecraft/class_8528;method_51542(I)Inamed getLnet/minecraft/world/chunk/light/ChunkSkyLight;get(I)I
-
convertMinY
private int convertMinY(int y) - Mappings:
Namespace Name Mixin selector official cLdwl;c(I)Iintermediary method_51544Lnet/minecraft/class_8528;method_51544(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 official cLdwl;c(II)Iintermediary method_51545Lnet/minecraft/class_8528;method_51545(II)Inamed getPackedIndexLnet/minecraft/world/chunk/light/ChunkSkyLight;getPackedIndex(II)I
-