net.minecraft.nbt

public class ByteArrayTag

extends CollectionTag<ByteTag>

All mapped superinterfaces:

Tag

mx
net.minecraft.nbt.ByteArrayTag
net.minecraft.class_2479
net.minecraft.nbt.NbtByteArray
net.minecraft.src.C_4911_
net.minecraft.nbt.NBTTagByteArray

Field summary

Modifier and TypeField
private static final int
b
SELF_SIZE_IN_BITS
field_33188
field_33188
f_177837_
public static final TagType<ByteArrayTag>
a
TYPE
field_21024
TYPE
f_128185_
private byte[]
c
data
field_11493
value
f_128186_

Constructor summary

ModifierConstructor
public (byte[] value)
public (List<Byte> value)

Method summary

Modifier and TypeMethod
private static byte[]
a(List<Byte> arg0)
toArray(List<Byte> arg0)
method_10522(List<Byte> arg0)
toArray(List<Byte> list)
m_128206_(List<Byte> p_128207_)
public void
a(DataOutput arg0)
write(DataOutput arg0)
method_10713(DataOutput arg0)
write(DataOutput arg0)
m_6434_(DataOutput arg0)
write(DataOutput arg0)
public byte
a()
getId()
method_10711()
getType()
m_7060_()
getTypeId()
public TagType<ByteArrayTag>
b()
getType()
method_23258()
getNbtType()
m_6458_()
public Tag
c()
copy()
method_10707()
copy()
m_6426_()
clone()
public void
a(nw arg0)
accept(TagVisitor arg0)
method_32289(class_5627 arg0)
accept(NbtElementVisitor arg0)
m_142327_(C_141838_ arg0)
public byte[]
d()
getAsByteArray()
method_10521()
getByteArray()
m_128227_()
getBytes()
public int
size()
size()
size()
public ByteTag
a(int arg0)
get(int arg0)
method_10523(int arg0)
get(int arg0)
get(int arg0)
public ByteTag
a(int arg0, my arg1)
set(int arg0, ByteTag arg1)
method_17803(int arg0, class_2481 arg1)
set(int arg0, NbtByte arg1)
set(int p_128197_, C_4913_ arg1)
public void
b(int arg0, my arg1)
add(int arg0, ByteTag arg1)
method_17805(int arg0, class_2481 arg1)
method_10531(int arg0, NbtByte arg1)
add(int p_128216_, C_4913_ arg1)
public boolean
a(int arg0, ns arg1)
setTag(int arg0, Tag arg1)
method_10535(int arg0, class_2520 arg1)
setElement(int arg0, NbtElement arg1)
m_7615_(int p_128200_, C_4950_ arg1)
public boolean
b(int arg0, ns arg1)
addTag(int arg0, Tag arg1)
method_10533(int arg0, class_2520 arg1)
addElement(int arg0, NbtElement arg1)
m_7614_(int p_128219_, C_4950_ arg1)
public ByteTag
b(int arg0)
remove(int arg0)
method_17804(int arg0)
method_10536(int arg0)
remove(int arg0)
public byte
e()
getElementType()
method_10601()
getHeldType()
m_7264_()
public void
clear()
clear()
clear()