| Constructor and Description |
|---|
ListNbt() |
ListNbt(java.lang.Class<T> type) |
ListNbt(java.lang.Class<T> type,
java.util.List<T> value) |
ListNbt(java.util.List<T> list) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T tag) |
boolean |
canAdd(java.lang.Class<? extends INbtTag> type) |
boolean |
canAdd(INbtTag tag) |
boolean |
canAdd(int type) |
INbtTag |
copy() |
boolean |
equals(java.lang.Object o) |
T |
get(int index) |
int |
getId() |
java.lang.Class<T> |
getType() |
java.util.List<T> |
getValue() |
int |
hashCode() |
void |
read(java.io.DataInput in,
NbtReadTracker readTracker) |
void |
remove(T tag) |
void |
set(int index,
T tag) |
void |
setType(java.lang.Class<T> 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(java.lang.Class<T> type)
public ListNbt(java.util.List<T> list)
public java.lang.Class<T> getType()
public void setType(java.lang.Class<T> 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(int type)
public boolean canAdd(java.lang.Class<? extends INbtTag> type)
public boolean trim()
public int size()
public 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()