net.minecraft.world.level.chunk

public class DataLayer

dyy
net.minecraft.world.level.chunk.DataLayer
net.minecraft.class_2804
net.minecraft.world.chunk.ChunkNibbleArray
net.minecraft.world.level.chunk.NibbleArray

Field summary

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

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)
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)
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)
private int
d(int arg0)
get(int arg0)
method_12141(int arg0)
get(int index)
private void
a(int arg0, int arg1)
set(int arg0, int arg1)
method_12142(int arg0, int arg1)
set(int index, int value)
private static int
e(int arg0)
getNibbleIndex(int arg0)
method_37459(int arg0)
occupiesSmallerBits(int i)
private static int
f(int arg0)
getByteIndex(int arg0)
method_12138(int arg0)
getArrayIndex(int i)
public void
a(int arg0)
fill(int arg0)
method_51527(int arg0)
clear(int defaultValue)
private static byte
g(int arg0)
packFilled(int arg0)
method_51381(int arg0)
pack(int value)
public byte[]
a()
getData()
method_12137()
asByteArray()
public DataLayer
b()
copy()
method_12144()
copy()
public String
b(int arg0)
layerToString(int arg0)
method_35320(int arg0)
bottomToString(int unused)
public boolean
c()
isDefinitelyHomogenous()
method_51380()
isArrayUninitialized()
public boolean
c(int arg0)
isDefinitelyFilledWith(int arg0)
method_51379(int arg0)
isUninitialized(int expectedDefaultValue)
public boolean
d()
isEmpty()
method_12146()
isUninitialized()