From 9952877bca1389648a379d457e4ce3f7fa6aa030 Mon Sep 17 00:00:00 2001 From: Relentless Date: Fri, 2 Sep 2022 21:05:45 +0200 Subject: [PATCH] DCEVM support --- Fabric/build.gradle.kts | 2 ++ Forge/build.gradle.kts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Fabric/build.gradle.kts b/Fabric/build.gradle.kts index 212a078..9b2202e 100644 --- a/Fabric/build.gradle.kts +++ b/Fabric/build.gradle.kts @@ -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") } } diff --git a/Forge/build.gradle.kts b/Forge/build.gradle.kts index caf22a0..2146ec5 100644 --- a/Forge/build.gradle.kts +++ b/Forge/build.gradle.kts @@ -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())