Package org.geysermc.geyser.level.chunk
Class NibbleArray
java.lang.Object
org.geysermc.geyser.level.chunk.NibbleArray
- All Implemented Interfaces:
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
-
getData
public byte[] getData() -
copy
-