TYPE - The nbt type of the tagPRIMITIVE_TAG - The nbt type of the array elementsARRAY - The array typePRIMITIVE - The primitive type of the arraypublic interface NbtArray<TYPE extends NbtArray<TYPE,PRIMITIVE_TAG,ARRAY,PRIMITIVE>,PRIMITIVE_TAG extends NbtTag,ARRAY,PRIMITIVE>
extends java.lang.Iterable<PRIMITIVE>
| Modifier and Type | Method | Description |
|---|---|---|
int |
getLength() |
|
ARRAY |
getValue() |
|
boolean |
isEmpty() |
|
TYPE |
setValue(ARRAY value) |
Set the array value.
|
ListTag<PRIMITIVE_TAG> |
toListTag() |
ARRAY getValue()
TYPE setValue(ARRAY value)
value - The new valueint getLength()
boolean isEmpty()
ListTag<PRIMITIVE_TAG> toListTag()
ListTag