Package net.minecraftforge.common
Class ForgeConfigSpec.ConfigValue<T>
java.lang.Object
net.minecraftforge.common.ForgeConfigSpec.ConfigValue<T>
- All Implemented Interfaces:
Supplier<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
private static boolean
-
Constructor Summary
ConstructorDescriptionConfigValue
(ForgeConfigSpec.Builder parent, List<String> path, Supplier<T> defaultSupplier) -
Method Summary
-
Field Details
-
USE_CACHES
private static boolean USE_CACHES -
parent
-
path
-
defaultSupplier
-
cachedValue
-
spec
-
-
Constructor Details
-
ConfigValue
ConfigValue(ForgeConfigSpec.Builder parent, List<String> path, Supplier<T> defaultSupplier)
-
-
Method Details