diff --git a/1.18.1.properties b/1.18.1.properties index 3fae30657..5fd17ffb0 100644 --- a/1.18.1.properties +++ b/1.18.1.properties @@ -4,8 +4,8 @@ minecraft_version=1.18.1 java_version = 17 # Fabric loader -fabric_loader_version=0.13.2 -fabric_api_version=0.46.4+1.18 +fabric_loader_version=0.13.3 +fabric_api_version=0.46.6+1.18 # Fabric mod versions modmenu_version=3.0.1 starlight_version_fabric=3554912 @@ -26,7 +26,7 @@ fabric_api_version=0.46.4+1.18 enable_bclib=0 # Forge loader -forge_version=39.0.76 +forge_version=39.1.2 # Forge mod versions starlight_version_forge=3559934 diff --git a/1.18.2.properties b/1.18.2.properties index 646007ceb..daf7e8ff3 100644 --- a/1.18.2.properties +++ b/1.18.2.properties @@ -6,15 +6,15 @@ java_version = 17 # Fabric loader fabric_loader_version=0.13.3 -fabric_api_version=0.47.8+1.18.2 +fabric_api_version=0.48.0+1.18.2 # Fabric mod versions modmenu_version=3.1.0 - starlight_version_fabric=3554912 - lithium_version=mc1.18.1-0.7.7 + starlight_version_fabric=3667443 + lithium_version=mc1.18.2-0.7.9 sodium_version=3669187 - iris_version=1.18.x-v1.1.4 - bclib_version=1.2.5 + iris_version=1.18.x-v1.2.2 immersive_portals_version = v1.0.4-1.18 + bclib_version=0 # Fabric mod run # 0 = Don't enable and don't run @@ -27,9 +27,9 @@ fabric_api_version=0.47.8+1.18.2 enable_bclib=0 # Forge loader -forge_version=40.0.1 +forge_version=40.0.18 # Forge mod versions - starlight_version_forge=3559934 + starlight_version_forge=0 # Forge mod run # 0 = Dont enable and don't run diff --git a/Readme.md b/Readme.md index 801747962..2bf0d9f2e 100644 --- a/Readme.md +++ b/Readme.md @@ -14,13 +14,24 @@ If you want to see a quick demo, check out a video covering the mod here: ![Minecraft Level Of Detail (LOD) mod - Alpha 1.5](https://i.ytimg.com/vi_webp/H2tnvEVbO1c/mqdefault.webp) +### Versions + Architectury version: 3.4-SNAPSHOT\ -Forge version: 39.0.5 and 38.0.14\ -Fabric version: 0.13.2\ -Fabric API version: 0.44.0+1.18\ -Modmenu version: 3.0.1\ Java Compiler plugin: Manifold Preprocessor +#### 1.18.2 mods +Forge version: 40.0.18\ +Fabric version: 0.13.3\ +Fabric API version: 0.48.0+1.18.2\ +Modmenu version: 3.1.0 + +#### 1.18.1 mods +Forge version: 39.1.2\ +Fabric version: 0.13.3\ +Fabric API version: 0.46.6+1.18\ +Modmenu version: 3.0.1 + + Notes:\ This version has been confirmed to work in IDE and Retail Minecraft.\ (Retail running forge version 1.18.1-39.0.5 and fabric version 1.18-0.12.12 and 1.18.1-0.13.2) @@ -69,7 +80,7 @@ If running on IDE, to ensure IDE pickup the changed versions, you will need to r 6. The compiled jar file will be in the folder `Merged` **If in terminal:** -1. `git clone -b 1.18.X --recurse-submodules https://gitlab.com/jeseibel/minecraft-lod-mod.git` +1. `git clone -b preprocessor_test --recurse-submodules https://gitlab.com/jeseibel/minecraft-lod-mod.git` 2. `cd minecraft-lod-mod` 3. `./gradlew assemble` 4. `./gradlew mergeJars` diff --git a/common/src/main/java/com/seibel/lod/common/wrappers/config/ConfigGui.java b/common/src/main/java/com/seibel/lod/common/wrappers/config/ConfigGui.java index 7f099fcff..ff230ac63 100644 --- a/common/src/main/java/com/seibel/lod/common/wrappers/config/ConfigGui.java +++ b/common/src/main/java/com/seibel/lod/common/wrappers/config/ConfigGui.java @@ -607,6 +607,7 @@ public abstract class ConfigGui else if (info.screenButton) { Button widget = new Button(this.width / 2 - info.width, this.height - 28, info.width * 2, 20, name, (button -> { + saveToFile(); Objects.requireNonNull(minecraft).setScreen(ConfigGui.getScreen(this, info.gotoScreen)); })); this.list.addButton(widget, null, null, null);