net.minecraft.world.level.chunk

public class DataLayer

duf
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_
private int
f
defaultValue
field_44635
defaultValue
f_279645_

Constructor summary

ModifierConstructor
public ()
public (int defaultValue)
public (byte[] bytes)

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 x, int y, int z)
m_6406_(int p_62572_, int p_62573_, int p_62574_)
private int
d(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
e(int arg0)
getNibbleIndex(int arg0)
method_37459(int arg0)
occupiesSmallerBits(int i)
m_182481_(int p_182482_)
private static int
f(int arg0)
getByteIndex(int arg0)
method_12138(int arg0)
getArrayIndex(int i)
m_62578_(int p_62579_)
public void
a(int arg0)
fill(int arg0)
method_51527(int arg0)
clear(int defaultValue)
m_284173_(int arg0)
private static byte
g(int arg0)
packFilled(int arg0)
method_51381(int arg0)
pack(int value)
m_280353_(int p_282176_)
public byte[]
a()
getData()
method_12137()
asByteArray()
m_7877_()
public DataLayer
b()
copy()
method_12144()
copy()
m_62569_()
public String
b(int arg0)
layerToString(int arg0)
method_35320(int arg0)
bottomToString(int unused)
m_156341_(int arg0)
public boolean
c()
isDefinitelyHomogenous()
method_51380()
isArrayUninitialized()
m_280098_()
public boolean
c(int arg0)
isDefinitelyFilledWith(int arg0)
method_51379(int arg0)
isUninitialized(int expectedDefaultValue)
m_280484_(int arg0)
public boolean
d()
isEmpty()
method_12146()
isUninitialized()
m_62575_()