Class LowercaseEnumTypeAdapterFactory

java.lang.Object
net.minecraft.util.LowercaseEnumTypeAdapterFactory
All Implemented Interfaces:
com.google.gson.TypeAdapterFactory

public class LowercaseEnumTypeAdapterFactory extends Object implements com.google.gson.TypeAdapterFactory
Mappings:
Namespace Name
official art
intermediary net/minecraft/class_3530
named net/minecraft/util/LowercaseEnumTypeAdapterFactory
  • Constructor Details

    • LowercaseEnumTypeAdapterFactory

      public LowercaseEnumTypeAdapterFactory()
  • Method Details

    • create

      @Nullable public <T> @Nullable com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> typeToken)
      Specified by:
      create in interface com.google.gson.TypeAdapterFactory
      Mappings:
      Namespace Name Mixin selector
      official create Lart;create(Lcom/google/gson/Gson;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;
      intermediary create Lnet/minecraft/class_3530;create(Lcom/google/gson/Gson;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;
      named create Lnet/minecraft/util/LowercaseEnumTypeAdapterFactory;create(Lcom/google/gson/Gson;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;
    • getKey

      String getKey(Object o)
      Mappings:
      Namespace Name Mixin selector
      official a Lart;a(Ljava/lang/Object;)Ljava/lang/String;
      intermediary method_15334 Lnet/minecraft/class_3530;method_15334(Ljava/lang/Object;)Ljava/lang/String;
      named getKey Lnet/minecraft/util/LowercaseEnumTypeAdapterFactory;getKey(Ljava/lang/Object;)Ljava/lang/String;