Class LongArrayTag

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

public class LongArrayTag
extends AbstractListTag<LongTag>
Mappings:
Namespace Name
official mx
intermediary net/minecraft/class_2501
named net/minecraft/nbt/LongArrayTag
  • Field Details

    • READER

      public static final TagReader<LongArrayTag> READER
      Mappings:
      Namespace Name Mixin selector
      official a Lmx;a:Lnk;
      intermediary field_21040 Lnet/minecraft/class_2501;field_21040:Lnet/minecraft/class_4614;
      named READER Lnet/minecraft/nbt/LongArrayTag;READER:Lnet/minecraft/nbt/TagReader;
    • value

      private long[] value
      Mappings:
      Namespace Name Mixin selector
      official b Lmx;b:[J
      intermediary field_11552 Lnet/minecraft/class_2501;field_11552:[J
      named value Lnet/minecraft/nbt/LongArrayTag;value:[J
  • Constructor Details

    • LongArrayTag

      public LongArrayTag​(long[] value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lmx;<init>([J)V
      intermediary <init> Lnet/minecraft/class_2501;<init>([J)V
      named <init> Lnet/minecraft/nbt/LongArrayTag;<init>([J)V
    • LongArrayTag

      public LongArrayTag​(LongSet value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lmx;<init>(Lit/unimi/dsi/fastutil/longs/LongSet;)V
      intermediary <init> Lnet/minecraft/class_2501;<init>(Lit/unimi/dsi/fastutil/longs/LongSet;)V
      named <init> Lnet/minecraft/nbt/LongArrayTag;<init>(Lit/unimi/dsi/fastutil/longs/LongSet;)V
    • LongArrayTag

      public LongArrayTag​(List<Long> value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lmx;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_2501;<init>(Ljava/util/List;)V
      named <init> Lnet/minecraft/nbt/LongArrayTag;<init>(Ljava/util/List;)V
  • Method Details

    • toArray

      private static long[] toArray​(List<Long> list)
      Mappings:
      Namespace Name Mixin selector
      official a Lmx;a(Ljava/util/List;)[J
      intermediary method_10617 Lnet/minecraft/class_2501;method_10617(Ljava/util/List;)[J
      named toArray Lnet/minecraft/nbt/LongArrayTag;toArray(Ljava/util/List;)[J
    • 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<LongArrayTag> 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<LongTag>
      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 LongArrayTag copy()
      Mappings:
      Namespace Name Mixin selector
      official d Lmx;d()Lmx;
      intermediary method_10618 Lnet/minecraft/class_2501;method_10618()Lnet/minecraft/class_2501;
      named copy Lnet/minecraft/nbt/LongArrayTag;copy()Lnet/minecraft/nbt/LongArrayTag;
    • equals

      public boolean equals​(Object o)
      Specified by:
      equals in interface Collection<LongTag>
      Specified by:
      equals in interface List<LongTag>
      Overrides:
      equals in class AbstractList<LongTag>
      Mappings:
      Namespace Name Mixin selector
      official equals Lmx;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_2501;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/nbt/LongArrayTag;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Collection<LongTag>
      Specified by:
      hashCode in interface List<LongTag>
      Overrides:
      hashCode in class AbstractList<LongTag>
      Mappings:
      Namespace Name Mixin selector
      official hashCode Lmx;hashCode()I
      intermediary hashCode Lnet/minecraft/class_2501;hashCode()I
      named hashCode Lnet/minecraft/nbt/LongArrayTag;hashCode()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
    • getLongArray

      public long[] getLongArray()
      Mappings:
      Namespace Name Mixin selector
      official f Lmx;f()[J
      intermediary method_10615 Lnet/minecraft/class_2501;method_10615()[J
      named getLongArray Lnet/minecraft/nbt/LongArrayTag;getLongArray()[J
    • size

      public int size()
      Specified by:
      size in interface Collection<LongTag>
      Specified by:
      size in interface List<LongTag>
      Specified by:
      size in class AbstractCollection<LongTag>
      Mappings:
      Namespace Name Mixin selector
      official size Lmx;size()I
      intermediary size Lnet/minecraft/class_2501;size()I
      named size Lnet/minecraft/nbt/LongArrayTag;size()I
    • get

      public LongTag get​(int int2)
      Specified by:
      get in interface List<LongTag>
      Specified by:
      get in class AbstractList<LongTag>
      Mappings:
      Namespace Name Mixin selector
      official a Lmx;a(I)Lmy;
      intermediary method_10616 Lnet/minecraft/class_2501;method_10616(I)Lnet/minecraft/class_2503;
      named get Lnet/minecraft/nbt/LongArrayTag;get(I)Lnet/minecraft/nbt/LongTag;
    • method_10606

      public LongTag method_10606​(int int2, LongTag longTag)
      Mappings:
      Namespace Name Mixin selector
      official a Lmx;a(ILmy;)Lmy;
      intermediary method_17810 Lnet/minecraft/class_2501;method_17810(ILnet/minecraft/class_2503;)Lnet/minecraft/class_2503;
      named method_10606 Lnet/minecraft/nbt/LongArrayTag;method_10606(ILnet/minecraft/nbt/LongTag;)Lnet/minecraft/nbt/LongTag;
    • add

      public void add​(int int2, LongTag longTag)
      Specified by:
      add in interface List<LongTag>
      Specified by:
      add in class AbstractListTag<LongTag>
      Mappings:
      Namespace Name Mixin selector
      official b Lmx;b(ILmy;)V
      intermediary method_17812 Lnet/minecraft/class_2501;method_17812(ILnet/minecraft/class_2503;)V
      named add Lnet/minecraft/nbt/LongArrayTag;add(ILnet/minecraft/nbt/LongTag;)V
    • setTag

      public boolean setTag​(int index, Tag tag)
      Specified by:
      setTag in class AbstractListTag<LongTag>
      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<LongTag>
      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 LongTag remove​(int int2)
      Specified by:
      remove in interface List<LongTag>
      Specified by:
      remove in class AbstractListTag<LongTag>
      Mappings:
      Namespace Name Mixin selector
      official b Lmx;b(I)Lmy;
      intermediary method_17811 Lnet/minecraft/class_2501;method_17811(I)Lnet/minecraft/class_2503;
      named remove Lnet/minecraft/nbt/LongArrayTag;remove(I)Lnet/minecraft/nbt/LongTag;
    • getElementType

      public byte getElementType()
      Specified by:
      getElementType in class AbstractListTag<LongTag>
      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<LongTag>
      Specified by:
      clear in interface List<LongTag>
      Overrides:
      clear in class AbstractList<LongTag>
      Mappings:
      Namespace Name Mixin selector
      official clear Lmx;clear()V
      intermediary clear Lnet/minecraft/class_2501;clear()V
      named clear Lnet/minecraft/nbt/LongArrayTag;clear()V