net.minecraft.nbt

public class ListTag

extends CollectionTag<Tag>

All mapped superinterfaces:

Tag

st
net.minecraft.nbt.ListTag
net.minecraft.class_2499
net.minecraft.nbt.NbtList
net.minecraft.src.C_4930_
net.minecraft.nbt.NBTTagList

Field summary

Modifier and TypeField
private static final int
b
SELF_SIZE_IN_BYTES
field_41725
SIZE
f_263445_
public static final TagType<ListTag>
a
TYPE
field_21039
TYPE
f_128714_
private final List<Tag>
c
list
field_11550
value
f_128716_
private byte
w
type
field_11551
type
f_128717_

Constructor summary

ModifierConstructor
(List<Tag> list, byte type)
public ()

Method summary

Modifier and TypeMethod
public void
a(DataOutput arg0)
write(DataOutput arg0)
method_10713(DataOutput arg0)
write(DataOutput arg0)
m_6434_(DataOutput arg0)
public int
a()
sizeInBytes()
method_47988()
getSizeInBytes()
m_263179_()
public byte
b()
getId()
method_10711()
getType()
m_7060_()
public TagType<ListTag>
c()
getType()
method_23258()
getNbtType()
m_6458_()
private void
g()
updateTypeAfterRemove()
method_17809()
forgetTypeIfEmpty()
m_128769_()
public Tag
c(int arg0)
remove(int arg0)
method_10536(int arg0)
remove(int arg0)
remove(int arg0)
public boolean
isEmpty()
isEmpty()
isEmpty()
public CompoundTag
a(int arg0)
getCompound(int arg0)
method_10602(int arg0)
getCompound(int index)
m_128728_(int arg0)
public ListTag
b(int arg0)
getList(int arg0)
method_10603(int arg0)
getList(int index)
m_128744_(int arg0)
public short
d(int arg0)
getShort(int arg0)
method_10609(int arg0)
getShort(int index)
m_128757_(int arg0)
public int
e(int arg0)
getInt(int arg0)
method_10600(int arg0)
getInt(int index)
m_128763_(int arg0)
public int[]
f(int arg0)
getIntArray(int arg0)
method_36111(int arg0)
getIntArray(int index)
m_128767_(int arg0)
public long[]
g(int arg0)
getLongArray(int arg0)
method_36112(int arg0)
getLongArray(int index)
m_177991_(int arg0)
public double
h(int arg0)
getDouble(int arg0)
method_10611(int arg0)
getDouble(int index)
m_128772_(int arg0)
public float
i(int arg0)
getFloat(int arg0)
method_10604(int arg0)
getFloat(int index)
m_128775_(int arg0)
public String
j(int arg0)
getString(int arg0)
method_10608(int arg0)
getString(int index)
m_128778_(int arg0)
public int
size()
size()
size()
public Tag
k(int arg0)
get(int arg0)
method_10534(int arg0)
get(int arg0)
get(int arg0)
public Tag
d(int arg0, tk arg1)
set(int arg0, Tag arg1)
method_10606(int arg0, class_2520 arg1)
set(int arg0, NbtElement arg1)
set(int p_128761_, C_4950_ arg1)
public void
c(int arg0, tk arg1)
add(int arg0, Tag arg1)
method_10531(int arg0, class_2520 arg1)
add(int arg0, NbtElement arg1)
add(int p_128754_, C_4950_ arg1)
public boolean
a(int arg0, tk arg1)
setTag(int arg0, Tag arg1)
method_10535(int arg0, class_2520 arg1)
setElement(int arg0, NbtElement arg1)
m_7615_(int p_128732_, C_4950_ arg1)
public boolean
b(int arg0, tk arg1)
addTag(int arg0, Tag arg1)
method_10533(int arg0, class_2520 arg1)
addElement(int arg0, NbtElement arg1)
m_7614_(int p_128748_, C_4950_ arg1)
private boolean
a(tk arg0)
updateType(Tag arg0)
method_10605(class_2520 arg0)
canAdd(NbtElement element)
m_128738_(C_4950_ arg0)
public ListTag
e()
copy()
method_10612()
copy()
m_6426_()
public void
a(to arg0)
accept(TagVisitor arg0)
method_32289(class_5627 arg0)
accept(NbtElementVisitor arg0)
m_142327_(C_141838_ arg0)
public byte
f()
getElementType()
method_10601()
getHeldType()
m_7264_()
public void
clear()
clear()
clear()
public StreamTagVisitor$ValueResult
a(th arg0)
accept(StreamTagVisitor arg0)
method_39850(class_6836 arg0)
doAccept(NbtScanner arg0)
m_196533_(C_196121_ arg0)