net.minecraft.util

public class SimpleBitStorage

implements BitStorage

azo
net.minecraft.util.SimpleBitStorage
net.minecraft.class_3508
net.minecraft.util.collection.PackedIntegerArray
net.minecraft.util.SimpleBitStorage

Field summary

Modifier and TypeField
private static final int[]
a
MAGIC
field_24078
INDEX_PARAMETERS
private final long[]
b
data
field_15631
data
private final int
c
bits
field_15633
elementBits
private final long
d
mask
field_15634
maxValue
private final int
e
size
field_15632
size
private final int
f
valuesPerLong
field_24079
elementsPerLong
private final int
g
divideMul
field_24080
indexScale
private final int
h
divideAdd
field_24081
indexOffset
private final int
i
divideShift
field_24082
indexShift

Constructor summary

ModifierConstructor
public (int elementBits, int size, int[] data)
public (int elementBits, int size)
public (int elementBits, int size, long[] data)

Method summary

Modifier and TypeMethod
private int
b(int arg0)
cellIndex(int arg0)
method_27284(int arg0)
getStorageIndex(int index)
public int
a(int arg0, int arg1)
getAndSet(int arg0, int arg1)
method_15214(int arg0, int arg1)
swap(int arg0, int arg1)
public void
b(int arg0, int arg1)
set(int arg0, int arg1)
method_15210(int arg0, int arg1)
set(int arg0, int arg1)
public int
a(int arg0)
get(int arg0)
method_15211(int arg0)
get(int arg0)
public long[]
a()
getRaw()
method_15212()
getData()
public int
b()
getSize()
method_15215()
getSize()
public int
c()
getBits()
method_34896()
getElementBits()
public void
a(IntConsumer arg0)
getAll(IntConsumer arg0)
method_21739(IntConsumer arg0)
forEach(IntConsumer arg0)
public void
a(int[] arg0)
unpack(int[] arg0)
method_39892(int[] arg0)
writePaletteIndices(int[] arg0)
public BitStorage
d()
copy()
method_39939()
copy()