类 LongArrayTag

    • 字段详细资料

      • field_33200

        private static final int field_33200
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lnc;b:I
        intermediary field_33200 Lnet/minecraft/class_2501;field_33200:I
        named field_33200 Lnet/minecraft/nbt/LongArrayTag;field_33200:I
      • TYPE

        public static final NbtType<LongArrayTag> TYPE
        Mappings:
        Namespace Name Mixin selector
        official a Lnc;a:Lnp;
        intermediary field_21040 Lnet/minecraft/class_2501;field_21040:Lnet/minecraft/class_4614;
        named TYPE Lnet/minecraft/nbt/LongArrayTag;TYPE:Lnet/minecraft/nbt/NbtType;
      • value

        private long[] value
        Mappings:
        Namespace Name Mixin selector
        official c Lnc;c:[J
        intermediary field_11552 Lnet/minecraft/class_2501;field_11552:[J
        named value Lnet/minecraft/nbt/LongArrayTag;value:[J
    • 构造器详细资料

      • LongArrayTag

        public LongArrayTag​(long[] value)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lnc;<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> Lnc;<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> Lnc;<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
    • 方法详细资料

      • toArray

        private static long[] toArray​(List<Long> list)
        Mappings:
        Namespace Name Mixin selector
        official a Lnc;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
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lnn;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()
        Gets the type of this NBT element.
        返回:
        the type
        Mappings:
        Namespace Name Mixin selector
        official a Lnn;a()B
        intermediary method_10711 Lnet/minecraft/class_2520;method_10711()B
        named getType Lnet/minecraft/nbt/Tag;getType()B
      • getNbtType

        public NbtType<LongArrayTag> getNbtType()
        Gets the NBT type definition of this NBT element.
        返回:
        the element type definition
        Mappings:
        Namespace Name Mixin selector
        official b Lnn;b()Lnp;
        intermediary method_23258 Lnet/minecraft/class_2520;method_23258()Lnet/minecraft/class_4614;
        named getNbtType Lnet/minecraft/nbt/Tag;getNbtType()Lnet/minecraft/nbt/NbtType;
      • toString

        public String toString()
        指定者:
        toString 在接口中 Tag
        覆盖:
        toString 在类中 AbstractCollection<LongTag>
        Mappings:
        Namespace Name Mixin selector
        official toString Lnn;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()
        从接口复制的说明: Tag
        Copies this NBT element.
        返回:
        the copied element
        Mappings:
        Namespace Name Mixin selector
        official d Lnc;d()Lnc;
        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)
        指定者:
        equals 在接口中 Collection<LongTag>
        指定者:
        equals 在接口中 List<LongTag>
        覆盖:
        equals 在类中 AbstractList<LongTag>
        Mappings:
        Namespace Name Mixin selector
        official equals Lnc;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()
        指定者:
        hashCode 在接口中 Collection<LongTag>
        指定者:
        hashCode 在接口中 List<LongTag>
        覆盖:
        hashCode 在类中 AbstractList<LongTag>
        Mappings:
        Namespace Name Mixin selector
        official hashCode Lnc;hashCode()I
        intermediary hashCode Lnet/minecraft/class_2501;hashCode()I
        named hashCode Lnet/minecraft/nbt/LongArrayTag;hashCode()I
      • accept

        public void accept​(NbtElementVisitor visitor)
        Mappings:
        Namespace Name Mixin selector
        official a Lnn;a(Lnr;)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/NbtElementVisitor;)V
      • getLongArray

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

        public int size()
        指定者:
        size 在接口中 Collection<LongTag>
        指定者:
        size 在接口中 List<LongTag>
        指定者:
        size 在类中 AbstractCollection<LongTag>
        Mappings:
        Namespace Name Mixin selector
        official size Lnc;size()I
        intermediary size Lnet/minecraft/class_2501;size()I
        named size Lnet/minecraft/nbt/LongArrayTag;size()I
      • get

        public LongTag get​(int int2)
        指定者:
        get 在接口中 List<LongTag>
        指定者:
        get 在类中 AbstractList<LongTag>
        Mappings:
        Namespace Name Mixin selector
        official a Lnc;a(I)Lnd;
        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 Lnc;a(ILnd;)Lnd;
        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)
        指定者:
        add 在接口中 List<LongTag>
        指定者:
        add 在类中 AbstractListTag<LongTag>
        Mappings:
        Namespace Name Mixin selector
        official b Lnc;b(ILnd;)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
      • setElement

        public boolean setElement​(int index,
                                  Tag element)
        指定者:
        setElement 在类中 AbstractListTag<LongTag>
        Mappings:
        Namespace Name Mixin selector
        official a Lmu;a(ILnn;)Z
        intermediary method_10535 Lnet/minecraft/class_2483;method_10535(ILnet/minecraft/class_2520;)Z
        named setElement Lnet/minecraft/nbt/AbstractListTag;setElement(ILnet/minecraft/nbt/Tag;)Z
      • addElement

        public boolean addElement​(int index,
                                  Tag element)
        指定者:
        addElement 在类中 AbstractListTag<LongTag>
        Mappings:
        Namespace Name Mixin selector
        official b Lmu;b(ILnn;)Z
        intermediary method_10533 Lnet/minecraft/class_2483;method_10533(ILnet/minecraft/class_2520;)Z
        named addElement Lnet/minecraft/nbt/AbstractListTag;addElement(ILnet/minecraft/nbt/Tag;)Z
      • remove

        public LongTag remove​(int int2)
        指定者:
        remove 在接口中 List<LongTag>
        指定者:
        remove 在类中 AbstractListTag<LongTag>
        Mappings:
        Namespace Name Mixin selector
        official b Lnc;b(I)Lnd;
        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;
      • getHeldType

        public byte getHeldType()
        Gets the type of element that this list holds.
        指定者:
        getHeldType 在类中 AbstractListTag<LongTag>
        返回:
        the type of element that this list holds
        Mappings:
        Namespace Name Mixin selector
        official d_ Lmu;d_()B
        intermediary method_10601 Lnet/minecraft/class_2483;method_10601()B
        named getHeldType Lnet/minecraft/nbt/AbstractListTag;getHeldType()B
      • clear

        public void clear()
        指定者:
        clear 在接口中 Collection<LongTag>
        指定者:
        clear 在接口中 List<LongTag>
        覆盖:
        clear 在类中 AbstractList<LongTag>
        Mappings:
        Namespace Name Mixin selector
        official clear Lnc;clear()V
        intermediary clear Lnet/minecraft/class_2501;clear()V
        named clear Lnet/minecraft/nbt/LongArrayTag;clear()V