Reorganized Imports/Packages
This commit is contained in:
parent
cb9459f176
commit
3ee10482ab
721 changed files with 34873 additions and 33558 deletions
28
src/main/java/org/betterx/bclib/config/MainConfig.java
Normal file
28
src/main/java/org/betterx/bclib/config/MainConfig.java
Normal file
|
@ -0,0 +1,28 @@
|
|||
package org.betterx.bclib.config;
|
||||
|
||||
import org.betterx.bclib.BCLib;
|
||||
|
||||
public class MainConfig extends NamedPathConfig {
|
||||
public static final ConfigToken<Boolean> APPLY_PATCHES = ConfigToken.Boolean(true,
|
||||
"applyPatches",
|
||||
Configs.MAIN_PATCH_CATEGORY);
|
||||
|
||||
@ConfigUI(leftPadding = 8)
|
||||
public static final ConfigToken<Boolean> REPAIR_BIOMES = DependendConfigToken.Boolean(true,
|
||||
"repairBiomesOnLoad",
|
||||
Configs.MAIN_PATCH_CATEGORY,
|
||||
(config) -> config.get(
|
||||
APPLY_PATCHES));
|
||||
|
||||
public MainConfig() {
|
||||
super(BCLib.MOD_ID, "main", true, true);
|
||||
}
|
||||
|
||||
public boolean applyPatches() {
|
||||
return get(APPLY_PATCHES);
|
||||
}
|
||||
|
||||
public boolean repairBiomes() {
|
||||
return get(REPAIR_BIOMES);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue