Unknown 6 éve
szülő
commit
b383489ccf

+ 6 - 1
CHANGELOG.md

@@ -1,4 +1,9 @@
-# v2.4.0
+# v2.4.0.63
+- First implementation of [Cloth](https://minecraft.curseforge.com/projects/cloth), [Cloth](https://minecraft.curseforge.com/projects/cloth) is still not required for REI to boot but it will be a must have dependency when 19w11a comes.
+- Used [Cloth](https://minecraft.curseforge.com/projects/cloth) for hooking up [Mod Menu](https://minecraft.curseforge.com/projects/modmenu/) config. Example: [https://streamable.com/ivbsj](https://streamable.com/ivbsj)
+- Changed config `true / false` to `Yes / No`
+
+# v2.4.0.61
 - Config with comments
 - Fix creative inventory even more
 - No longer uses Fabric internals

+ 2 - 2
gradle.properties

@@ -1,6 +1,6 @@
-mod_version=2.4.0.62
+mod_version=2.4.0.63
 minecraft_version=19w09a
-yarn_version=19w09a.4
+yarn_version=19w09a.6
 fabric_version=0.2.3.108
 fabricloader_version=0.3.7.109
 pluginloader_version=1.14-1.0.6-8

+ 1 - 1
src/main/java/me/shedaniel/rei/gui/config/ConfigScreen.java

@@ -351,7 +351,7 @@ public class ConfigScreen extends Screen {
     }
     
     private String getTrueFalseText(boolean showCraftableOnlyButton) {
-        return String.format("%s%b", showCraftableOnlyButton ? "§a" : "§c", showCraftableOnlyButton);
+        return String.format("%s%s", showCraftableOnlyButton ? "§a" : "§c", showCraftableOnlyButton ? I18n.translate("text.rei.enabled") : I18n.translate("text.rei.disabled"));
     }
     
     @Override

+ 2 - 0
src/main/resources/assets/roughlyenoughitems/lang/en_us.json

@@ -60,6 +60,8 @@
   "text.rei.config.enable_util_buttons": "Enable Utils Buttons:",
   "text.rei.gamemode_button.tooltip": "Switch GameMode\n§7Switch to %s mode.",
   "text.rei.weather_button.tooltip": "Switch Weather\n§7Switch to %s.",
+  "text.rei.enabled": "Yes",
+  "text.rei.disabled": "No",
 
   "_comment": "Don't change / translate the credit down below if you are doing it :)",
   "text.rei.credit.text": "§lRoughly Enough Items\n§7Originally a fork for Almost Enough Items.\n\n§lDevelopers\n  - Originally by ZenDarva\n  - Created by Danielshe\n  - Plugin Support by TehNut\n\n§lLanguage Translation\n  English - Danielshe\n  Simplified Chinese - Danielshe\n  Traditional Chinese - hugoalh & Danielshe\n  French - Yanis48\n  German - MelanX\n  Estonian - Madis0\n  Hebrew - nerdoron\n  LOLCAT - Danielshe\n  Upside Down - Danielshe\n\n§lLicense\n§7Roughly Enough Items is using MIT."