From ea50ba38eada4c852a52f9bc3fd0960bcf57c39b Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Tue, 5 Nov 2024 16:11:18 -0700 Subject: [PATCH] Apply FerriteCore config overrides automatically New versions of FC added this mechanism closes #66 --- README.md | 2 +- fabric/src/main/resources/fabric.mod.json | 6 +++++- gradle.properties | 2 +- neoforge/src/main/resources/META-INF/neoforge.mods.toml | 4 ++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ec9f847..91803fd 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ patches. Listed below are notable patches: | Mod | Status | |-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Lithium |
✅ compatibleLithium optimises many of the same parts of the game as Moonrise, for example the chunk system. Moonrise will automatically disable conflicting parts of Lithium. This mechanism needs to be manually validated for each Moonrise and Lithium release.
| -| FerriteCore |
📝 requires config changesIn `config/ferritecore-mixin.toml`:
Set `replaceNeighborLookup` and `replacePropertyMap` to `false`
| +| FerriteCore |
✅ compatibleFerriteCore optimises some of the same parts of the game as Moonrise. Moonrise will automatically disable conflicting parts of FerriteCore. This mechanism needs to be manually validated for each Moonrise and FerriteCore release.
| | C2ME |
❌ incompatibleC2ME is based around modifications to the chunk system, which Moonrise replaces wholesale. This makes them fundamentally incompatible.
| ## Configuration diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 1e88f92..ec12dba 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -69,6 +69,10 @@ "mixin.world.explosions.cache_exposure": false, "mixin.world.temperature_cache": false, "mixin.world.tick_scheduler": false - } + }, + "ferritecore:disabled_options": [ + "replaceNeighborLookup", + "replacePropertyMap" + ] } } diff --git a/gradle.properties b/gradle.properties index 1b411c5..24c9f83 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ org.gradle.daemon=false minecraft_version=1.21.3 loader_version=0.16.7 supported_minecraft_versions=1.21.3 -neoforge_version=21.3.0-beta +neoforge_version=21.3.11-beta fabric_api_version=0.107.0+1.21.3 snakeyaml_version=2.2 concurrentutil_version=0.0.2-SNAPSHOT diff --git a/neoforge/src/main/resources/META-INF/neoforge.mods.toml b/neoforge/src/main/resources/META-INF/neoforge.mods.toml index 899f45e..580a1fe 100644 --- a/neoforge/src/main/resources/META-INF/neoforge.mods.toml +++ b/neoforge/src/main/resources/META-INF/neoforge.mods.toml @@ -13,6 +13,10 @@ displayURL = "https://github.com/Tuinity/Moonrise" authors = "Spottedleaf" description = "Optimisation mod for the dedicated and integrated server." displayTest = "IGNORE_ALL_VERSION" +"ferritecore:disabled_options" = [ + "replaceNeighborLookup", + "replacePropertyMap" +] [[dependencies.moonrise]] modId = "neoforge"