Package net.minecraft.text
Class Text.Serialization
java.lang.Object
net.minecraft.text.Text.Serialization
- Enclosing interface:
Text
- Mappings:
Namespace Name named net/minecraft/text/Text$Serialization
intermediary net/minecraft/class_2561$class_2562
official wz$a
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static MutableText
fromJson
(JsonElement json, RegistryWrapper.WrapperLookup registries) static @Nullable MutableText
fromJson
(String json, RegistryWrapper.WrapperLookup registries) static @Nullable MutableText
fromJsonTree
(@Nullable JsonElement json, RegistryWrapper.WrapperLookup registries) static @Nullable MutableText
fromLenientJson
(String json, RegistryWrapper.WrapperLookup registries) (package private) static JsonElement
toJson
(Text text, RegistryWrapper.WrapperLookup registries) static String
toJsonString
(Text text, RegistryWrapper.WrapperLookup registries)
-
Field Details
-
GSON
- Mappings:
Namespace Name Mixin selector named GSON
Lnet/minecraft/text/Text$Serialization;GSON:Lcom/google/gson/Gson;
intermediary field_11754
Lnet/minecraft/class_2561$class_2562;field_11754:Lcom/google/gson/Gson;
official a
Lwz$a;a:Lcom/google/gson/Gson;
-
-
Constructor Details
-
Serialization
private Serialization()
-
-
Method Details
-
fromJson
- Mappings:
Namespace Name Mixin selector named fromJson
Lnet/minecraft/text/Text$Serialization;fromJson(Lcom/google/gson/JsonElement;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/text/MutableText;
intermediary method_10871
Lnet/minecraft/class_2561$class_2562;method_10871(Lcom/google/gson/JsonElement;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_5250;
official b
Lwz$a;b(Lcom/google/gson/JsonElement;Ljo$a;)Lxn;
-
toJson
- Mappings:
Namespace Name Mixin selector named toJson
Lnet/minecraft/text/Text$Serialization;toJson(Lnet/minecraft/text/Text;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lcom/google/gson/JsonElement;
intermediary method_10874
Lnet/minecraft/class_2561$class_2562;method_10874(Lnet/minecraft/class_2561;Lnet/minecraft/class_7225$class_7874;)Lcom/google/gson/JsonElement;
official b
Lwz$a;b(Lwz;Ljo$a;)Lcom/google/gson/JsonElement;
-
toJsonString
- Mappings:
Namespace Name Mixin selector named toJsonString
Lnet/minecraft/text/Text$Serialization;toJsonString(Lnet/minecraft/text/Text;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Ljava/lang/String;
intermediary method_10867
Lnet/minecraft/class_2561$class_2562;method_10867(Lnet/minecraft/class_2561;Lnet/minecraft/class_7225$class_7874;)Ljava/lang/String;
official a
Lwz$a;a(Lwz;Ljo$a;)Ljava/lang/String;
-
fromJson
@Nullable public static @Nullable MutableText fromJson(String json, RegistryWrapper.WrapperLookup registries) - Mappings:
Namespace Name Mixin selector named fromJson
Lnet/minecraft/text/Text$Serialization;fromJson(Ljava/lang/String;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/text/MutableText;
intermediary method_10877
Lnet/minecraft/class_2561$class_2562;method_10877(Ljava/lang/String;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_5250;
official a
Lwz$a;a(Ljava/lang/String;Ljo$a;)Lxn;
-
fromJsonTree
@Nullable public static @Nullable MutableText fromJsonTree(@Nullable @Nullable JsonElement json, RegistryWrapper.WrapperLookup registries) - Mappings:
Namespace Name Mixin selector named fromJsonTree
Lnet/minecraft/text/Text$Serialization;fromJsonTree(Lcom/google/gson/JsonElement;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/text/MutableText;
intermediary method_10872
Lnet/minecraft/class_2561$class_2562;method_10872(Lcom/google/gson/JsonElement;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_5250;
official a
Lwz$a;a(Lcom/google/gson/JsonElement;Ljo$a;)Lxn;
-
fromLenientJson
@Nullable public static @Nullable MutableText fromLenientJson(String json, RegistryWrapper.WrapperLookup registries) - Mappings:
Namespace Name Mixin selector named fromLenientJson
Lnet/minecraft/text/Text$Serialization;fromLenientJson(Ljava/lang/String;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/text/MutableText;
intermediary method_10873
Lnet/minecraft/class_2561$class_2562;method_10873(Ljava/lang/String;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_5250;
official b
Lwz$a;b(Ljava/lang/String;Ljo$a;)Lxn;
-