Class ClientboundLightUpdatePacketData

java.lang.Object
net.minecraft.network.protocol.game.ClientboundLightUpdatePacketData

public class ClientboundLightUpdatePacketData extends Object
  • Field Details

    • skyYMask

      private final BitSet skyYMask
    • blockYMask

      private final BitSet blockYMask
    • emptySkyYMask

      private final BitSet emptySkyYMask
    • emptyBlockYMask

      private final BitSet emptyBlockYMask
    • skyUpdates

      private final List<byte[]> skyUpdates
    • blockUpdates

      private final List<byte[]> blockUpdates
  • Constructor Details

    • ClientboundLightUpdatePacketData

      public ClientboundLightUpdatePacketData(ChunkPos p_285385_, LevelLightEngine p_285143_, @Nullable BitSet p_285253_, @Nullable BitSet p_285051_)
    • ClientboundLightUpdatePacketData

      public ClientboundLightUpdatePacketData(FriendlyByteBuf p_195737_, int p_195738_, int p_195739_)
  • Method Details

    • write

      public void write(FriendlyByteBuf p_195750_)
    • prepareSectionData

      private void prepareSectionData(ChunkPos p_195742_, LevelLightEngine p_195743_, LightLayer p_195744_, int p_195745_, BitSet p_195746_, BitSet p_195747_, List<byte[]> p_195748_)
    • getSkyYMask

      public BitSet getSkyYMask()
    • getEmptySkyYMask

      public BitSet getEmptySkyYMask()
    • getSkyUpdates

      public List<byte[]> getSkyUpdates()
    • getBlockYMask

      public BitSet getBlockYMask()
    • getEmptyBlockYMask

      public BitSet getEmptyBlockYMask()
    • getBlockUpdates

      public List<byte[]> getBlockUpdates()