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