Class PackedBitStorage

java.lang.Object
net.minecraft.util.datafix.PackedBitStorage

public class PackedBitStorage extends Object
  • Field Details

    • BIT_TO_LONG_SHIFT

      private static final int BIT_TO_LONG_SHIFT
      See Also:
    • data

      private final long[] data
    • bits

      private final int bits
    • mask

      private final long mask
    • size

      private final int size
  • Constructor Details

    • PackedBitStorage

      public PackedBitStorage(int p_14555_, int p_14556_)
    • PackedBitStorage

      public PackedBitStorage(int p_14558_, int p_14559_, long[] p_14560_)
  • Method Details

    • set

      public void set(int p_14565_, int p_14566_)
    • get

      public int get(int p_14563_)
    • getRaw

      public long[] getRaw()
    • getBits

      public int getBits()