Files

389 B

INBTList.toArray

← INBTList · ← Master

Parça 3/3 · önceki

Add NBT list at the end of the list

toArray

java.lang.Object[] toArray()

Turns a NBT list into a Java array.

var tag = mappet.createCompound("{id:[0,2,4]}");

c.send(tag.get("id").toArray()[1]); // 2

Returns: an array of the list's elements