Last active
January 31, 2024 19:10
-
-
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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