Package net.minecraft.nbt
Class IntArrayTag
public class IntArrayTag extends AbstractListTag<IntTag>
- Mappings:
Namespace Name official muintermediary net/minecraft/class_2495named net/minecraft/nbt/IntArrayTag
-
Field Summary
Fields Modifier and Type Field Description static TagReader<IntArrayTag>READERprivate int[]valueFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors Constructor Description IntArrayTag(int[] value)IntArrayTag(List<Integer> value) -
Method Summary
Modifier and Type Method Description voidaccept(NbtTagVisitor visitor)voidadd(int int2, IntTag intTag)booleanaddTag(int index, Tag tag)voidclear()IntArrayTagcopy()booleanequals(Object o)IntTagget(int int2)bytegetElementType()int[]getIntArray()TagReader<IntArrayTag>getReader()bytegetType()inthashCode()IntTagremove(int int2)IntTagset(int int2, IntTag intTag)booleansetTag(int index, Tag tag)intsize()private static int[]toArray(List<Integer> list)StringtoString()voidwrite(DataOutput output)Methods inherited from class java.util.AbstractList
add, addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Field Details
-
READER
- Mappings:
Namespace Name Mixin selector official aLmu;a:Lnk;intermediary field_21036Lnet/minecraft/class_2495;field_21036:Lnet/minecraft/class_4614;named READERLnet/minecraft/nbt/IntArrayTag;READER:Lnet/minecraft/nbt/TagReader;
-
value
private int[] value- Mappings:
Namespace Name Mixin selector official bLmu;b:[Iintermediary field_11524Lnet/minecraft/class_2495;field_11524:[Inamed valueLnet/minecraft/nbt/IntArrayTag;value:[I
-
-
Constructor Details
-
IntArrayTag
public IntArrayTag(int[] value)- Mappings:
Namespace Name Mixin selector official <init>Lmu;<init>([I)Vintermediary <init>Lnet/minecraft/class_2495;<init>([I)Vnamed <init>Lnet/minecraft/nbt/IntArrayTag;<init>([I)V
-
IntArrayTag
- Mappings:
Namespace Name Mixin selector official <init>Lmu;<init>(Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_2495;<init>(Ljava/util/List;)Vnamed <init>Lnet/minecraft/nbt/IntArrayTag;<init>(Ljava/util/List;)V
-
-
Method Details
-
toArray
- Mappings:
Namespace Name Mixin selector official aLmu;a(Ljava/util/List;)[Iintermediary method_10590Lnet/minecraft/class_2495;method_10590(Ljava/util/List;)[Inamed toArrayLnet/minecraft/nbt/IntArrayTag;toArray(Ljava/util/List;)[I
-
write
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLni;a(Ljava/io/DataOutput;)Vintermediary method_10713Lnet/minecraft/class_2520;method_10713(Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/Tag;write(Ljava/io/DataOutput;)V
-
getType
public byte getType()- Mappings:
Namespace Name Mixin selector official aLni;a()Bintermediary method_10711Lnet/minecraft/class_2520;method_10711()Bnamed getTypeLnet/minecraft/nbt/Tag;getType()B
-
getReader
- Mappings:
Namespace Name Mixin selector official bLni;b()Lnk;intermediary method_23258Lnet/minecraft/class_2520;method_23258()Lnet/minecraft/class_4614;named getReaderLnet/minecraft/nbt/Tag;getReader()Lnet/minecraft/nbt/TagReader;
-
toString
- Specified by:
toStringin interfaceTag- Overrides:
toStringin classAbstractCollection<IntTag>- Mappings:
Namespace Name Mixin selector official toStringLni;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_2520;toString()Ljava/lang/String;named toStringLnet/minecraft/nbt/Tag;toString()Ljava/lang/String;
-
copy
- Mappings:
Namespace Name Mixin selector official dLmu;d()Lmu;intermediary method_10591Lnet/minecraft/class_2495;method_10591()Lnet/minecraft/class_2495;named copyLnet/minecraft/nbt/IntArrayTag;copy()Lnet/minecraft/nbt/IntArrayTag;
-
equals
- Specified by:
equalsin interfaceCollection<IntTag>- Specified by:
equalsin interfaceList<IntTag>- Overrides:
equalsin classAbstractList<IntTag>- Mappings:
Namespace Name Mixin selector official equalsLmu;equals(Ljava/lang/Object;)Zintermediary equalsLnet/minecraft/class_2495;equals(Ljava/lang/Object;)Znamed equalsLnet/minecraft/nbt/IntArrayTag;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<IntTag>- Specified by:
hashCodein interfaceList<IntTag>- Overrides:
hashCodein classAbstractList<IntTag>- Mappings:
Namespace Name Mixin selector official hashCodeLmu;hashCode()Iintermediary hashCodeLnet/minecraft/class_2495;hashCode()Inamed hashCodeLnet/minecraft/nbt/IntArrayTag;hashCode()I
-
getIntArray
public int[] getIntArray()- Mappings:
Namespace Name Mixin selector official fLmu;f()[Iintermediary method_10588Lnet/minecraft/class_2495;method_10588()[Inamed getIntArrayLnet/minecraft/nbt/IntArrayTag;getIntArray()[I
-
accept
- Mappings:
Namespace Name Mixin selector official aLni;a(Lnm;)Vintermediary method_32289Lnet/minecraft/class_2520;method_32289(Lnet/minecraft/class_5627;)Vnamed acceptLnet/minecraft/nbt/Tag;accept(Lnet/minecraft/nbt/visitor/NbtTagVisitor;)V
-
size
public int size()- Specified by:
sizein interfaceCollection<IntTag>- Specified by:
sizein interfaceList<IntTag>- Specified by:
sizein classAbstractCollection<IntTag>- Mappings:
Namespace Name Mixin selector official sizeLmu;size()Iintermediary sizeLnet/minecraft/class_2495;size()Inamed sizeLnet/minecraft/nbt/IntArrayTag;size()I
-
get
- Specified by:
getin interfaceList<IntTag>- Specified by:
getin classAbstractList<IntTag>- Mappings:
Namespace Name Mixin selector official aLmu;a(I)Lmv;intermediary method_10589Lnet/minecraft/class_2495;method_10589(I)Lnet/minecraft/class_2497;named getLnet/minecraft/nbt/IntArrayTag;get(I)Lnet/minecraft/nbt/IntTag;
-
set
- Specified by:
setin interfaceList<IntTag>- Specified by:
setin classAbstractListTag<IntTag>- Mappings:
Namespace Name Mixin selector official aLmu;a(ILmv;)Lmv;intermediary method_17806Lnet/minecraft/class_2495;method_17806(ILnet/minecraft/class_2497;)Lnet/minecraft/class_2497;named setLnet/minecraft/nbt/IntArrayTag;set(ILnet/minecraft/nbt/IntTag;)Lnet/minecraft/nbt/IntTag;
-
add
- Specified by:
addin interfaceList<IntTag>- Specified by:
addin classAbstractListTag<IntTag>- Mappings:
Namespace Name Mixin selector official bLmu;b(ILmv;)Vintermediary method_17808Lnet/minecraft/class_2495;method_17808(ILnet/minecraft/class_2497;)Vnamed addLnet/minecraft/nbt/IntArrayTag;add(ILnet/minecraft/nbt/IntTag;)V
-
setTag
- Specified by:
setTagin classAbstractListTag<IntTag>- Mappings:
Namespace Name Mixin selector official aLmp;a(ILni;)Zintermediary method_10535Lnet/minecraft/class_2483;method_10535(ILnet/minecraft/class_2520;)Znamed setTagLnet/minecraft/nbt/AbstractListTag;setTag(ILnet/minecraft/nbt/Tag;)Z
-
addTag
- Specified by:
addTagin classAbstractListTag<IntTag>- Mappings:
Namespace Name Mixin selector official bLmp;b(ILni;)Zintermediary method_10533Lnet/minecraft/class_2483;method_10533(ILnet/minecraft/class_2520;)Znamed addTagLnet/minecraft/nbt/AbstractListTag;addTag(ILnet/minecraft/nbt/Tag;)Z
-
remove
- Specified by:
removein interfaceList<IntTag>- Specified by:
removein classAbstractListTag<IntTag>- Mappings:
Namespace Name Mixin selector official bLmu;b(I)Lmv;intermediary method_17807Lnet/minecraft/class_2495;method_17807(I)Lnet/minecraft/class_2497;named removeLnet/minecraft/nbt/IntArrayTag;remove(I)Lnet/minecraft/nbt/IntTag;
-
getElementType
public byte getElementType()- Specified by:
getElementTypein classAbstractListTag<IntTag>- Mappings:
Namespace Name Mixin selector official e_Lmp;e_()Bintermediary method_10601Lnet/minecraft/class_2483;method_10601()Bnamed getElementTypeLnet/minecraft/nbt/AbstractListTag;getElementType()B
-
clear
public void clear()- Specified by:
clearin interfaceCollection<IntTag>- Specified by:
clearin interfaceList<IntTag>- Overrides:
clearin classAbstractList<IntTag>- Mappings:
Namespace Name Mixin selector official clearLmu;clear()Vintermediary clearLnet/minecraft/class_2495;clear()Vnamed clearLnet/minecraft/nbt/IntArrayTag;clear()V
-