net.minecraft.util

public class BitStorage

aer
net.minecraft.util.BitStorage
net.minecraft.class_3508
net.minecraft.util.collection.PackedIntegerArray
net.minecraft.util.BitArray
net.minecraft.server.v1_16_R3.DataBits

Field summary

Modifier and TypeField
private static final int[]
a
MAGIC
field_24078
field_24078
field_232981_a_
private final long[]
b
data
field_15631
storage
field_188145_a
private final int
c
bits
field_15633
elementBits
field_188146_b
private final long
d
mask
field_15634
maxValue
field_188147_c
private final int
e
size
field_15632
size
field_188148_d
private final int
f
valuesPerLong
field_24079
field_24079
field_232982_f_
private final int
g
divideMul
field_24080
field_24080
field_232983_g_
private final int
h
divideAdd
field_24081
field_24081
field_232984_h_
private final int
i
divideShift
field_24082
field_24082
field_232985_i_

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)
method_27284(int arg0)
func_232986_b_(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)
func_219789_a(int arg0, 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)
func_188141_a(int arg0, int arg1)
public int
a(int arg0)
get(int arg0)
method_15211(int arg0)
get(int index)
func_188142_a(int arg0)
public long[]
a()
getRaw()
method_15212()
getStorage()
func_188143_a()
public int
b()
getSize()
method_15215()
getSize()
func_188144_b()
public void
a(IntConsumer arg0)
getAll(IntConsumer arg0)
method_21739(IntConsumer arg0)
forEach(IntConsumer consumer)
func_225421_a(IntConsumer arg0)