Package net.minecraft.util.datafix
Class PackedBitStorage
java.lang.Object
net.minecraft.util.datafix.PackedBitStorage
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final int
private final long[]
private final long
private final int
-
Constructor Summary
ConstructorDescriptionPackedBitStorage
(int p_14555_, int p_14556_) PackedBitStorage
(int p_14558_, int p_14559_, long[] p_14560_) -
Method Summary
-
Field Details
-
BIT_TO_LONG_SHIFT
private static final int BIT_TO_LONG_SHIFT- See Also:
-
data
private final long[] data -
bits
private final int bits -
mask
private final long mask -
size
private final int size
-
-
Constructor Details
-
PackedBitStorage
public PackedBitStorage(int p_14555_, int p_14556_) -
PackedBitStorage
public PackedBitStorage(int p_14558_, int p_14559_, long[] p_14560_)
-
-
Method Details
-
set
public void set(int p_14565_, int p_14566_) -
get
public int get(int p_14563_) -
getRaw
public long[] getRaw() -
getBits
public int getBits()
-