Skip to content

Instantly share code, notes, and snippets.

@maityyy
Last active January 31, 2024 19:10
Show Gist options
  • Save maityyy/3dbcd558d58a6412c3a2a38c72706e8e to your computer and use it in GitHub Desktop.
Save maityyy/3dbcd558d58a6412c3a2a38c72706e8e to your computer and use it in GitHub Desktop.
Simple mixin hotswap for fabric development (works as far as I know from loom 1.2)
afterEvaluate {
loom.runs.configureEach {
// https://fabricmc.net/wiki/tutorial:mixin_hotswaps
vmArg "-javaagent:${ configurations.compileClasspath.find { it.name.contains("sponge-mixin") } }"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment