Package net.minecraft.nbt
Class IntArrayTag
public class IntArrayTag extends AbstractListTag<IntTag>
- Mappings:
Namespace Name official mu
intermediary net/minecraft/class_2495
named net/minecraft/nbt/IntArrayTag
-
Field Summary
Fields Modifier and Type Field Description static TagReader<IntArrayTag>
READER
private int[]
value
Fields 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 void
accept(NbtTagVisitor visitor)
void
add(int int2, IntTag intTag)
boolean
addTag(int index, Tag tag)
void
clear()
IntArrayTag
copy()
boolean
equals(Object o)
IntTag
get(int int2)
byte
getElementType()
int[]
getIntArray()
TagReader<IntArrayTag>
getReader()
byte
getType()
int
hashCode()
IntTag
remove(int int2)
IntTag
set(int int2, IntTag intTag)
boolean
setTag(int index, Tag tag)
int
size()
private static int[]
toArray(List<Integer> list)
String
toString()
void
write(DataOutput output)
Methods inherited from class java.util.AbstractList
add, addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
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, sort, spliterator, toArray, toArray
-
Field Details
-
READER
- Mappings:
Namespace Name Mixin selector official a
Lmu;a:Lnk;
intermediary field_21036
Lnet/minecraft/class_2495;field_21036:Lnet/minecraft/class_4614;
named READER
Lnet/minecraft/nbt/IntArrayTag;READER:Lnet/minecraft/nbt/TagReader;
-
value
private int[] value- Mappings:
Namespace Name Mixin selector official b
Lmu;b:[I
intermediary field_11524
Lnet/minecraft/class_2495;field_11524:[I
named value
Lnet/minecraft/nbt/IntArrayTag;value:[I
-
-
Constructor Details
-
IntArrayTag
public IntArrayTag(int[] value)- Mappings:
Namespace Name Mixin selector official <init>
Lmu;<init>([I)V
intermediary <init>
Lnet/minecraft/class_2495;<init>([I)V
named <init>
Lnet/minecraft/nbt/IntArrayTag;<init>([I)V
-
IntArrayTag
- Mappings:
Namespace Name Mixin selector official <init>
Lmu;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_2495;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/nbt/IntArrayTag;<init>(Ljava/util/List;)V
-
-
Method Details
-
toArray
- Mappings:
Namespace Name Mixin selector official a
Lmu;a(Ljava/util/List;)[I
intermediary method_10590
Lnet/minecraft/class_2495;method_10590(Ljava/util/List;)[I
named toArray
Lnet/minecraft/nbt/IntArrayTag;toArray(Ljava/util/List;)[I
-
write
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lni;a(Ljava/io/DataOutput;)V
intermediary method_10713
Lnet/minecraft/class_2520;method_10713(Ljava/io/DataOutput;)V
named write
Lnet/minecraft/nbt/Tag;write(Ljava/io/DataOutput;)V
-
getType
public byte getType()- Mappings:
Namespace Name Mixin selector official a
Lni;a()B
intermediary method_10711
Lnet/minecraft/class_2520;method_10711()B
named getType
Lnet/minecraft/nbt/Tag;getType()B
-
getReader
- Mappings:
Namespace Name Mixin selector official b
Lni;b()Lnk;
intermediary method_23258
Lnet/minecraft/class_2520;method_23258()Lnet/minecraft/class_4614;
named getReader
Lnet/minecraft/nbt/Tag;getReader()Lnet/minecraft/nbt/TagReader;
-
toString
- Specified by:
toString
in interfaceTag
- Overrides:
toString
in classAbstractCollection<IntTag>
- Mappings:
Namespace Name Mixin selector official toString
Lni;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_2520;toString()Ljava/lang/String;
named toString
Lnet/minecraft/nbt/Tag;toString()Ljava/lang/String;
-
copy
- Mappings:
Namespace Name Mixin selector official d
Lmu;d()Lmu;
intermediary method_10591
Lnet/minecraft/class_2495;method_10591()Lnet/minecraft/class_2495;
named copy
Lnet/minecraft/nbt/IntArrayTag;copy()Lnet/minecraft/nbt/IntArrayTag;
-
equals
- Specified by:
equals
in interfaceCollection<IntTag>
- Specified by:
equals
in interfaceList<IntTag>
- Overrides:
equals
in classAbstractList<IntTag>
- Mappings:
Namespace Name Mixin selector official equals
Lmu;equals(Ljava/lang/Object;)Z
intermediary equals
Lnet/minecraft/class_2495;equals(Ljava/lang/Object;)Z
named equals
Lnet/minecraft/nbt/IntArrayTag;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<IntTag>
- Specified by:
hashCode
in interfaceList<IntTag>
- Overrides:
hashCode
in classAbstractList<IntTag>
- Mappings:
Namespace Name Mixin selector official hashCode
Lmu;hashCode()I
intermediary hashCode
Lnet/minecraft/class_2495;hashCode()I
named hashCode
Lnet/minecraft/nbt/IntArrayTag;hashCode()I
-
getIntArray
public int[] getIntArray()- Mappings:
Namespace Name Mixin selector official f
Lmu;f()[I
intermediary method_10588
Lnet/minecraft/class_2495;method_10588()[I
named getIntArray
Lnet/minecraft/nbt/IntArrayTag;getIntArray()[I
-
accept
- Mappings:
Namespace Name Mixin selector official a
Lni;a(Lnm;)V
intermediary method_32289
Lnet/minecraft/class_2520;method_32289(Lnet/minecraft/class_5627;)V
named accept
Lnet/minecraft/nbt/Tag;accept(Lnet/minecraft/nbt/visitor/NbtTagVisitor;)V
-
size
public int size()- Specified by:
size
in interfaceCollection<IntTag>
- Specified by:
size
in interfaceList<IntTag>
- Specified by:
size
in classAbstractCollection<IntTag>
- Mappings:
Namespace Name Mixin selector official size
Lmu;size()I
intermediary size
Lnet/minecraft/class_2495;size()I
named size
Lnet/minecraft/nbt/IntArrayTag;size()I
-
get
- Specified by:
get
in interfaceList<IntTag>
- Specified by:
get
in classAbstractList<IntTag>
- Mappings:
Namespace Name Mixin selector official a
Lmu;a(I)Lmv;
intermediary method_10589
Lnet/minecraft/class_2495;method_10589(I)Lnet/minecraft/class_2497;
named get
Lnet/minecraft/nbt/IntArrayTag;get(I)Lnet/minecraft/nbt/IntTag;
-
set
- Specified by:
set
in interfaceList<IntTag>
- Specified by:
set
in classAbstractListTag<IntTag>
- Mappings:
Namespace Name Mixin selector official a
Lmu;a(ILmv;)Lmv;
intermediary method_17806
Lnet/minecraft/class_2495;method_17806(ILnet/minecraft/class_2497;)Lnet/minecraft/class_2497;
named set
Lnet/minecraft/nbt/IntArrayTag;set(ILnet/minecraft/nbt/IntTag;)Lnet/minecraft/nbt/IntTag;
-
add
- Specified by:
add
in interfaceList<IntTag>
- Specified by:
add
in classAbstractListTag<IntTag>
- Mappings:
Namespace Name Mixin selector official b
Lmu;b(ILmv;)V
intermediary method_17808
Lnet/minecraft/class_2495;method_17808(ILnet/minecraft/class_2497;)V
named add
Lnet/minecraft/nbt/IntArrayTag;add(ILnet/minecraft/nbt/IntTag;)V
-
setTag
- Specified by:
setTag
in classAbstractListTag<IntTag>
- Mappings:
Namespace Name Mixin selector official a
Lmp;a(ILni;)Z
intermediary method_10535
Lnet/minecraft/class_2483;method_10535(ILnet/minecraft/class_2520;)Z
named setTag
Lnet/minecraft/nbt/AbstractListTag;setTag(ILnet/minecraft/nbt/Tag;)Z
-
addTag
- Specified by:
addTag
in classAbstractListTag<IntTag>
- Mappings:
Namespace Name Mixin selector official b
Lmp;b(ILni;)Z
intermediary method_10533
Lnet/minecraft/class_2483;method_10533(ILnet/minecraft/class_2520;)Z
named addTag
Lnet/minecraft/nbt/AbstractListTag;addTag(ILnet/minecraft/nbt/Tag;)Z
-
remove
- Specified by:
remove
in interfaceList<IntTag>
- Specified by:
remove
in classAbstractListTag<IntTag>
- Mappings:
Namespace Name Mixin selector official b
Lmu;b(I)Lmv;
intermediary method_17807
Lnet/minecraft/class_2495;method_17807(I)Lnet/minecraft/class_2497;
named remove
Lnet/minecraft/nbt/IntArrayTag;remove(I)Lnet/minecraft/nbt/IntTag;
-
getElementType
public byte getElementType()- Specified by:
getElementType
in classAbstractListTag<IntTag>
- Mappings:
Namespace Name Mixin selector official e_
Lmp;e_()B
intermediary method_10601
Lnet/minecraft/class_2483;method_10601()B
named getElementType
Lnet/minecraft/nbt/AbstractListTag;getElementType()B
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<IntTag>
- Specified by:
clear
in interfaceList<IntTag>
- Overrides:
clear
in classAbstractList<IntTag>
- Mappings:
Namespace Name Mixin selector official clear
Lmu;clear()V
intermediary clear
Lnet/minecraft/class_2495;clear()V
named clear
Lnet/minecraft/nbt/IntArrayTag;clear()V
-