Class Pow2BitArray
java.lang.Object
org.geysermc.geyser.level.chunk.bitarray.Pow2BitArray
- All Implemented Interfaces:
BitArray
-
Method Details
-
set
public void set(int index, int value)Sets the entry at the given location to the given value -
get
public int get(int index)Gets the entry at the given index -
size
public int size()Gets the long array that is used to store the data in this BitArray. This is useful for sending packet data. -
getWords
public int[] getWords() -
getVersion
- Specified by:
getVersion
in interfaceBitArray
-
copy
-