Class IntArrayTag

All Implemented Interfaces:
Iterable<IntTag>, Collection<IntTag>, List<IntTag>, Tag

public class IntArrayTag
extends AbstractListTag<IntTag>
Mappings:
Namespace Name
official mu
intermediary net/minecraft/class_2495
named net/minecraft/nbt/IntArrayTag
  • Field Details

    • READER

      public static final TagReader<IntArrayTag> 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

      public IntArrayTag​(List<Integer> value)
      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

      private static int[] toArray​(List<Integer> list)
      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

      public void write​(DataOutput output) throws IOException
      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

      public TagReader<IntArrayTag> 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

      public String toString()
      Specified by:
      toString in interface Tag
      Overrides:
      toString in class AbstractCollection<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

      public IntArrayTag 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

      public boolean equals​(Object o)
      Specified by:
      equals in interface Collection<IntTag>
      Specified by:
      equals in interface List<IntTag>
      Overrides:
      equals in class AbstractList<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 interface Collection<IntTag>
      Specified by:
      hashCode in interface List<IntTag>
      Overrides:
      hashCode in class AbstractList<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

      public void accept​(NbtTagVisitor visitor)
      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 interface Collection<IntTag>
      Specified by:
      size in interface List<IntTag>
      Specified by:
      size in class AbstractCollection<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

      public IntTag get​(int int2)
      Specified by:
      get in interface List<IntTag>
      Specified by:
      get in class AbstractList<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

      public IntTag set​(int int2, IntTag intTag)
      Specified by:
      set in interface List<IntTag>
      Specified by:
      set in class AbstractListTag<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

      public void add​(int int2, IntTag intTag)
      Specified by:
      add in interface List<IntTag>
      Specified by:
      add in class AbstractListTag<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

      public boolean setTag​(int index, Tag tag)
      Specified by:
      setTag in class AbstractListTag<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

      public boolean addTag​(int index, Tag tag)
      Specified by:
      addTag in class AbstractListTag<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

      public IntTag remove​(int int2)
      Specified by:
      remove in interface List<IntTag>
      Specified by:
      remove in class AbstractListTag<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 class AbstractListTag<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 interface Collection<IntTag>
      Specified by:
      clear in interface List<IntTag>
      Overrides:
      clear in class AbstractList<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