From 157bade55bdabe009e676076836cc2b2d77871eb Mon Sep 17 00:00:00 2001 From: kous500 <75741517+kous500@users.noreply.github.com> Date: Sat, 14 Nov 2026 04:33:38 +0900 Subject: [PATCH] chore: Stop Loom from generating IntelliJ run configurations The shared Gradle run configurations in .run/ start the client and the server of every version, so the Client, Server and Game Test configurations that Loom wrote into .idea/runConfigurations only duplicated them. Loom generates these only for the root project unless ideConfigGenerated is set, so the setting is removed. --- curvebuilding-fabric/build.gradle | 3 ++- fabric-test-runs/build.gradle | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/curvebuilding-fabric/build.gradle b/curvebuilding-fabric/build.gradle index cf923d7..c791aaf 100644 --- a/curvebuilding-fabric/build.gradle +++ b/curvebuilding-fabric/build.gradle @@ -80,8 +80,9 @@ tasks.register("gametestJar", Jar) { loom { // The access widener differs between Minecraft versions, so each version has its own. accessWidenerPath = file("curvebuilding.accesswidener") + // IntelliJ IDEA runs these through the Gradle run configurations in .run/. Loom generates IDE run configurations + // only for the root project. runConfigs.configureEach { - ideConfigGenerated = true // Separate per version, so a world is not upgraded by a newer version and mods of other versions are not loaded. // Not for the game tests: their directory (build/run/gameTest) is deleted before each run. if (name != "gameTest") { diff --git a/fabric-test-runs/build.gradle b/fabric-test-runs/build.gradle index 1c73dc6..16695b0 100644 --- a/fabric-test-runs/build.gradle +++ b/fabric-test-runs/build.gradle @@ -57,7 +57,6 @@ dependencies { loom { runConfigs.configureEach { - ideConfigGenerated = true // Not for the game tests: their directory (build/run/gameTest) is deleted before each run. if (name != "gameTest") { runDir = "../../curvebuilding-fabric/run/${minecraftVersion}"