Package net.minecraft.text
Class Text.class_8822
java.lang.Object
net.minecraft.text.Text.class_8822
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<MutableText>,com.google.gson.JsonSerializer<Text>
- Enclosing interface:
Text
public static class Text.class_8822
extends Object
implements com.google.gson.JsonDeserializer<MutableText>, com.google.gson.JsonSerializer<Text>
- Mappings:
Namespace Name official tl$bintermediary net/minecraft/class_2561$class_8822named net/minecraft/text/Text$class_8822
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) com.google.gson.JsonElement
-
Constructor Details
-
class_8822
public class_8822()
-
-
Method Details
-
deserialize
public MutableText deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException - Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<MutableText>- Throws:
com.google.gson.JsonParseException- Mappings:
Namespace Name Mixin selector official aLtl$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ltz;intermediary method_54161Lnet/minecraft/class_2561$class_8822;method_54161(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_5250;named deserializeLnet/minecraft/text/Text$class_8822;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/text/MutableText;
-
serialize
public com.google.gson.JsonElement serialize(Text text, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext) - Specified by:
serializein interfacecom.google.gson.JsonSerializer<Text>- Mappings:
Namespace Name Mixin selector official aLtl$b;a(Ltl;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;intermediary method_54162Lnet/minecraft/class_2561$class_8822;method_54162(Lnet/minecraft/class_2561;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;named serializeLnet/minecraft/text/Text$class_8822;serialize(Lnet/minecraft/text/Text;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-