Class ChunkSkyLight

java.lang.Object
net.minecraft.world.chunk.light.ChunkSkyLight

public class ChunkSkyLight extends Object
Mappings:
Namespace Name
official dwo
intermediary net/minecraft/class_8528
named net/minecraft/world/chunk/light/ChunkSkyLight
  • Field Details

    • field_44711

      private static final int field_44711
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldwo;b:I
      intermediary field_44711 Lnet/minecraft/class_8528;field_44711:I
      named field_44711 Lnet/minecraft/world/chunk/light/ChunkSkyLight;field_44711:I
    • field_44710

      public static final int field_44710
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldwo;a:I
      intermediary field_44710 Lnet/minecraft/class_8528;field_44710:I
      named field_44710 Lnet/minecraft/world/chunk/light/ChunkSkyLight;field_44710:I
    • minY

      private final int minY
      Mappings:
      Namespace Name Mixin selector
      official c Ldwo;c:I
      intermediary field_44712 Lnet/minecraft/class_8528;field_44712:I
      named minY Lnet/minecraft/world/chunk/light/ChunkSkyLight;minY:I
    • palette

      private final PaletteStorage palette
      Mappings:
      Namespace Name Mixin selector
      official d Ldwo;d:Lans;
      intermediary field_44713 Lnet/minecraft/class_8528;field_44713:Lnet/minecraft/class_6490;
      named palette Lnet/minecraft/world/chunk/light/ChunkSkyLight;palette:Lnet/minecraft/util/collection/PaletteStorage;
    • reusableBlockPos1

      private final BlockPos.Mutable reusableBlockPos1
      Mappings:
      Namespace Name Mixin selector
      official e Ldwo;e:Lgu$a;
      intermediary field_44714 Lnet/minecraft/class_8528;field_44714:Lnet/minecraft/class_2338$class_2339;
      named reusableBlockPos1 Lnet/minecraft/world/chunk/light/ChunkSkyLight;reusableBlockPos1:Lnet/minecraft/util/math/BlockPos$Mutable;
    • reusableBlockPos2

      private final BlockPos.Mutable reusableBlockPos2
      Mappings:
      Namespace Name Mixin selector
      official f Ldwo;f:Lgu$a;
      intermediary field_44715 Lnet/minecraft/class_8528;field_44715:Lnet/minecraft/class_2338$class_2339;
      named reusableBlockPos2 Lnet/minecraft/world/chunk/light/ChunkSkyLight;reusableBlockPos2:Lnet/minecraft/util/math/BlockPos$Mutable;
  • Constructor Details

    • ChunkSkyLight

      public ChunkSkyLight(HeightLimitView heightLimitView)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldwo;<init>(Lcmo;)V
      intermediary <init> Lnet/minecraft/class_8528;<init>(Lnet/minecraft/class_5539;)V
      named <init> Lnet/minecraft/world/chunk/light/ChunkSkyLight;<init>(Lnet/minecraft/world/HeightLimitView;)V
  • Method Details

    • refreshSurfaceY

      public void refreshSurfaceY(Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwo;a(Lddx;)V
      intermediary method_51540 Lnet/minecraft/class_8528;method_51540(Lnet/minecraft/class_2791;)V
      named refreshSurfaceY Lnet/minecraft/world/chunk/light/ChunkSkyLight;refreshSurfaceY(Lnet/minecraft/world/chunk/Chunk;)V
    • calculateSurfaceY

      private int calculateSurfaceY(Chunk chunk, int topSectionIndex, int localX, int localZ)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwo;a(Lddx;III)I
      intermediary method_51541 Lnet/minecraft/class_8528;method_51541(Lnet/minecraft/class_2791;III)I
      named calculateSurfaceY Lnet/minecraft/world/chunk/light/ChunkSkyLight;calculateSurfaceY(Lnet/minecraft/world/chunk/Chunk;III)I
    • isSkyLightAccessible

      public boolean isSkyLightAccessible(BlockView blockView, int localX, int y, int localZ)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwo;a(Lcls;III)Z
      intermediary method_51536 Lnet/minecraft/class_8528;method_51536(Lnet/minecraft/class_1922;III)Z
      named isSkyLightAccessible Lnet/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 a Ldwo;a(Lcls;IILgu;Ldcb;Lgu;Ldcb;)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
      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
    • locateLightBlockingBlockBelow

      private int locateLightBlockingBlockBelow(BlockView blockView, BlockPos pos, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwo;a(Lcls;Lgu;Ldcb;)I
      intermediary method_51538 Lnet/minecraft/class_8528;method_51538(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)I
      named locateLightBlockingBlockBelow Lnet/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 a Ldwo;a(Lcls;Lgu;Ldcb;Lgu;Ldcb;)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
      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
    • get

      public int get(int localX, int localZ)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwo;a(II)I
      intermediary method_51535 Lnet/minecraft/class_8528;method_51535(II)I
      named get Lnet/minecraft/world/chunk/light/ChunkSkyLight;get(II)I
    • getMaxSurfaceY

      public int getMaxSurfaceY()
      Mappings:
      Namespace Name Mixin selector
      official a Ldwo;a()I
      intermediary method_51533 Lnet/minecraft/class_8528;method_51533()I
      named getMaxSurfaceY Lnet/minecraft/world/chunk/light/ChunkSkyLight;getMaxSurfaceY()I
    • fill

      private void fill(int y)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwo;a(I)V
      intermediary method_51534 Lnet/minecraft/class_8528;method_51534(I)V
      named fill Lnet/minecraft/world/chunk/light/ChunkSkyLight;fill(I)V
    • set

      private void set(int index, int y)
      Mappings:
      Namespace Name Mixin selector
      official b Ldwo;b(II)V
      intermediary method_51543 Lnet/minecraft/class_8528;method_51543(II)V
      named set Lnet/minecraft/world/chunk/light/ChunkSkyLight;set(II)V
    • get

      private int get(int index)
      Mappings:
      Namespace Name Mixin selector
      official b Ldwo;b(I)I
      intermediary method_51542 Lnet/minecraft/class_8528;method_51542(I)I
      named get Lnet/minecraft/world/chunk/light/ChunkSkyLight;get(I)I
    • convertMinY

      private int convertMinY(int y)
      Mappings:
      Namespace Name Mixin selector
      official c Ldwo;c(I)I
      intermediary method_51544 Lnet/minecraft/class_8528;method_51544(I)I
      named convertMinY Lnet/minecraft/world/chunk/light/ChunkSkyLight;convertMinY(I)I
    • getPackedIndex

      private static int getPackedIndex(int localX, int localZ)
      Mappings:
      Namespace Name Mixin selector
      official c Ldwo;c(II)I
      intermediary method_51545 Lnet/minecraft/class_8528;method_51545(II)I
      named getPackedIndex Lnet/minecraft/world/chunk/light/ChunkSkyLight;getPackedIndex(II)I