net.minecraft.util

public class BitStorage

agg
net.minecraft.util.BitStorage
net.minecraft.class_3508
net.minecraft.util.collection.PackedIntegerArray
net.minecraft.src.C_163_
net.minecraft.util.DataBits

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private int
b(int arg0)
cellIndex(int arg0)
method_27284(int arg0)
getStorageIndex(int index)
m_13522_(int arg0)
public int
a(int arg0, int arg1)
getAndSet(int arg0, int arg1)
method_15214(int arg0, int arg1)
setAndGetOldValue(int index, int value)
m_13516_(int p_13518_, int arg1)
public void
b(int arg0, int arg1)
set(int arg0, int arg1)
method_15210(int arg0, int arg1)
set(int index, int value)
m_13524_(int p_13526_, int arg1)
public int
a(int arg0)
get(int arg0)
method_15211(int arg0)
get(int index)
m_13514_(int arg0)
public long[]
a()
getRaw()
method_15212()
getStorage()
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 consumer)
m_13519_(IntConsumer arg0)