Package net.minecraftforge.common
Class ForgeConfigSpec.EnumValue<T extends java.lang.Enum<T>>
- java.lang.Object
-
- net.minecraftforge.common.ForgeConfigSpec.ConfigValue<T>
-
- net.minecraftforge.common.ForgeConfigSpec.EnumValue<T>
-
- Enclosing class:
- ForgeConfigSpec
public static class ForgeConfigSpec.EnumValue<T extends java.lang.Enum<T>> extends ForgeConfigSpec.ConfigValue<T>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<T>
clazz
private com.electronwill.nightconfig.core.EnumGetMethod
converter
-
Fields inherited from class net.minecraftforge.common.ForgeConfigSpec.ConfigValue
USE_CACHES
-
-
Constructor Summary
Constructors Constructor Description EnumValue(ForgeConfigSpec.Builder parent, java.util.List<java.lang.String> path, java.util.function.Supplier<T> defaultSupplier, com.electronwill.nightconfig.core.EnumGetMethod converter, java.lang.Class<T> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
getRaw(com.electronwill.nightconfig.core.Config config, java.util.List<java.lang.String> path, java.util.function.Supplier<T> defaultSupplier)
-
Methods inherited from class net.minecraftforge.common.ForgeConfigSpec.ConfigValue
clearCache, get, getPath, next, save, set
-
-
-
-
Constructor Detail
-
EnumValue
EnumValue(ForgeConfigSpec.Builder parent, java.util.List<java.lang.String> path, java.util.function.Supplier<T> defaultSupplier, com.electronwill.nightconfig.core.EnumGetMethod converter, java.lang.Class<T> clazz)
-
-