diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-04-01 00:19:04 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-04-01 00:19:04 +0800 |
| commit | e997b857c5c8169cde4c5f4c677e650b83404dc3 (patch) | |
| tree | 7586d918f63cd2fd30097ce564a8ae70b3bfe99d /src/main/java/me/shedaniel/rei/utils/ClothRegistry.java | |
| parent | ac07965350b9290e193428492dcdbc5eda9a99d1 (diff) | |
| download | RoughlyEnoughItems-e997b857c5c8169cde4c5f4c677e650b83404dc3.tar.gz RoughlyEnoughItems-e997b857c5c8169cde4c5f4c677e650b83404dc3.tar.bz2 RoughlyEnoughItems-e997b857c5c8169cde4c5f4c677e650b83404dc3.zip | |
fish
Diffstat (limited to 'src/main/java/me/shedaniel/rei/utils/ClothRegistry.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/utils/ClothRegistry.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/utils/ClothRegistry.java b/src/main/java/me/shedaniel/rei/utils/ClothRegistry.java index 611a62811..49ce4ea14 100644 --- a/src/main/java/me/shedaniel/rei/utils/ClothRegistry.java +++ b/src/main/java/me/shedaniel/rei/utils/ClothRegistry.java @@ -99,6 +99,7 @@ public class ClothRegistry { public static void openConfigScreen(Screen parent) { ConfigScreenBuilder builder = new ClothConfigScreen.Builder(parent, I18n.translate("text.rei.config.title"), null); builder.addCategory("text.rei.config.general").addOption(new BooleanListEntry("text.rei.config.cheating", RoughlyEnoughItemsCore.getConfigManager().getConfig().cheating, "text.cloth.reset_value", () -> false, bool -> RoughlyEnoughItemsCore.getConfigManager().getConfig().cheating = bool)); + builder.getCategory("text.rei.config.general").addOption(new BooleanListEntry("fish is good", RoughlyEnoughItemsCore.getConfigManager().getConfig().fish, "text.cloth.reset_value", () -> true, bool -> RoughlyEnoughItemsCore.getConfigManager().getConfig().fish = bool)); ConfigScreenBuilder.CategoryBuilder appearance = builder.addCategory("text.rei.config.appearance"); appearance.addOption(new BooleanListEntry("text.rei.config.side_search_box", RoughlyEnoughItemsCore.getConfigManager().getConfig().sideSearchField, "text.cloth.reset_value", () -> false, bool -> RoughlyEnoughItemsCore.getConfigManager().getConfig().sideSearchField = bool)); appearance.addOption(new ItemListOrderingEntry("text.rei.config.list_ordering", new Pair<>(RoughlyEnoughItemsCore.getConfigManager().getConfig().itemListOrdering, RoughlyEnoughItemsCore.getConfigManager().getConfig().isAscending))); |
