Closed JeanWorldTour2 closed 4 months ago
Try creating a new workspace with the same generator, take the build.gradle file, paste it into your workspace and try again
Could you attach the workspace?
wait i will try. it needs a bit of time
https://www.transfernow.net/dl/20240504ifNqZTSG that's the workspace
Try deleting the one written in the build.gradle file and pasting this
plugins {
id 'eclipse'
id 'net.minecraftforge.gradle' version '[6.0.16,6.2)'
id 'org.spongepowered.mixin' version '0.7.+'
}
version = '1.0'
group = 'com.yourname.modid'
archivesBaseName = 'modid'
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
minecraft {
mappings channel: 'official', version: '1.19.2'
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
copyIdeResources = true
runs {
client {
workingDirectory project.file('run')
property 'forge.logging.markers', 'REGISTRIES'
property 'forge.logging.console.level', 'debug'
mods {
examplemod {
source sourceSets.main
}
}
}
server {
workingDirectory project.file('run')
property 'forge.logging.markers', 'REGISTRIES'
property 'forge.logging.console.level', 'debug'
mods {
examplemod {
source sourceSets.main
}
}
}
}
}
dependencies {
minecraft 'net.minecraftforge:forge:1.19.2-43.3.13'
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'
}
mixin {
add sourceSets.main, 'mixins.soul_glowstone.refmap.json'
config 'mixins.soul_glowstone.json'
debug.verbose = true
debug.export = true
dumpTargetOnFailure = true
quiet
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
}
apply from: 'mcreator.gradle'
Your error is caused by this plugin: https://mcreator.net/plugin/104607/forge-mixins-support
Try deleting the one written in the build.gradle file and pasting this
Tell me later if it goes
thanks it worked and i will try to make the plugin compactible
Executing Gradle task: eclipse Build info: MCreator 2024.1.18518, forge-1.19.2, 64-bit, 14283 MB, Windows 11, JVM 17.0.10, JAVA_HOME: D:\Program Files\MCreator 2024.1\MCreator\jdk, started on: 2024-05-04-16:02:47
FAILURE: Build failed with an exception.
BUILD FAILED Task completed in 14 seconds