aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-08-06 22:35:12 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-08-06 22:35:12 +0800
commit70417f41613ae30582cd48708fe43ce9a3e6ae86 (patch)
tree7a0b8286005568237e894662a9c40bfdb42550d7 /src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java
parentcbf03f9c2625b0f336ae86a916fe77db2ee4a420 (diff)
downloadRoughlyEnoughItems-70417f41613ae30582cd48708fe43ce9a3e6ae86.tar.gz
RoughlyEnoughItems-70417f41613ae30582cd48708fe43ce9a3e6ae86.tar.bz2
RoughlyEnoughItems-70417f41613ae30582cd48708fe43ce9a3e6ae86.zip
These days are great days to completely scrap an api
Diffstat (limited to 'src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java')
-rw-r--r--src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java b/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java
index e153f49b5..d0937bae8 100644
--- a/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java
+++ b/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java
@@ -129,6 +129,12 @@ public class ClothScreenRegistry {
.setSaveConsumer(s -> configManager.getConfig().weatherCommand = s)
.setTooltip(getConfigTooltip("weather_command"))
.build());
+ action.addEntry(eb.startBooleanToggle("text.rei.config.clickable_recipe_arrows", configManager.getConfig().clickableRecipeArrows)
+ .setDefaultValue(true)
+ .setYesNoTextSupplier(bool -> I18n.translate("text.rei.config.text." + bool))
+ .setSaveConsumer(bool -> configManager.getConfig().clickableRecipeArrows = bool)
+ .setTooltip(getConfigTooltip("clickable_recipe_arrows"))
+ .build());
ConfigCategory modules = builder.getOrCreateCategory("text.rei.config.modules");
modules.addEntry(eb.startBooleanToggle("text.rei.config.craftable_only", configManager.getConfig().enableCraftableOnlyButton)
.setDefaultValue(false)