Package net.minecraft.nbt
Class StringTag
java.lang.Object
net.minecraft.nbt.StringTag
- All Implemented Interfaces:
Tag
public class StringTag extends Object implements Tag
- Mappings:
Namespace Name official ng
intermediary net/minecraft/class_2519
named net/minecraft/nbt/StringTag
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
accept(NbtTagVisitor visitor)
String
asString()
StringTag
copy()
boolean
equals(Object o)
static String
escape(String value)
TagReader<StringTag>
getReader()
byte
getType()
int
hashCode()
static StringTag
of(String value)
String
toString()
void
write(DataOutput output)
-
Field Details
-
READER
- Mappings:
Namespace Name Mixin selector official a
Lng;a:Lnk;
intermediary field_21045
Lnet/minecraft/class_2519;field_21045:Lnet/minecraft/class_4614;
named READER
Lnet/minecraft/nbt/StringTag;READER:Lnet/minecraft/nbt/TagReader;
-
EMPTY
- Mappings:
Namespace Name Mixin selector official b
Lng;b:Lng;
intermediary field_21046
Lnet/minecraft/class_2519;field_21046:Lnet/minecraft/class_2519;
named EMPTY
Lnet/minecraft/nbt/StringTag;EMPTY:Lnet/minecraft/nbt/StringTag;
-
value
- Mappings:
Namespace Name Mixin selector official c
Lng;c: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;
-
-
Constructor Details
-
StringTag
- Mappings:
Namespace Name Mixin selector official <init>
Lng;<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
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Lng;a(Ljava/lang/String;)Lng;
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
- Specified by:
write
in interfaceTag
- 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() -
getReader
-
toString
- Specified by:
toString
in interfaceTag
- Overrides:
toString
in classObject
- 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
-
equals
-
hashCode
public int hashCode() -
asString
-
accept
-
escape
- Mappings:
Namespace Name Mixin selector official b
Lng;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;
-