Topic category: Troubleshooting, bugs, and solutions
when i try to run my java mod i get this in the console does anyone know how to fix it.
Build info: MCreator 2023.4.52316, forge-1.20.1, 64-bit, 16122 MB, Windows 11, JVM 17.0.9, JAVA_HOME: C:\Users\ghbor\OneDrive\Desktop\MCreator\jdk, started on: 2024-03-24-17:43:13
> Task :compileJava FAILED
C:\Users\ghbor\OneDrive\Javamod\src\main\java\net\mcreator\first\client\model\ModelTrashCanModel_Converted.java:7: error: a type with the same simple name is already defined by the single-type-import of Main import net.minecraft.data.Main;
^
C:\Users\ghbor\OneDrive\Javamod\src\main\java\net\mcreator\first\client\model\ModelTrashCanModel_Converted.java:17: error: a type with the same simple name is already defined by the single-type-import of Main import net.minecraft.client.main.Main;
^
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 1 second
I would recommend opening bug report at github and including demo workspace that reproduces this bug
how do i do this i cant seem to find how to
i fixed it nevermind thank you