From 5b0c038cf9b5ed353eb9d5803fc08db0d6479ecd Mon Sep 17 00:00:00 2001 From: enjarai Date: Mon, 7 Oct 2024 09:04:53 +0200 Subject: [PATCH] Whoops :3 --- CHANGELOG.md | 4 ++-- build.gradle.kts | 10 +++++++--- gradle.properties | 2 +- .../do_a_barrel_roll.compat.cameraoverhaul.mixins.json | 2 +- .../do_a_barrel_roll.compat.modmenu.mixins.json | 2 +- src/main/resources/do_a_barrel_roll.mixins.json | 2 +- src/main/resources/pack.mcmeta | 2 +- 7 files changed, 14 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d4259993..185a17ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,2 @@ -- Added support for NeoForge 1.21(.1). -- Modified the way thrusting particles are displayed, solving some compatibility issues. +- Fixed a critical crash at startup. +- Fixed some other minor issues. diff --git a/build.gradle.kts b/build.gradle.kts index f01bcfe8..fba02b2d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -102,9 +102,7 @@ loom { if (loader == "forge") forge { convertAccessWideners.set(true) mixinConfigs( - "${mod.id}-client.mixins.json", - "${mod.id}-common.mixins.json", - "${mod.id}-compat.mixins.json" + "${mod.id}.mixins.json" ) } else if (loader == "neoforge") neoForge { @@ -122,6 +120,12 @@ loom { options.put("mark-corresponding-synthetics", "1") } } + + @Suppress("UnstableApiUsage") + mixin { + useLegacyMixinAp = false +// defaultRefmapName = "do_a_barrel_roll.refmap.json" + } } // Tasks diff --git a/gradle.properties b/gradle.properties index e7cf2698..db5486fb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,7 +7,7 @@ org.gradle.caching.debug=false org.gradle.configureondemand=true # Mod Properties -mod.version=3.7.0 +mod.version=3.7.1 mod.group=nl.enjarai mod.id=do_a_barrel_roll mod.name=Do a Barrel Roll diff --git a/src/main/resources/do_a_barrel_roll.compat.cameraoverhaul.mixins.json b/src/main/resources/do_a_barrel_roll.compat.cameraoverhaul.mixins.json index 35b910cb..ffd8fd9f 100644 --- a/src/main/resources/do_a_barrel_roll.compat.cameraoverhaul.mixins.json +++ b/src/main/resources/do_a_barrel_roll.compat.cameraoverhaul.mixins.json @@ -3,7 +3,7 @@ "minVersion": "0.8", "package": "nl.enjarai.doabarrelroll.compat.cameraoverhaul.mixin", "plugin": "nl.enjarai.doabarrelroll.compat.cameraoverhaul.CameraOverhaulPlugin", - "refmap": "${mod_id}.refmap.json", + "refmap": "do_a_barrel_roll.refmap.json", "compatibilityLevel": "JAVA_17", "client": [ "CameraSystemMixin" diff --git a/src/main/resources/do_a_barrel_roll.compat.modmenu.mixins.json b/src/main/resources/do_a_barrel_roll.compat.modmenu.mixins.json index 76702374..53a2a28b 100644 --- a/src/main/resources/do_a_barrel_roll.compat.modmenu.mixins.json +++ b/src/main/resources/do_a_barrel_roll.compat.modmenu.mixins.json @@ -3,7 +3,7 @@ "minVersion": "0.8", "package": "nl.enjarai.doabarrelroll.compat.modmenu.mixin", "plugin": "nl.enjarai.doabarrelroll.compat.modmenu.ModMenuPlugin", - "refmap": "${mod_id}.refmap.json", + "refmap": "do_a_barrel_roll.refmap.json", "compatibilityLevel": "JAVA_17", "client": [ "ModsScreenMixin" diff --git a/src/main/resources/do_a_barrel_roll.mixins.json b/src/main/resources/do_a_barrel_roll.mixins.json index 26f2b3bd..4b8b975c 100644 --- a/src/main/resources/do_a_barrel_roll.mixins.json +++ b/src/main/resources/do_a_barrel_roll.mixins.json @@ -2,7 +2,7 @@ "required": true, "minVersion": "0.8", "package": "nl.enjarai.doabarrelroll.mixin", - "refmap": "${mod_id}.refmap.json", + "refmap": "do_a_barrel_roll.refmap.json", "compatibilityLevel": "JAVA_17", "mixins": [ "CommandManagerMixin", diff --git a/src/main/resources/pack.mcmeta b/src/main/resources/pack.mcmeta index 52854ec4..224943f7 100644 --- a/src/main/resources/pack.mcmeta +++ b/src/main/resources/pack.mcmeta @@ -1,6 +1,6 @@ { "pack": { - "description": "${mod_name}", + "description": "Do a Barrel Roll", "pack_format": 8 } } \ No newline at end of file