Package net.minecraft.world.chunk.light
Class ChunkSkyLight
java.lang.Object
net.minecraft.world.chunk.light.ChunkSkyLight
- Mappings:
Namespace Name named net/minecraft/world/chunk/light/ChunkSkyLightintermediary net/minecraft/class_8528official fbt
-
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(BlockState upper, BlockState lower) 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 named field_44711Lnet/minecraft/world/chunk/light/ChunkSkyLight;field_44711:Iintermediary field_44711Lnet/minecraft/class_8528;field_44711:Iofficial bLfbt;b:I
-
field_44710
public static final int field_44710- See Also:
- Mappings:
Namespace Name Mixin selector named field_44710Lnet/minecraft/world/chunk/light/ChunkSkyLight;field_44710:Iintermediary field_44710Lnet/minecraft/class_8528;field_44710:Iofficial aLfbt;a:I
-
minY
private final int minY- Mappings:
Namespace Name Mixin selector named minYLnet/minecraft/world/chunk/light/ChunkSkyLight;minY:Iintermediary field_44712Lnet/minecraft/class_8528;field_44712:Iofficial cLfbt;c:I
-
palette
- Mappings:
Namespace Name Mixin selector named paletteLnet/minecraft/world/chunk/light/ChunkSkyLight;palette:Lnet/minecraft/util/collection/PaletteStorage;intermediary field_44713Lnet/minecraft/class_8528;field_44713:Lnet/minecraft/class_6490;official dLfbt;d:Lbbh;
-
reusableBlockPos1
- Mappings:
Namespace Name Mixin selector named reusableBlockPos1Lnet/minecraft/world/chunk/light/ChunkSkyLight;reusableBlockPos1:Lnet/minecraft/util/math/BlockPos$Mutable;intermediary field_44714Lnet/minecraft/class_8528;field_44714:Lnet/minecraft/class_2338$class_2339;official eLfbt;e:Ljb$a;
-
reusableBlockPos2
- Mappings:
Namespace Name Mixin selector named reusableBlockPos2Lnet/minecraft/world/chunk/light/ChunkSkyLight;reusableBlockPos2:Lnet/minecraft/util/math/BlockPos$Mutable;intermediary field_44715Lnet/minecraft/class_8528;field_44715:Lnet/minecraft/class_2338$class_2339;official fLfbt;f:Ljb$a;
-
-
Constructor Details
-
ChunkSkyLight
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/chunk/light/ChunkSkyLight;<init>(Lnet/minecraft/world/HeightLimitView;)Vintermediary <init>Lnet/minecraft/class_8528;<init>(Lnet/minecraft/class_5539;)Vofficial <init>Lfbt;<init>(Ldoe;)V
-
-
Method Details
-
refreshSurfaceY
- Mappings:
Namespace Name Mixin selector named refreshSurfaceYLnet/minecraft/world/chunk/light/ChunkSkyLight;refreshSurfaceY(Lnet/minecraft/world/chunk/Chunk;)Vintermediary method_51540Lnet/minecraft/class_8528;method_51540(Lnet/minecraft/class_2791;)Vofficial aLfbt;a(Lehw;)V
-
calculateSurfaceY
- Mappings:
Namespace Name Mixin selector named calculateSurfaceYLnet/minecraft/world/chunk/light/ChunkSkyLight;calculateSurfaceY(Lnet/minecraft/world/chunk/Chunk;III)Iintermediary method_51541Lnet/minecraft/class_8528;method_51541(Lnet/minecraft/class_2791;III)Iofficial aLfbt;a(Lehw;III)I
-
isSkyLightAccessible
- Mappings:
Namespace Name Mixin selector named isSkyLightAccessibleLnet/minecraft/world/chunk/light/ChunkSkyLight;isSkyLightAccessible(Lnet/minecraft/world/BlockView;III)Zintermediary method_51536Lnet/minecraft/class_8528;method_51536(Lnet/minecraft/class_1922;III)Zofficial aLfbt;a(Ldng;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 named 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;)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;)Zofficial aLfbt;a(Ldng;IILjb;Lefy;Ljb;Lefy;)Z
-
locateLightBlockingBlockBelow
- Mappings:
Namespace Name Mixin selector named locateLightBlockingBlockBelowLnet/minecraft/world/chunk/light/ChunkSkyLight;locateLightBlockingBlockBelow(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Iintermediary method_51538Lnet/minecraft/class_8528;method_51538(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Iofficial aLfbt;a(Ldng;Ljb;Lefy;)I
-
faceBlocksLight
- Mappings:
Namespace Name Mixin selector named faceBlocksLightLnet/minecraft/world/chunk/light/ChunkSkyLight;faceBlocksLight(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Zintermediary method_51539Lnet/minecraft/class_8528;method_51539(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Zofficial aLfbt;a(Lefy;Lefy;)Z
-
get
public int get(int localX, int localZ) - Mappings:
Namespace Name Mixin selector named getLnet/minecraft/world/chunk/light/ChunkSkyLight;get(II)Iintermediary method_51535Lnet/minecraft/class_8528;method_51535(II)Iofficial aLfbt;a(II)I
-
getMaxSurfaceY
public int getMaxSurfaceY()- Mappings:
Namespace Name Mixin selector named getMaxSurfaceYLnet/minecraft/world/chunk/light/ChunkSkyLight;getMaxSurfaceY()Iintermediary method_51533Lnet/minecraft/class_8528;method_51533()Iofficial aLfbt;a()I
-
fill
private void fill(int y) - Mappings:
Namespace Name Mixin selector named fillLnet/minecraft/world/chunk/light/ChunkSkyLight;fill(I)Vintermediary method_51534Lnet/minecraft/class_8528;method_51534(I)Vofficial aLfbt;a(I)V
-
set
private void set(int index, int y) - Mappings:
Namespace Name Mixin selector named setLnet/minecraft/world/chunk/light/ChunkSkyLight;set(II)Vintermediary method_51543Lnet/minecraft/class_8528;method_51543(II)Vofficial bLfbt;b(II)V
-
get
private int get(int index) - Mappings:
Namespace Name Mixin selector named getLnet/minecraft/world/chunk/light/ChunkSkyLight;get(I)Iintermediary method_51542Lnet/minecraft/class_8528;method_51542(I)Iofficial bLfbt;b(I)I
-
convertMinY
private int convertMinY(int y) - Mappings:
Namespace Name Mixin selector named convertMinYLnet/minecraft/world/chunk/light/ChunkSkyLight;convertMinY(I)Iintermediary method_51544Lnet/minecraft/class_8528;method_51544(I)Iofficial cLfbt;c(I)I
-
getPackedIndex
private static int getPackedIndex(int localX, int localZ) - Mappings:
Namespace Name Mixin selector named getPackedIndexLnet/minecraft/world/chunk/light/ChunkSkyLight;getPackedIndex(II)Iintermediary method_51545Lnet/minecraft/class_8528;method_51545(II)Iofficial cLfbt;c(II)I
-