Package net.minecraft.text
Class Text.Serialization
java.lang.Object
net.minecraft.text.Text.Serialization
- Enclosing interface:
Text
- Mappings:
Namespace Name official vf$a
intermediary net/minecraft/class_2561$class_2562
named net/minecraft/text/Text$Serialization
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static MutableText
fromJson
(JsonElement json) static @Nullable MutableText
static @Nullable MutableText
fromJsonTree
(@Nullable JsonElement json) static @Nullable MutableText
fromLenientJson
(String json) (package private) static JsonElement
static String
toJsonString
(Text text) static JsonElement
toJsonTree
(Text text)
-
Field Details
-
GSON
- Mappings:
Namespace Name Mixin selector official a
Lvf$a;a:Lcom/google/gson/Gson;
intermediary field_11754
Lnet/minecraft/class_2561$class_2562;field_11754:Lcom/google/gson/Gson;
named GSON
Lnet/minecraft/text/Text$Serialization;GSON:Lcom/google/gson/Gson;
-
-
Constructor Details
-
Serialization
private Serialization()
-
-
Method Details
-
fromJson
- Mappings:
Namespace Name Mixin selector official b
Lvf$a;b(Lcom/google/gson/JsonElement;)Lvt;
intermediary method_10871
Lnet/minecraft/class_2561$class_2562;method_10871(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_5250;
named fromJson
Lnet/minecraft/text/Text$Serialization;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/text/MutableText;
-
toJson
- Mappings:
Namespace Name Mixin selector official c
Lvf$a;c(Lvf;)Lcom/google/gson/JsonElement;
intermediary method_10874
Lnet/minecraft/class_2561$class_2562;method_10874(Lnet/minecraft/class_2561;)Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/text/Text$Serialization;toJson(Lnet/minecraft/text/Text;)Lcom/google/gson/JsonElement;
-
toJsonString
- Mappings:
Namespace Name Mixin selector official a
Lvf$a;a(Lvf;)Ljava/lang/String;
intermediary method_10867
Lnet/minecraft/class_2561$class_2562;method_10867(Lnet/minecraft/class_2561;)Ljava/lang/String;
named toJsonString
Lnet/minecraft/text/Text$Serialization;toJsonString(Lnet/minecraft/text/Text;)Ljava/lang/String;
-
toJsonTree
- Mappings:
Namespace Name Mixin selector official b
Lvf$a;b(Lvf;)Lcom/google/gson/JsonElement;
intermediary method_10868
Lnet/minecraft/class_2561$class_2562;method_10868(Lnet/minecraft/class_2561;)Lcom/google/gson/JsonElement;
named toJsonTree
Lnet/minecraft/text/Text$Serialization;toJsonTree(Lnet/minecraft/text/Text;)Lcom/google/gson/JsonElement;
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lvf$a;a(Ljava/lang/String;)Lvt;
intermediary method_10877
Lnet/minecraft/class_2561$class_2562;method_10877(Ljava/lang/String;)Lnet/minecraft/class_5250;
named fromJson
Lnet/minecraft/text/Text$Serialization;fromJson(Ljava/lang/String;)Lnet/minecraft/text/MutableText;
-
fromJsonTree
- Mappings:
Namespace Name Mixin selector official a
Lvf$a;a(Lcom/google/gson/JsonElement;)Lvt;
intermediary method_10872
Lnet/minecraft/class_2561$class_2562;method_10872(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_5250;
named fromJsonTree
Lnet/minecraft/text/Text$Serialization;fromJsonTree(Lcom/google/gson/JsonElement;)Lnet/minecraft/text/MutableText;
-
fromLenientJson
- Mappings:
Namespace Name Mixin selector official b
Lvf$a;b(Ljava/lang/String;)Lvt;
intermediary method_10873
Lnet/minecraft/class_2561$class_2562;method_10873(Ljava/lang/String;)Lnet/minecraft/class_5250;
named fromLenientJson
Lnet/minecraft/text/Text$Serialization;fromLenientJson(Ljava/lang/String;)Lnet/minecraft/text/MutableText;
-