My mod not getting exported [BUG]

Started by vinsplayer on

Topic category: Troubleshooting, bugs, and solutions

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My mod not getting exported [BUG]

I was making an mod, but when I tried to export it, i did'nt get exported, just showed this issue:

Executing Gradle task: build
Build info: MCreator 2020.3.16610 EAP (16610), 1.14.4, 64-bit, 7108 MB, Windows 10, JVM 1.8.0_252, JAVA_HOME: C:\Users\vinsi\Downloads\MCreator EAP 2020.3 b16610 Windows 64bit\MCreatorEAP20203b16610\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3
> Task :compileJava
C:\Users\vinsi\MCreatorWorkspaces\mod\src\main\java\net\mcreator\mod\Mod.java:39: error: incompatible types: Mod cannot be converted to Annotation @Mod("mod")
^
1 error
> Task :compileJava FAILED
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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:c…
BUILD FAILED in 4s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 8770 milliseconds
 

I know that you see there this mod is named "mod", but that's just because I'm not gonna publish this (This is just for my use AND This has some Copyrighted things).

 

Sorry for very very very bad english (Maybe still not very very very).

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, maybe i'm gonna then…
Sun, 05/10/2020 - 04:12

Okay, maybe i'm gonna then just rename it.