diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-03-07 22:21:06 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-03-07 22:21:06 +0800 |
| commit | 8cd1f1a9804f980c1666079c99bafb6330c77723 (patch) | |
| tree | 449f74c31bf73a4106b2cb9bc7fb5635925b2328 /src/main/java/me/shedaniel/rei/api/ConfigManager.java | |
| parent | e5909b2fa40428d2a25a4f727a49a4f4fc47ad01 (diff) | |
| download | RoughlyEnoughItems-8cd1f1a9804f980c1666079c99bafb6330c77723.tar.gz RoughlyEnoughItems-8cd1f1a9804f980c1666079c99bafb6330c77723.tar.bz2 RoughlyEnoughItems-8cd1f1a9804f980c1666079c99bafb6330c77723.zip | |
Config with comments
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/ConfigManager.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/api/ConfigManager.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/ConfigManager.java b/src/main/java/me/shedaniel/rei/api/ConfigManager.java new file mode 100644 index 000000000..2e951f103 --- /dev/null +++ b/src/main/java/me/shedaniel/rei/api/ConfigManager.java @@ -0,0 +1,19 @@ +package me.shedaniel.rei.api; + +import me.shedaniel.rei.client.ConfigObject; + +import java.io.IOException; + +public interface ConfigManager { + + void saveConfig() throws IOException; + + void loadConfig() throws IOException; + + ConfigObject getConfig(); + + boolean isCraftableOnlyEnabled(); + + void toggleCraftableOnly(); + +} |
