classSource
public final class NbtList
implements NbtTag- Implemented interfaces
- NbtTag
Constructors
public NbtList(byte elementId)| Parameters | ||
|---|---|---|
elementId | byte | |
Methods
void add(NbtTag)NbtList copy()Deep copy, tags that can't change anyway just return themselvesbyte elementId()List<NbtTag> elements()byte id()int size()public void add(NbtTag tag)| Parameters | ||
|---|---|---|
tag | NbtTag | |
public NbtList copy()Deep copy, tags that can't change anyway just return themselves
| Returns | ||
|---|---|---|
NbtList | ||
Implements NbtTag.copy(), description copied from there
public byte elementId()| Returns | ||
|---|---|---|
byte | ||
public List<NbtTag> elements()public byte id()| Returns | ||
|---|---|---|
byte | ||
Implements NbtTag.id()
public int size()| Returns | ||
|---|---|---|
int | ||
Used by
Methods of other types that accept or return NbtList.