| Constructor and Description |
|---|
ListNbt() |
ListNbt(java.util.List<T> list) |
ListNbt(NbtType type) |
ListNbt(NbtType type,
java.util.List<T> value) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T tag) |
boolean |
canAdd(INbtTag tag) |
boolean |
canAdd(NbtType type) |
INbtTag |
copy() |
boolean |
equals(java.lang.Object o) |
T |
get(int index) |
NbtType |
getNbtType() |
NbtType |
getType() |
java.util.List<T> |
getValue() |
int |
hashCode() |
boolean |
isEmpty() |
void |
read(java.io.DataInput in,
NbtReadTracker readTracker) |
void |
remove(T tag) |
void |
set(int index,
T tag) |
void |
setType(NbtType type) |
void |
setValue(java.util.List<T> value) |
int |
size() |
java.lang.String |
toString() |
boolean |
trim() |
void |
write(java.io.DataOutput out) |
public ListNbt()
public ListNbt(NbtType type)
public ListNbt(java.util.List<T> list)
public NbtType getType()
public void setType(NbtType type)
public java.util.List<T> getValue()
public void setValue(java.util.List<T> value)
public T get(int index)
public void add(T tag)
public void set(int index,
T tag)
public void remove(T tag)
public boolean canAdd(INbtTag tag)
public boolean canAdd(NbtType type)
public boolean trim()
public int size()
public boolean isEmpty()
public NbtType getNbtType()
getNbtType in interface INbtTagpublic void read(java.io.DataInput in,
NbtReadTracker readTracker)
throws java.io.IOException
public void write(java.io.DataOutput out)
throws java.io.IOException
public boolean equals(java.lang.Object o)
public int hashCode()