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/ChunkSkyLight
intermediary net/minecraft/class_8528
official ent
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private static final int
private final int
private final PaletteStorage
private final BlockPos.Mutable
private final BlockPos.Mutable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
calculateSurfaceY
(Chunk chunk, int topSectionIndex, int localX, int localZ) private int
convertMinY
(int y) private static boolean
faceBlocksLight
(BlockView blockView, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) private void
fill
(int y) private int
get
(int index) int
get
(int localX, int localZ) int
private static int
getPackedIndex
(int localX, int localZ) boolean
isSkyLightAccessible
(BlockView blockView, int localX, int y, int localZ) private boolean
isSkyLightAccessible
(BlockView blockView, int packedIndex, int value, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) private int
locateLightBlockingBlockBelow
(BlockView blockView, BlockPos pos, BlockState blockState) void
refreshSurfaceY
(Chunk chunk) private void
set
(int index, int y)
-
Field Details
-
field_44711
private static final int field_44711- See Also:
- Mappings:
Namespace Name Mixin selector named field_44711
Lnet/minecraft/world/chunk/light/ChunkSkyLight;field_44711:I
intermediary field_44711
Lnet/minecraft/class_8528;field_44711:I
official b
Lent;b:I
-
field_44710
public static final int field_44710- See Also:
- Mappings:
Namespace Name Mixin selector named field_44710
Lnet/minecraft/world/chunk/light/ChunkSkyLight;field_44710:I
intermediary field_44710
Lnet/minecraft/class_8528;field_44710:I
official a
Lent;a:I
-
minY
private final int minY- Mappings:
Namespace Name Mixin selector named minY
Lnet/minecraft/world/chunk/light/ChunkSkyLight;minY:I
intermediary field_44712
Lnet/minecraft/class_8528;field_44712:I
official c
Lent;c:I
-
palette
- Mappings:
Namespace Name Mixin selector named palette
Lnet/minecraft/world/chunk/light/ChunkSkyLight;palette:Lnet/minecraft/util/collection/PaletteStorage;
intermediary field_44713
Lnet/minecraft/class_8528;field_44713:Lnet/minecraft/class_6490;
official d
Lent;d:Lawu;
-
reusableBlockPos1
- Mappings:
Namespace Name Mixin selector named reusableBlockPos1
Lnet/minecraft/world/chunk/light/ChunkSkyLight;reusableBlockPos1:Lnet/minecraft/util/math/BlockPos$Mutable;
intermediary field_44714
Lnet/minecraft/class_8528;field_44714:Lnet/minecraft/class_2338$class_2339;
official e
Lent;e:Lja$a;
-
reusableBlockPos2
- Mappings:
Namespace Name Mixin selector named reusableBlockPos2
Lnet/minecraft/world/chunk/light/ChunkSkyLight;reusableBlockPos2:Lnet/minecraft/util/math/BlockPos$Mutable;
intermediary field_44715
Lnet/minecraft/class_8528;field_44715:Lnet/minecraft/class_2338$class_2339;
official f
Lent;f:Lja$a;
-
-
Constructor Details
-
ChunkSkyLight
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/chunk/light/ChunkSkyLight;<init>(Lnet/minecraft/world/HeightLimitView;)V
intermediary <init>
Lnet/minecraft/class_8528;<init>(Lnet/minecraft/class_5539;)V
official <init>
Lent;<init>(Ldci;)V
-
-
Method Details
-
refreshSurfaceY
- Mappings:
Namespace Name Mixin selector named refreshSurfaceY
Lnet/minecraft/world/chunk/light/ChunkSkyLight;refreshSurfaceY(Lnet/minecraft/world/chunk/Chunk;)V
intermediary method_51540
Lnet/minecraft/class_8528;method_51540(Lnet/minecraft/class_2791;)V
official a
Lent;a(Lduh;)V
-
calculateSurfaceY
- Mappings:
Namespace Name Mixin selector named calculateSurfaceY
Lnet/minecraft/world/chunk/light/ChunkSkyLight;calculateSurfaceY(Lnet/minecraft/world/chunk/Chunk;III)I
intermediary method_51541
Lnet/minecraft/class_8528;method_51541(Lnet/minecraft/class_2791;III)I
official a
Lent;a(Lduh;III)I
-
isSkyLightAccessible
- Mappings:
Namespace Name Mixin selector named isSkyLightAccessible
Lnet/minecraft/world/chunk/light/ChunkSkyLight;isSkyLightAccessible(Lnet/minecraft/world/BlockView;III)Z
intermediary method_51536
Lnet/minecraft/class_8528;method_51536(Lnet/minecraft/class_1922;III)Z
official a
Lent;a(Ldbm;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 isSkyLightAccessible
Lnet/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
intermediary method_51537
Lnet/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;)Z
official a
Lent;a(Ldbm;IILja;Ldsl;Lja;Ldsl;)Z
-
locateLightBlockingBlockBelow
- Mappings:
Namespace Name Mixin selector named locateLightBlockingBlockBelow
Lnet/minecraft/world/chunk/light/ChunkSkyLight;locateLightBlockingBlockBelow(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I
intermediary method_51538
Lnet/minecraft/class_8528;method_51538(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)I
official a
Lent;a(Ldbm;Lja;Ldsl;)I
-
faceBlocksLight
private static boolean faceBlocksLight(BlockView blockView, BlockPos upperPos, BlockState upperState, BlockPos lowerPos, BlockState lowerState) - Mappings:
Namespace Name Mixin selector named faceBlocksLight
Lnet/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
intermediary method_51539
Lnet/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;)Z
official a
Lent;a(Ldbm;Lja;Ldsl;Lja;Ldsl;)Z
-
get
public int get(int localX, int localZ) - Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/world/chunk/light/ChunkSkyLight;get(II)I
intermediary method_51535
Lnet/minecraft/class_8528;method_51535(II)I
official a
Lent;a(II)I
-
getMaxSurfaceY
public int getMaxSurfaceY()- Mappings:
Namespace Name Mixin selector named getMaxSurfaceY
Lnet/minecraft/world/chunk/light/ChunkSkyLight;getMaxSurfaceY()I
intermediary method_51533
Lnet/minecraft/class_8528;method_51533()I
official a
Lent;a()I
-
fill
private void fill(int y) - Mappings:
Namespace Name Mixin selector named fill
Lnet/minecraft/world/chunk/light/ChunkSkyLight;fill(I)V
intermediary method_51534
Lnet/minecraft/class_8528;method_51534(I)V
official a
Lent;a(I)V
-
set
private void set(int index, int y) - Mappings:
Namespace Name Mixin selector named set
Lnet/minecraft/world/chunk/light/ChunkSkyLight;set(II)V
intermediary method_51543
Lnet/minecraft/class_8528;method_51543(II)V
official b
Lent;b(II)V
-
get
private int get(int index) - Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/world/chunk/light/ChunkSkyLight;get(I)I
intermediary method_51542
Lnet/minecraft/class_8528;method_51542(I)I
official b
Lent;b(I)I
-
convertMinY
private int convertMinY(int y) - Mappings:
Namespace Name Mixin selector named convertMinY
Lnet/minecraft/world/chunk/light/ChunkSkyLight;convertMinY(I)I
intermediary method_51544
Lnet/minecraft/class_8528;method_51544(I)I
official c
Lent;c(I)I
-
getPackedIndex
private static int getPackedIndex(int localX, int localZ) - Mappings:
Namespace Name Mixin selector named getPackedIndex
Lnet/minecraft/world/chunk/light/ChunkSkyLight;getPackedIndex(II)I
intermediary method_51545
Lnet/minecraft/class_8528;method_51545(II)I
official c
Lent;c(II)I
-