Class LightData

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

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

    • CODEC

      private static final PacketCodec<ByteBuf,byte[]> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/LightData;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48781 Lnet/minecraft/class_6606;field_48781:Lnet/minecraft/class_9139;
      official a Lady;a:Lzn;
    • initedSky

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

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

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

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

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

      private final List<byte[]> blockNibbles
      Mappings:
      Namespace Name Mixin selector
      named blockNibbles Lnet/minecraft/network/packet/s2c/play/LightData;blockNibbles:Ljava/util/List;
      intermediary field_34878 Lnet/minecraft/class_6606;field_34878:Ljava/util/List;
      official g Lady;g: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
      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
      intermediary <init> Lnet/minecraft/class_6606;<init>(Lnet/minecraft/class_1923;Lnet/minecraft/class_3568;Ljava/util/BitSet;Ljava/util/BitSet;)V
      official <init> Lady;<init>(Ldbh;Lenm;Ljava/util/BitSet;Ljava/util/BitSet;)V
    • LightData

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

    • write

      public void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/LightData;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_38603 Lnet/minecraft/class_6606;method_38603(Lnet/minecraft/class_2540;)V
      official a Lady;a(Lwm;)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
      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
      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
      official a Lady;a(Ldbh;Lenm;Ldcj;ILjava/util/BitSet;Ljava/util/BitSet;Ljava/util/List;)V
    • getInitedSky

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

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

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

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

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

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