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
    • trustEdges

      private final boolean trustEdges
  • Constructor Details

    • ClientboundLightUpdatePacketData

      public ClientboundLightUpdatePacketData(ChunkPos p_195731_, LevelLightEngine p_195732_, @Nullable BitSet p_195733_, @Nullable BitSet p_195734_, boolean p_195735_)
    • 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()
    • getTrustEdges

      public boolean getTrustEdges()