Class LightData

java.lang.Object
net.minecraft.network.packet.s2c.play.LightData

public class LightData extends Object
Mappings:
Namespace Name
official wh
intermediary net/minecraft/class_6606
named net/minecraft/network/packet/s2c/play/LightData
  • Field Details

    • initedSky

      private final BitSet initedSky
      Mappings:
      Namespace Name Mixin selector
      official a Lwh;a:Ljava/util/BitSet;
      intermediary field_34873 Lnet/minecraft/class_6606;field_34873:Ljava/util/BitSet;
      named initedSky Lnet/minecraft/network/packet/s2c/play/LightData;initedSky:Ljava/util/BitSet;
    • initedBlock

      private final BitSet initedBlock
      Mappings:
      Namespace Name Mixin selector
      official b Lwh;b:Ljava/util/BitSet;
      intermediary field_34874 Lnet/minecraft/class_6606;field_34874:Ljava/util/BitSet;
      named initedBlock Lnet/minecraft/network/packet/s2c/play/LightData;initedBlock:Ljava/util/BitSet;
    • uninitedSky

      private final BitSet uninitedSky
      Mappings:
      Namespace Name Mixin selector
      official c Lwh;c:Ljava/util/BitSet;
      intermediary field_34875 Lnet/minecraft/class_6606;field_34875:Ljava/util/BitSet;
      named uninitedSky Lnet/minecraft/network/packet/s2c/play/LightData;uninitedSky:Ljava/util/BitSet;
    • uninitedBlock

      private final BitSet uninitedBlock
      Mappings:
      Namespace Name Mixin selector
      official d Lwh;d:Ljava/util/BitSet;
      intermediary field_34876 Lnet/minecraft/class_6606;field_34876:Ljava/util/BitSet;
      named uninitedBlock Lnet/minecraft/network/packet/s2c/play/LightData;uninitedBlock:Ljava/util/BitSet;
    • skyNibbles

      private final List<byte[]> skyNibbles
      Mappings:
      Namespace Name Mixin selector
      official e Lwh;e:Ljava/util/List;
      intermediary field_34877 Lnet/minecraft/class_6606;field_34877:Ljava/util/List;
      named skyNibbles Lnet/minecraft/network/packet/s2c/play/LightData;skyNibbles:Ljava/util/List;
    • blockNibbles

      private final List<byte[]> blockNibbles
      Mappings:
      Namespace Name Mixin selector
      official f Lwh;f:Ljava/util/List;
      intermediary field_34878 Lnet/minecraft/class_6606;field_34878:Ljava/util/List;
      named blockNibbles Lnet/minecraft/network/packet/s2c/play/LightData;blockNibbles:Ljava/util/List;
  • Constructor Details

    • LightData

      public LightData(ChunkPos pos, LightingProvider lightProvider, @Nullable @Nullable BitSet skyBits, @Nullable @Nullable BitSet blockBits)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwh;<init>(Lclt;Ldwt;Ljava/util/BitSet;Ljava/util/BitSet;)V
      intermediary <init> Lnet/minecraft/class_6606;<init>(Lnet/minecraft/class_1923;Lnet/minecraft/class_3568;Ljava/util/BitSet;Ljava/util/BitSet;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/LightData;<init>(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/chunk/light/LightingProvider;Ljava/util/BitSet;Ljava/util/BitSet;)V
    • LightData

      public LightData(PacketByteBuf buf, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwh;<init>(Lsf;II)V
      intermediary <init> Lnet/minecraft/class_6606;<init>(Lnet/minecraft/class_2540;II)V
      named <init> Lnet/minecraft/network/packet/s2c/play/LightData;<init>(Lnet/minecraft/network/PacketByteBuf;II)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official a Lwh;a(Lsf;)V
      intermediary method_38603 Lnet/minecraft/class_6606;method_38603(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/s2c/play/LightData;write(Lnet/minecraft/network/PacketByteBuf;)V
    • putChunk

      private void putChunk(ChunkPos pos, LightingProvider lightProvider, LightType type, int y, BitSet initialized, BitSet uninitialized, List<byte[]> nibbles)
      Mappings:
      Namespace Name Mixin selector
      official a Lwh;a(Lclt;Ldwt;Lcmv;ILjava/util/BitSet;Ljava/util/BitSet;Ljava/util/List;)V
      intermediary method_38602 Lnet/minecraft/class_6606;method_38602(Lnet/minecraft/class_1923;Lnet/minecraft/class_3568;Lnet/minecraft/class_1944;ILjava/util/BitSet;Ljava/util/BitSet;Ljava/util/List;)V
      named putChunk Lnet/minecraft/network/packet/s2c/play/LightData;putChunk(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/chunk/light/LightingProvider;Lnet/minecraft/world/LightType;ILjava/util/BitSet;Ljava/util/BitSet;Ljava/util/List;)V
    • getInitedSky

      public BitSet getInitedSky()
      Mappings:
      Namespace Name Mixin selector
      official a Lwh;a()Ljava/util/BitSet;
      intermediary method_38601 Lnet/minecraft/class_6606;method_38601()Ljava/util/BitSet;
      named getInitedSky Lnet/minecraft/network/packet/s2c/play/LightData;getInitedSky()Ljava/util/BitSet;
    • getUninitedSky

      public BitSet getUninitedSky()
      Mappings:
      Namespace Name Mixin selector
      official b Lwh;b()Ljava/util/BitSet;
      intermediary method_38604 Lnet/minecraft/class_6606;method_38604()Ljava/util/BitSet;
      named getUninitedSky Lnet/minecraft/network/packet/s2c/play/LightData;getUninitedSky()Ljava/util/BitSet;
    • getSkyNibbles

      public List<byte[]> getSkyNibbles()
      Mappings:
      Namespace Name Mixin selector
      official c Lwh;c()Ljava/util/List;
      intermediary method_38606 Lnet/minecraft/class_6606;method_38606()Ljava/util/List;
      named getSkyNibbles Lnet/minecraft/network/packet/s2c/play/LightData;getSkyNibbles()Ljava/util/List;
    • getInitedBlock

      public BitSet getInitedBlock()
      Mappings:
      Namespace Name Mixin selector
      official d Lwh;d()Ljava/util/BitSet;
      intermediary method_38608 Lnet/minecraft/class_6606;method_38608()Ljava/util/BitSet;
      named getInitedBlock Lnet/minecraft/network/packet/s2c/play/LightData;getInitedBlock()Ljava/util/BitSet;
    • getUninitedBlock

      public BitSet getUninitedBlock()
      Mappings:
      Namespace Name Mixin selector
      official e Lwh;e()Ljava/util/BitSet;
      intermediary method_38609 Lnet/minecraft/class_6606;method_38609()Ljava/util/BitSet;
      named getUninitedBlock Lnet/minecraft/network/packet/s2c/play/LightData;getUninitedBlock()Ljava/util/BitSet;
    • getBlockNibbles

      public List<byte[]> getBlockNibbles()
      Mappings:
      Namespace Name Mixin selector
      official f Lwh;f()Ljava/util/List;
      intermediary method_38610 Lnet/minecraft/class_6606;method_38610()Ljava/util/List;
      named getBlockNibbles Lnet/minecraft/network/packet/s2c/play/LightData;getBlockNibbles()Ljava/util/List;