Package net.minecraft

Class class_1988

java.lang.Object
net.minecraft.class_1988
All Implemented Interfaces:
JsonDeserializer, JsonSerializer

public class class_1988 extends Object implements JsonDeserializer, JsonSerializer
Mappings:
Namespace Name
official hx
intermediary net/minecraft/class_1988
named net/minecraft/class_1988
  • Constructor Details

    • class_1988

      public class_1988()
  • Method Details

    • deserialize

      public Style deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      deserialize in interface JsonDeserializer
      Mappings:
      Namespace Name Mixin selector
      official a Lhx;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lhv;
      intermediary method_7523 Lnet/minecraft/class_1988;method_7523(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_1986;
      named deserialize Lnet/minecraft/class_1988;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/text/Style;
    • serialize

      public JsonElement serialize(Style style, Type type, JsonSerializationContext jsonSerializationContext)
      Mappings:
      Namespace Name Mixin selector
      official a Lhx;a(Lhv;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      intermediary method_7524 Lnet/minecraft/class_1988;method_7524(Lnet/minecraft/class_1986;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      named serialize Lnet/minecraft/class_1988;serialize(Lnet/minecraft/text/Style;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;