Package net.minecraft.util
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 Summary
-
Method Summary
Modifier and TypeMethodDescription<T> com.google.gson.TypeAdapter<T>
create
(com.google.gson.Gson p_13982_, com.google.gson.reflect.TypeToken<T> p_13983_) (package private) String
toLowercase
(Object p_13980_)
-
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 interfacecom.google.gson.TypeAdapterFactory
-
toLowercase
-