net.minecraft.nbt

public class ListTag

extends CollectionTag<Tag>

All mapped superinterfaces:

Tag

tw
net.minecraft.nbt.ListTag
net.minecraft.class_2499
net.minecraft.nbt.NbtList
net.minecraft.nbt.NBTTagList

Field summary

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

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)
public int
a()
sizeInBytes()
method_47988()
getSizeInBytes()
public byte
b()
getId()
method_10711()
getType()
public TagType<ListTag>
c()
getType()
method_23258()
getNbtType()
private void
g()
updateTypeAfterRemove()
method_17809()
forgetTypeIfEmpty()
public Tag
c(int arg0)
remove(int arg0)
method_10536(int arg0)
remove(int arg0)
public boolean
isEmpty()
isEmpty()
public CompoundTag
a(int arg0)
getCompound(int arg0)
method_10602(int arg0)
getCompound(int index)
public ListTag
b(int arg0)
getList(int arg0)
method_10603(int arg0)
getList(int index)
public short
d(int arg0)
getShort(int arg0)
method_10609(int arg0)
getShort(int index)
public int
e(int arg0)
getInt(int arg0)
method_10600(int arg0)
getInt(int index)
public int[]
f(int arg0)
getIntArray(int arg0)
method_36111(int arg0)
getIntArray(int index)
public long[]
g(int arg0)
getLongArray(int arg0)
method_36112(int arg0)
getLongArray(int index)
public double
h(int arg0)
getDouble(int arg0)
method_10611(int arg0)
getDouble(int index)
public float
i(int arg0)
getFloat(int arg0)
method_10604(int arg0)
getFloat(int index)
public String
j(int arg0)
getString(int arg0)
method_10608(int arg0)
getString(int index)
public int
size()
size()
public Tag
k(int arg0)
get(int arg0)
method_10534(int arg0)
get(int arg0)
public Tag
d(int arg0, un arg1)
set(int arg0, Tag arg1)
method_10606(int arg0, class_2520 arg1)
set(int arg0, NbtElement arg1)
public void
c(int arg0, un arg1)
add(int arg0, Tag arg1)
method_10531(int arg0, class_2520 arg1)
add(int arg0, NbtElement arg1)
public boolean
a(int arg0, un arg1)
setTag(int arg0, Tag arg1)
method_10535(int arg0, class_2520 arg1)
setElement(int arg0, NbtElement arg1)
public boolean
b(int arg0, un arg1)
addTag(int arg0, Tag arg1)
method_10533(int arg0, class_2520 arg1)
addElement(int arg0, NbtElement arg1)
private boolean
a(un arg0)
updateType(Tag arg0)
method_10605(class_2520 arg0)
canAdd(NbtElement element)
public ListTag
e()
copy()
method_10612()
copy()
public void
a(ur arg0)
accept(TagVisitor arg0)
method_32289(class_5627 arg0)
accept(NbtElementVisitor arg0)
public byte
f()
getElementType()
method_10601()
getHeldType()
public void
clear()
clear()
public StreamTagVisitor$ValueResult
a(uk arg0)
accept(StreamTagVisitor arg0)
method_39850(class_6836 arg0)
doAccept(NbtScanner arg0)