diff --git a/src/main/java/net/fabricmc/loom/configuration/ide/RunConfigSettings.java b/src/main/java/net/fabricmc/loom/configuration/ide/RunConfigSettings.java
index 64498e730..60b7e2c74 100644
--- a/src/main/java/net/fabricmc/loom/configuration/ide/RunConfigSettings.java
+++ b/src/main/java/net/fabricmc/loom/configuration/ide/RunConfigSettings.java
@@ -403,6 +403,30 @@ public void data() {
forgeTemplate("data");
}
+ /**
+ * Configure run config with the default data options.
+ *
+ *
This method can only be used on NeoForge.
+ */
+ @ApiStatus.Experimental
+ public void clientData() {
+ ModPlatform.assertForgeLike(getExtension(), () -> "RunConfigSettings.clientData() is only usable on NeoForge.");
+ environment("dataClient");
+ forgeTemplate("dataClient");
+ }
+
+ /**
+ * Configure run config with the default data options.
+ *
+ *
This method can only be used on NeoForge.
+ */
+ @ApiStatus.Experimental
+ public void serverData() {
+ ModPlatform.assertForgeLike(getExtension(), () -> "RunConfigSettings.serverData() is only usable on NeoForge.");
+ environment("dataServer");
+ forgeTemplate("dataServer");
+ }
+
/**
* Applies a Forge run config template to these settings.
*
diff --git a/src/main/java/net/fabricmc/loom/configuration/providers/forge/ForgeRunTemplate.java b/src/main/java/net/fabricmc/loom/configuration/providers/forge/ForgeRunTemplate.java
index 624a2630a..ce01ce1c5 100644
--- a/src/main/java/net/fabricmc/loom/configuration/providers/forge/ForgeRunTemplate.java
+++ b/src/main/java/net/fabricmc/loom/configuration/providers/forge/ForgeRunTemplate.java
@@ -66,7 +66,13 @@ public record ForgeRunTemplate(
public static final Codec