Package net.minecraftforge.common
Class ForgeConfigSpec.ConfigValue<T>
java.lang.Object
net.minecraftforge.common.ForgeConfigSpec.ConfigValue<T>
- Direct Known Subclasses:
ForgeConfigSpec.BooleanValue
,ForgeConfigSpec.DoubleValue
,ForgeConfigSpec.EnumValue
,ForgeConfigSpec.IntValue
,ForgeConfigSpec.LongValue
- Enclosing class:
- ForgeConfigSpec
-
Field Summary
Modifier and TypeFieldDescriptionprivate T
private final ForgeConfigSpec.Builder
private ForgeConfigSpec
(package private) static boolean
-
Constructor Summary
ConstructorDescriptionConfigValue
(ForgeConfigSpec.Builder parent, List<String> path, Supplier<T> defaultSupplier) -
Method Summary
-
Field Details
-
USE_CACHES
static boolean USE_CACHES -
parent
-
path
-
defaultSupplier
-
cachedValue
-
spec
-
-
Constructor Details
-
ConfigValue
ConfigValue(ForgeConfigSpec.Builder parent, List<String> path, Supplier<T> defaultSupplier)
-
-
Method Details
-
getPath
-
get
-
getRaw
-
next
-
save
public void save() -
set
-
clearCache
public void clearCache()
-