Package net.minecraft.nbt
Class CollectionTag<T extends Tag>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
net.minecraft.nbt.CollectionTag<T>
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,List<T>
,Tag
- Direct Known Subclasses:
ByteArrayTag
,IntArrayTag
,ListTag
,LongArrayTag
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
Fields inherited from interface net.minecraft.nbt.Tag
ARRAY_HEADER, MAX_DEPTH, OBJECT_HEADER, OBJECT_REFERENCE, STRING_SIZE, TAG_ANY_NUMERIC, TAG_BYTE, TAG_BYTE_ARRAY, TAG_COMPOUND, TAG_DOUBLE, TAG_END, TAG_FLOAT, TAG_INT, TAG_INT_ARRAY, TAG_LIST, TAG_LONG, TAG_LONG_ARRAY, TAG_SHORT, TAG_STRING
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
Methods inherited from interface net.minecraft.nbt.Tag
accept, accept, acceptAsRoot, copy, getAsString, getId, getType, sizeInBytes, toString, write
-
Constructor Details
-
CollectionTag
public CollectionTag()
-
-
Method Details
-
set
-
add
-
remove
-
setTag
-
addTag
-
getElementType
public abstract byte getElementType()
-