Package net.minecraft.nbt
Class IntArrayTag
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate int[]private static final intstatic final TagType<IntArrayTag>Fields inherited from class java.util.AbstractListmodCountFields inherited from interface net.minecraft.nbt.TagARRAY_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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaccept(StreamTagVisitor p_197474_) voidaccept(TagVisitor p_177869_) voidbooleanvoidclear()copy()booleanget(int p_128608_) int[]bytebytegetId()getType()inthashCode()remove(int p_128627_) booleanintsize()intprivate static int[]toString()voidwrite(DataOutput p_128616_) Methods inherited from class java.util.AbstractListadd, addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollectionaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.ListaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayMethods inherited from interface net.minecraft.nbt.TagacceptAsRoot, getAsString
- 
Field Details- 
SELF_SIZE_IN_BYTESprivate static final int SELF_SIZE_IN_BYTES- See Also:
 
- 
TYPE
- 
dataprivate int[] data
 
- 
- 
Constructor Details- 
IntArrayTagpublic IntArrayTag(int[] p_128605_) 
- 
IntArrayTag
 
- 
- 
Method Details- 
toArray
- 
write- Throws:
- IOException
 
- 
sizeInBytespublic int sizeInBytes()
- 
getIdpublic byte getId()
- 
getType
- 
toString- Specified by:
- toStringin interface- Tag
- Overrides:
- toStringin class- AbstractCollection<IntTag>
 
- 
copy
- 
equals- Specified by:
- equalsin interface- Collection<IntTag>
- Specified by:
- equalsin interface- List<IntTag>
- Overrides:
- equalsin class- AbstractList<IntTag>
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein interface- Collection<IntTag>
- Specified by:
- hashCodein interface- List<IntTag>
- Overrides:
- hashCodein class- AbstractList<IntTag>
 
- 
getAsIntArraypublic int[] getAsIntArray()
- 
accept
- 
sizepublic int size()- Specified by:
- sizein interface- Collection<IntTag>
- Specified by:
- sizein interface- List<IntTag>
- Specified by:
- sizein class- AbstractCollection<IntTag>
 
- 
get
- 
set
- 
add
- 
setTag- Specified by:
- setTagin class- CollectionTag<IntTag>
 
- 
addTag- Specified by:
- addTagin class- CollectionTag<IntTag>
 
- 
remove
- 
getElementTypepublic byte getElementType()- Specified by:
- getElementTypein class- CollectionTag<IntTag>
 
- 
clearpublic void clear()- Specified by:
- clearin interface- Collection<IntTag>
- Specified by:
- clearin interface- List<IntTag>
- Overrides:
- clearin class- AbstractList<IntTag>
 
- 
accept
 
-