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$b
intermediary net/minecraft/class_2561$class_8822
named net/minecraft/text/Text$class_8822
  • 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:
      deserialize in interface com.google.gson.JsonDeserializer<MutableText>
      Throws:
      com.google.gson.JsonParseException
      Mappings:
      Namespace Name Mixin selector
      official a Ltl$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ltz;
      intermediary method_54161 Lnet/minecraft/class_2561$class_8822;method_54161(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_5250;
      named deserialize Lnet/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:
      serialize in interface com.google.gson.JsonSerializer<Text>
      Mappings:
      Namespace Name Mixin selector
      official a Ltl$b;a(Ltl;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      intermediary method_54162 Lnet/minecraft/class_2561$class_8822;method_54162(Lnet/minecraft/class_2561;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      named serialize Lnet/minecraft/text/Text$class_8822;serialize(Lnet/minecraft/text/Text;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;