net.minecraft.util

public class SimpleBitStorage

implements BitStorage

aom
net.minecraft.util.SimpleBitStorage
net.minecraft.class_3508
net.minecraft.util.collection.PackedIntegerArray
net.minecraft.src.C_182786_
net.minecraft.util.SimpleBitStorage

Field summary

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

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)
m_184739_(int arg0)
public int
a(int arg0, int arg1)
getAndSet(int arg0, int arg1)
method_15214(int arg0, int arg1)
swap(int arg0, int arg1)
m_13516_(int p_184732_, 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)
m_13524_(int p_184743_, int arg1)
public int
a(int arg0)
get(int arg0)
method_15211(int arg0)
get(int arg0)
m_13514_(int arg0)
public long[]
a()
getRaw()
method_15212()
getData()
m_13513_()
public int
b()
getSize()
method_15215()
getSize()
m_13521_()
public int
c()
getBits()
method_34896()
getElementBits()
m_144604_()
public void
a(IntConsumer arg0)
getAll(IntConsumer arg0)
method_21739(IntConsumer arg0)
forEach(IntConsumer arg0)
m_13519_(IntConsumer arg0)
public void
a(int[] arg0)
unpack(int[] arg0)
method_39892(int[] arg0)
method_39892(int[] arg0)
m_197970_(int[] arg0)
public BitStorage
d()
copy()
method_39939()
copy()
m_199833_()