类 ByteArrayTag

    • 字段详细资料

      • field_33188

        private static final int field_33188
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lms;b:I
        intermediary field_33188 Lnet/minecraft/class_2479;field_33188:I
        named field_33188 Lnet/minecraft/nbt/ByteArrayTag;field_33188:I
      • TYPE

        public static final NbtType<ByteArrayTag> TYPE
        Mappings:
        Namespace Name Mixin selector
        official a Lms;a:Lnp;
        intermediary field_21024 Lnet/minecraft/class_2479;field_21024:Lnet/minecraft/class_4614;
        named TYPE Lnet/minecraft/nbt/ByteArrayTag;TYPE:Lnet/minecraft/nbt/NbtType;
      • value

        private byte[] value
        Mappings:
        Namespace Name Mixin selector
        official c Lms;c:[B
        intermediary field_11493 Lnet/minecraft/class_2479;field_11493:[B
        named value Lnet/minecraft/nbt/ByteArrayTag;value:[B
    • 构造器详细资料

      • ByteArrayTag

        public ByteArrayTag​(byte[] value)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lms;<init>([B)V
        intermediary <init> Lnet/minecraft/class_2479;<init>([B)V
        named <init> Lnet/minecraft/nbt/ByteArrayTag;<init>([B)V
      • ByteArrayTag

        public ByteArrayTag​(List<Byte> value)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lms;<init>(Ljava/util/List;)V
        intermediary <init> Lnet/minecraft/class_2479;<init>(Ljava/util/List;)V
        named <init> Lnet/minecraft/nbt/ByteArrayTag;<init>(Ljava/util/List;)V
    • 方法详细资料

      • toArray

        private static byte[] toArray​(List<Byte> list)
        Mappings:
        Namespace Name Mixin selector
        official a Lms;a(Ljava/util/List;)[B
        intermediary method_10522 Lnet/minecraft/class_2479;method_10522(Ljava/util/List;)[B
        named toArray Lnet/minecraft/nbt/ByteArrayTag;toArray(Ljava/util/List;)[B
      • 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<ByteArrayTag> 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<ByteTag>
        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 Tag copy()
        Copies this NBT element.
        返回:
        the copied element
        Mappings:
        Namespace Name Mixin selector
        official c Lnn;c()Lnn;
        intermediary method_10707 Lnet/minecraft/class_2520;method_10707()Lnet/minecraft/class_2520;
        named copy Lnet/minecraft/nbt/Tag;copy()Lnet/minecraft/nbt/Tag;
      • equals

        public boolean equals​(Object o)
        指定者:
        equals 在接口中 Collection<ByteTag>
        指定者:
        equals 在接口中 List<ByteTag>
        覆盖:
        equals 在类中 AbstractList<ByteTag>
        Mappings:
        Namespace Name Mixin selector
        official equals Lms;equals(Ljava/lang/Object;)Z
        intermediary equals Lnet/minecraft/class_2479;equals(Ljava/lang/Object;)Z
        named equals Lnet/minecraft/nbt/ByteArrayTag;equals(Ljava/lang/Object;)Z
      • hashCode

        public int hashCode()
        指定者:
        hashCode 在接口中 Collection<ByteTag>
        指定者:
        hashCode 在接口中 List<ByteTag>
        覆盖:
        hashCode 在类中 AbstractList<ByteTag>
        Mappings:
        Namespace Name Mixin selector
        official hashCode Lms;hashCode()I
        intermediary hashCode Lnet/minecraft/class_2479;hashCode()I
        named hashCode Lnet/minecraft/nbt/ByteArrayTag;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
      • getByteArray

        public byte[] getByteArray()
        Mappings:
        Namespace Name Mixin selector
        official d Lms;d()[B
        intermediary method_10521 Lnet/minecraft/class_2479;method_10521()[B
        named getByteArray Lnet/minecraft/nbt/ByteArrayTag;getByteArray()[B
      • size

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

        public ByteTag get​(int int2)
        指定者:
        get 在接口中 List<ByteTag>
        指定者:
        get 在类中 AbstractList<ByteTag>
        Mappings:
        Namespace Name Mixin selector
        official a Lms;a(I)Lmt;
        intermediary method_10523 Lnet/minecraft/class_2479;method_10523(I)Lnet/minecraft/class_2481;
        named get Lnet/minecraft/nbt/ByteArrayTag;get(I)Lnet/minecraft/nbt/ByteTag;
      • set

        public ByteTag set​(int int2,
                           ByteTag byteTag)
        指定者:
        set 在接口中 List<ByteTag>
        指定者:
        set 在类中 AbstractListTag<ByteTag>
        Mappings:
        Namespace Name Mixin selector
        official a Lms;a(ILmt;)Lmt;
        intermediary method_17803 Lnet/minecraft/class_2479;method_17803(ILnet/minecraft/class_2481;)Lnet/minecraft/class_2481;
        named set Lnet/minecraft/nbt/ByteArrayTag;set(ILnet/minecraft/nbt/ByteTag;)Lnet/minecraft/nbt/ByteTag;
      • method_10531

        public void method_10531​(int int2,
                                 ByteTag byteTag)
        Mappings:
        Namespace Name Mixin selector
        official b Lms;b(ILmt;)V
        intermediary method_17805 Lnet/minecraft/class_2479;method_17805(ILnet/minecraft/class_2481;)V
        named method_10531 Lnet/minecraft/nbt/ByteArrayTag;method_10531(ILnet/minecraft/nbt/ByteTag;)V
      • setElement

        public boolean setElement​(int index,
                                  Tag element)
        指定者:
        setElement 在类中 AbstractListTag<ByteTag>
        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<ByteTag>
        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
      • method_10536

        public ByteTag method_10536​(int int2)
        Mappings:
        Namespace Name Mixin selector
        official b Lms;b(I)Lmt;
        intermediary method_17804 Lnet/minecraft/class_2479;method_17804(I)Lnet/minecraft/class_2481;
        named method_10536 Lnet/minecraft/nbt/ByteArrayTag;method_10536(I)Lnet/minecraft/nbt/ByteTag;
      • getHeldType

        public byte getHeldType()
        Gets the type of element that this list holds.
        指定者:
        getHeldType 在类中 AbstractListTag<ByteTag>
        返回:
        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<ByteTag>
        指定者:
        clear 在接口中 List<ByteTag>
        覆盖:
        clear 在类中 AbstractList<ByteTag>
        Mappings:
        Namespace Name Mixin selector
        official clear Lms;clear()V
        intermediary clear Lnet/minecraft/class_2479;clear()V
        named clear Lnet/minecraft/nbt/ByteArrayTag;clear()V