DCEVM support

This commit is contained in:
Relentless 2022-09-02 21:05:45 +02:00
parent 469178eadc
commit 9952877bca
No known key found for this signature in database
GPG key ID: 759D97B8C6F25265
2 changed files with 4 additions and 0 deletions

View file

@ -58,12 +58,14 @@ loom {
configName = "Fabric Client"
ideConfigGenerated(true)
runDir("run")
vmArgs("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions")
}
named("server") {
server()
configName = "Fabric Server"
ideConfigGenerated(true)
runDir("run")
vmArgs("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions")
}
}

View file

@ -33,6 +33,7 @@ minecraft {
taskName("Client")
property("mixin.env.remapRefMap", "true")
property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg")
jvmArg("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions")
mods {
create(modId) {
source(sourceSets.main.get())
@ -47,6 +48,7 @@ minecraft {
taskName("Server")
property("mixin.env.remapRefMap", "true")
property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg")
jvmArg("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions")
mods {
create(modId) {
source(sourceSets.main.get())