public interface ReadWriteNBTCompoundList extends ReadableNBTList<ReadWriteNBT>
Modifier and Type | Method and Description |
---|---|
ReadWriteNBT |
addCompound()
Adds a new compound tag to the current compound tag
|
ReadWriteNBT |
addCompound(ReadableNBT comp)
Adds a copy of the Compound to the end of the List and returns it.
|
void |
clear()
Clears the contents of the list
|
ReadWriteNBT |
remove(int i)
Removes the element at the specified position in this list
|
boolean |
removeIf(Predicate<? super ReadWriteNBT> pred)
Removes all elements of this list that satisfy the given predicate
|
contains, containsAll, get, getType, indexOf, isEmpty, lastIndexOf, size, subList, toArray, toArray, toListCopy
forEach, iterator, spliterator
ReadWriteNBT addCompound()
ReadWriteNBT addCompound(ReadableNBT comp)
comp
- ReadWriteNBT remove(int i)
i
- The index of the element to remove.void clear()
boolean removeIf(Predicate<? super ReadWriteNBT> pred)
pred
- The predicate to use to test elements.Copyright © 2015–2024 tr7zw. All rights reserved.