Class LowercaseEnumTypeAdapterFactory

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

public class LowercaseEnumTypeAdapterFactory extends Object implements TypeAdapterFactory
Mappings:
Namespace Name
official anz
intermediary net/minecraft/class_3530
named net/minecraft/util/LowercaseEnumTypeAdapterFactory
  • Constructor Details

    • LowercaseEnumTypeAdapterFactory

      public LowercaseEnumTypeAdapterFactory()
  • Method Details

    • create

      @Nullable public <T> @Nullable TypeAdapter<T> create(Gson gson, TypeToken<T> typeToken)
      Specified by:
      create in interface TypeAdapterFactory
      Mappings:
      Namespace Name Mixin selector
      official create Lanz;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 Lanz;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;