I need help

Started by That_dude13579 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 01:07, 26. Mar 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help

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…
Mon, 03/25/2024 - 18:05

I would recommend opening bug report at github and including demo workspace that reproduces this bug

Last seen on 01:07, 26. Mar 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i do this i cant seem…
Mon, 03/25/2024 - 20:20

how do i do this i cant seem to find how to

 

Last seen on 01:07, 26. Mar 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i fixed it nevermind thank…
Mon, 03/25/2024 - 21:18

i fixed it nevermind thank you