java.lang.Object
com.github.retrooper.packetevents.protocol.world.chunk.storage.BaseStorage
com.github.retrooper.packetevents.protocol.world.chunk.storage.BitStorage

public class BitStorage extends BaseStorage
  • Constructor Details

    • BitStorage

      public BitStorage(int bitsPerEntry, int size)
    • BitStorage

      public BitStorage(int bitsPerEntry, int size, long[] data)
  • Method Details

    • getData

      public long[] getData()
      Specified by:
      getData in class BaseStorage
    • getBitsPerEntry

      public int getBitsPerEntry()
      Specified by:
      getBitsPerEntry in class BaseStorage
    • getSize

      public int getSize()
    • get

      public int get(int index)
      Specified by:
      get in class BaseStorage
    • set

      public void set(int index, int value)
      Specified by:
      set in class BaseStorage