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 - esk
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intprivate static final intprivate final intprivate final PaletteStorageprivate final BlockPos.Mutableprivate final BlockPos.Mutable
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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_44711private 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- Lesk;b:I
 
- 
field_44710public 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- Lesk;a:I
 
- 
minYprivate 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- Lesk;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- Lesk;d:Laxo;
 
- 
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- Lesk;e:Lji$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- Lesk;f:Lji$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>- Lesk;<init>(Ldgl;)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- Lesk;a(Ldyt;)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- Lesk;a(Ldyt;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- Lesk;a(Ldfo;III)Z
 
- 
isSkyLightAccessibleprivate 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- Lesk;a(Ldfo;IILji;Ldwy;Lji;Ldwy;)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- Lesk;a(Ldfo;Lji;Ldwy;)I
 
- 
faceBlocksLight- Mappings:
- Namespace - Name - Mixin selector - named - faceBlocksLight- Lnet/minecraft/world/chunk/light/ChunkSkyLight;faceBlocksLight(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Z- intermediary - method_51539- Lnet/minecraft/class_8528;method_51539(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Z- official - a- Lesk;a(Ldwy;Ldwy;)Z
 
- 
getpublic 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- Lesk;a(II)I
 
- 
getMaxSurfaceYpublic 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- Lesk;a()I
 
- 
fillprivate 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- Lesk;a(I)V
 
- 
setprivate 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- Lesk;b(II)V
 
- 
getprivate 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- Lesk;b(I)I
 
- 
convertMinYprivate 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- Lesk;c(I)I
 
- 
getPackedIndexprivate 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- Lesk;c(II)I
 
 
-