Package net.minecraftforge.common
Class ForgeConfigSpec.ValueSpec
java.lang.Object
net.minecraftforge.common.ForgeConfigSpec.ValueSpec
- Enclosing class:
- ForgeConfigSpec
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
ValueSpec(Supplier<?> supplier, Predicate<Object> validator, ForgeConfigSpec.BuilderContext context)
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getClazz()
<V extends Comparable<? super V>>
ForgeConfigSpec.Range<V>getRange()
boolean
boolean
-
Field Details
-
comment
-
langKey
-
range
-
worldRestart
private final boolean worldRestart -
clazz
-
supplier
-
validator
-
_default
-
-
Constructor Details
-
ValueSpec
private ValueSpec(Supplier<?> supplier, Predicate<Object> validator, ForgeConfigSpec.BuilderContext context)
-
-
Method Details
-
getComment
-
getTranslationKey
-
getRange
-
needsWorldRestart
public boolean needsWorldRestart() -
getClazz
-
test
-
correct
-
getDefault
-