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
  • Constructor Details

    • LowerCaseEnumTypeAdapterFactory

      public LowerCaseEnumTypeAdapterFactory()
  • Method Details

    • create

      @Nullable public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson p_13982_, com.google.gson.reflect.TypeToken<T> p_13983_)
      Specified by:
      create in interface com.google.gson.TypeAdapterFactory
    • toLowercase

      String toLowercase(Object p_13980_)