Package net.minecraftforge.common
Class ForgeConfigSpec.BuilderContext
java.lang.Object
net.minecraftforge.common.ForgeConfigSpec.BuilderContext
- Enclosing class:
- ForgeConfigSpec
-
Field Summary
Modifier and TypeFieldDescriptionprivate Class<?>
private String[]
private String
private ForgeConfigSpec.Range<?>
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Class<?>
getClazz()
String[]
<V extends Comparable<? super V>>
ForgeConfigSpec.Range<V>getRange()
boolean
boolean
void
void
setComment
(String... value) <V extends Comparable<? super V>>
voidsetRange
(ForgeConfigSpec.Range<V> value) void
setTranslationKey
(String value) private void
private void
void
-
Field Details
-
comment
-
langKey
-
range
-
worldRestart
private boolean worldRestart -
clazz
-
-
Constructor Details
-
BuilderContext
private BuilderContext()
-
-
Method Details
-
setComment
-
hasComment
public boolean hasComment() -
getComment
-
buildComment
-
setTranslationKey
-
getTranslationKey
-
setRange
-
getRange
-
worldRestart
public void worldRestart() -
needsWorldRestart
public boolean needsWorldRestart() -
setClazz
-
getClazz
-
ensureEmpty
public void ensureEmpty() -
validate
-
validate
-