Package net.minecraft.nbt
Class CollectionNBT<T extends INBT>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<T>
-
- net.minecraft.nbt.CollectionNBT<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.List<T>
,INBT
- Direct Known Subclasses:
ByteArrayNBT
,IntArrayNBT
,ListNBT
,LongArrayNBT
public abstract class CollectionNBT<T extends INBT> extends java.util.AbstractList<T> implements INBT
-
-
Field Summary
-
Fields inherited from interface net.minecraft.nbt.INBT
SYNTAX_HIGHLIGHTING_KEY, SYNTAX_HIGHLIGHTING_NUMBER, SYNTAX_HIGHLIGHTING_NUMBER_TYPE, SYNTAX_HIGHLIGHTING_STRING
-
-
Constructor Summary
Constructors Constructor Description CollectionNBT()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
add(int p_add_1_, T p_add_2_)
abstract boolean
addTag(int p_218660_1_, INBT p_218660_2_)
abstract byte
getElementType()
abstract T
remove(int p_remove_1_)
abstract T
set(int p_set_1_, T p_set_2_)
abstract boolean
setTag(int p_218659_1_, INBT p_218659_2_)
-
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 net.minecraft.nbt.INBT
copy, getAsString, getId, getPrettyDisplay, getPrettyDisplay, getType, toString, write
-
-
-
-
Method Detail
-
add
public abstract void add(int p_add_1_, T p_add_2_)
-
remove
public abstract T remove(int p_remove_1_)
-
setTag
public abstract boolean setTag(int p_218659_1_, INBT p_218659_2_)
-
addTag
public abstract boolean addTag(int p_218660_1_, INBT p_218660_2_)
-
getElementType
public abstract byte getElementType()
-
-