类 StringTag

  • 所有已实现的接口:
    Tag

    public class StringTag
    extends Object
    implements Tag
    Represents an NBT string.
    Mappings:
    Namespace Name
    official nl
    intermediary net/minecraft/class_2519
    named net/minecraft/nbt/StringTag
    • 字段详细资料

      • field_33241

        private static final int field_33241
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lnl;b:I
        intermediary field_33241 Lnet/minecraft/class_2519;field_33241:I
        named field_33241 Lnet/minecraft/nbt/StringTag;field_33241:I
      • TYPE

        public static final NbtType<StringTag> TYPE
        Mappings:
        Namespace Name Mixin selector
        official a Lnl;a:Lnp;
        intermediary field_21045 Lnet/minecraft/class_2519;field_21045:Lnet/minecraft/class_4614;
        named TYPE Lnet/minecraft/nbt/StringTag;TYPE:Lnet/minecraft/nbt/NbtType;
      • EMPTY

        private static final StringTag EMPTY
        Mappings:
        Namespace Name Mixin selector
        official c Lnl;c:Lnl;
        intermediary field_21046 Lnet/minecraft/class_2519;field_21046:Lnet/minecraft/class_2519;
        named EMPTY Lnet/minecraft/nbt/StringTag;EMPTY:Lnet/minecraft/nbt/StringTag;
      • field_33242

        private static final char field_33242
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official w Lnl;w:C
        intermediary field_33242 Lnet/minecraft/class_2519;field_33242:C
        named field_33242 Lnet/minecraft/nbt/StringTag;field_33242:C
      • field_33243

        private static final char field_33243
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official x Lnl;x:C
        intermediary field_33243 Lnet/minecraft/class_2519;field_33243:C
        named field_33243 Lnet/minecraft/nbt/StringTag;field_33243:C
      • field_33244

        private static final char field_33244
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official y Lnl;y:C
        intermediary field_33244 Lnet/minecraft/class_2519;field_33244:C
        named field_33244 Lnet/minecraft/nbt/StringTag;field_33244:C
      • field_33245

        private static final char field_33245
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official z Lnl;z:C
        intermediary field_33245 Lnet/minecraft/class_2519;field_33245:C
        named field_33245 Lnet/minecraft/nbt/StringTag;field_33245:C
      • value

        private final String value
        Mappings:
        Namespace Name Mixin selector
        official A Lnl;A:Ljava/lang/String;
        intermediary field_11590 Lnet/minecraft/class_2519;field_11590:Ljava/lang/String;
        named value Lnet/minecraft/nbt/StringTag;value:Ljava/lang/String;
    • 构造器详细资料

      • StringTag

        private StringTag​(String value)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lnl;<init>(Ljava/lang/String;)V
        intermediary <init> Lnet/minecraft/class_2519;<init>(Ljava/lang/String;)V
        named <init> Lnet/minecraft/nbt/StringTag;<init>(Ljava/lang/String;)V
    • 方法详细资料

      • of

        public static StringTag of​(String value)
        Mappings:
        Namespace Name Mixin selector
        official a Lnl;a(Ljava/lang/String;)Lnl;
        intermediary method_23256 Lnet/minecraft/class_2519;method_23256(Ljava/lang/String;)Lnet/minecraft/class_2519;
        named of Lnet/minecraft/nbt/StringTag;of(Ljava/lang/String;)Lnet/minecraft/nbt/StringTag;
      • write

        public void write​(DataOutput output)
                   throws IOException
        指定者:
        write 在接口中 Tag
        抛出:
        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.
        指定者:
        getType 在接口中 Tag
        返回:
        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<StringTag> getNbtType()
        Gets the NBT type definition of this NBT element.
        指定者:
        getNbtType 在接口中 Tag
        返回:
        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 在类中 Object
        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 StringTag copy()
        从接口复制的说明: Tag
        Copies this NBT element.
        指定者:
        copy 在接口中 Tag
        返回:
        the copied element
        Mappings:
        Namespace Name Mixin selector
        official d Lnl;d()Lnl;
        intermediary method_10705 Lnet/minecraft/class_2519;method_10705()Lnet/minecraft/class_2519;
        named copy Lnet/minecraft/nbt/StringTag;copy()Lnet/minecraft/nbt/StringTag;
      • equals

        public boolean equals​(Object o)
        覆盖:
        equals 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official equals Lnl;equals(Ljava/lang/Object;)Z
        intermediary equals Lnet/minecraft/class_2519;equals(Ljava/lang/Object;)Z
        named equals Lnet/minecraft/nbt/StringTag;equals(Ljava/lang/Object;)Z
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official hashCode Lnl;hashCode()I
        intermediary hashCode Lnet/minecraft/class_2519;hashCode()I
        named hashCode Lnet/minecraft/nbt/StringTag;hashCode()I
      • asString

        public String asString()
        指定者:
        asString 在接口中 Tag
        Mappings:
        Namespace Name Mixin selector
        official e_ Lnn;e_()Ljava/lang/String;
        intermediary method_10714 Lnet/minecraft/class_2520;method_10714()Ljava/lang/String;
        named asString Lnet/minecraft/nbt/Tag;asString()Ljava/lang/String;
      • accept

        public void accept​(NbtElementVisitor visitor)
        指定者:
        accept 在接口中 Tag
        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
      • escape

        public static String escape​(String value)
        Mappings:
        Namespace Name Mixin selector
        official b Lnl;b(Ljava/lang/String;)Ljava/lang/String;
        intermediary method_10706 Lnet/minecraft/class_2519;method_10706(Ljava/lang/String;)Ljava/lang/String;
        named escape Lnet/minecraft/nbt/StringTag;escape(Ljava/lang/String;)Ljava/lang/String;