From 7a75cedbf71b8d51a3f30df6a8d064dae2e68b91 Mon Sep 17 00:00:00 2001 From: dicedpixels Date: Tue, 27 Oct 2026 00:11:08 +0530 Subject: [PATCH] mention adding args via build script --- tags/guide/mixinexport.ytag | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tags/guide/mixinexport.ytag b/tags/guide/mixinexport.ytag index 38426ad7..af14afd1 100644 --- a/tags/guide/mixinexport.ytag +++ b/tags/guide/mixinexport.ytag @@ -23,4 +23,16 @@ You can export **all** Mixin classes by adding `-Dmixin.debug.export=true` to yo > IntelliJ IDEA - [Run/debug configurations - More options]() (See "VM options") > VSCode - [Running and debugging Java - Configuration options]() (See "vmArgs") +For Fabric Loom 1.18+, append the JVM argument through the build script and sync the Gradle project. + +```groovy +loom { + runs { + "client" { // or "server" depending on the run configuration you use + jvmArguments.addAll("-Dmixin.debug.export=true") + } + } +} +``` + Exported finalized classes will appear in `run/.mixin.out`. \ No newline at end of file