Class ImmutableCompactArray<T>
java.lang.Object
net.buildtheearth.terraminusminus.util.ImmutableCompactArray<T>
A compact, immutable array of
BlockStates.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
data
protected final net.daporkchop.lib.binary.bit.BitArray data -
palette
-
-
Constructor Details
-
ImmutableCompactArray
-
-
Method Details
-
get
Gets the value at the given index.- Parameters:
i- the index- Returns:
- the value
-