Class LightData

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

public class LightData extends Object
Mappings:
Namespace Name
official sc
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 Lsc;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 Lsc;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 Lsc;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 Lsc;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 Lsc;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 Lsc;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;
    • nonEdge

      private final boolean nonEdge
      Mappings:
      Namespace Name Mixin selector
      official g Lsc;g:Z
      intermediary field_34879 Lnet/minecraft/class_6606;field_34879:Z
      named nonEdge Lnet/minecraft/network/packet/s2c/play/LightData;nonEdge:Z
  • Constructor Details

    • LightData

      public LightData(ChunkPos pos, LightingProvider lightProvider, @Nullable @Nullable BitSet skyBits, @Nullable @Nullable BitSet blockBits, boolean nonEdge)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsc;<init>(Lbzd;Ldgz;Ljava/util/BitSet;Ljava/util/BitSet;Z)V
      intermediary <init> Lnet/minecraft/class_6606;<init>(Lnet/minecraft/class_1923;Lnet/minecraft/class_3568;Ljava/util/BitSet;Ljava/util/BitSet;Z)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;Z)V
    • LightData

      public LightData(PacketByteBuf buf, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsc;<init>(Lph;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 Lsc;a(Lph;)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 Lsc;a(Lbzd;Ldgz;Lcaf;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 Lsc;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 Lsc;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 Lsc;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 Lsc;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 Lsc;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 Lsc;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;
    • isNonEdge

      public boolean isNonEdge()
      Mappings:
      Namespace Name Mixin selector
      official g Lsc;g()Z
      intermediary method_38611 Lnet/minecraft/class_6606;method_38611()Z
      named isNonEdge Lnet/minecraft/network/packet/s2c/play/LightData;isNonEdge()Z