Class NibbleArray

java.lang.Object
org.geysermc.geyser.level.chunk.NibbleArray
All Implemented Interfaces:
Cloneable

public class NibbleArray extends Object implements Cloneable
  • Constructor Details

    • NibbleArray

      public NibbleArray​(int length)
    • NibbleArray

      public NibbleArray​(byte[] array)
  • Method Details

    • get

      public byte get​(int index)
    • set

      public void set​(int index, byte value)
    • fill

      public void fill​(byte value)
    • copyFrom

      public void copyFrom​(byte[] bytes)
    • copyFrom

      public void copyFrom​(NibbleArray array)
    • getData

      public byte[] getData()
    • copy

      public NibbleArray copy()