Class LowercaseEnumTypeAdapterFactory

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

public class LowercaseEnumTypeAdapterFactory extends Object implements TypeAdapterFactory
Mappings:
Namespace Name
official alm
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
    • getKey

      String getKey(Object o)
      Mappings:
      Namespace Name Mixin selector
      official a Lalm;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;