Class ModConfig
java.lang.Object
net.rodofire.easierworldcreator.config.ModConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCategories(ConfigCategory... categories) voidaddCategory(Set<ConfigCategory> categories) voidaddCategory(ConfigCategory category) voidcopy()booleangetCategory(String name) method to get a category of the configgetCategoryPath(String name) voidinit()booleanvoidvoidsave()boolean<T extends AbstractConfigObject<U>,U>
voidupdateValues(String name)
-
Constructor Details
-
ModConfig
-
-
Method Details
-
isConfigProtected
public boolean isConfigProtected() -
addCategory
-
addCategory
-
addCategories
-
getCategory
method to get a category of the config- Parameters:
name- the name of the category- Returns:
- the category related to the name
-
getCategories
-
refreshValues
public void refreshValues() -
save
public void save() -
updateValues
-
shouldRestart
public boolean shouldRestart() -
init
public void init() -
getCategoryPath
-
copy
-
apply
-
equals
-