net.minecraft.world.level.chunk

public final class DataLayer

cqu
net.minecraft.world.level.chunk.DataLayer
net.minecraft.class_2804
net.minecraft.world.chunk.ChunkNibbleArray
net.minecraft.src.C_2131_
net.minecraft.world.level.chunk.NibbleArray

Field summary

Modifier and TypeField
public static final int
a
LAYER_COUNT
field_34052
COPY_TIMES
f_182480_
public static final int
b
LAYER_SIZE
field_31404
COPY_BLOCK_SIZE
f_156339_
public static final int
c
SIZE
field_31403
BYTES_LENGTH
f_156338_
private static final int
e
NIBBLE_SIZE
field_31405
NIBBLE_BITS
f_156340_
protected byte[]
d
data
field_12783
bytes
f_62551_

Constructor summary

ModifierConstructor
public ()
public (byte[] bytes)
protected (int size)

Method summary

Modifier and TypeMethod
public int
a(int arg0, int arg1, int arg2)
get(int arg0, int arg1, int arg2)
method_12139(int arg0, int arg1, int arg2)
get(int x, int y, int z)
m_62560_(int p_62562_, int p_62563_, int arg2)
public void
a(int arg0, int arg1, int arg2, int arg3)
set(int arg0, int arg1, int arg2, int arg3)
method_12145(int arg0, int arg1, int arg2, int arg3)
set(int x, int y, int z, int value)
m_62564_(int p_62566_, int p_62567_, int p_62568_, int arg3)
private static int
b(int arg0, int arg1, int arg2)
getIndex(int arg0, int arg1, int arg2)
method_12140(int arg0, int arg1, int arg2)
getIndex(int arg0, int x, int y)
m_6406_(int p_62572_, int p_62573_, int p_62574_)
private int
b(int arg0)
get(int arg0)
method_12141(int arg0)
get(int index)
m_62570_(int arg0)
private void
a(int arg0, int arg1)
set(int arg0, int arg1)
method_12142(int arg0, int arg1)
set(int index, int value)
m_62557_(int p_62559_, int arg1)
private static int
c(int arg0)
getNibbleIndex(int arg0)
method_37459(int arg0)
occupiesSmallerBits(int i)
m_182481_(int p_182482_)
private static int
d(int arg0)
getByteIndex(int arg0)
method_12138(int arg0)
getArrayIndex(int i)
m_62578_(int p_62579_)
public byte[]
a()
getData()
method_12137()
asByteArray()
m_7877_()
public DataLayer
b()
copy()
method_12144()
copy()
m_62569_()
public String
a(int arg0)
layerToString(int arg0)
method_35320(int arg0)
bottomToString(int unused)
m_156341_(int arg0)
public boolean
c()
isEmpty()
method_12146()
isUninitialized()
m_62575_()