exporting my mod is not working

Started by Nightshadow on Fri, 03/05/2021 - 13:23

Topic category: Help with MCreator software

Last seen on 12:35, 2. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
exporting my mod is not working
Fri, 03/05/2021 - 13:23

okay so I wanted to start a new dimension and I completed the project :D  the problem is that I can't export it

it will always say: your workspace contains mod elements that don't compile and could not be exported no mod file was generated

 

and here is what the console always says:

Executing Gradle task: build
Build info: MCreator 2020.5.47520, forge-1.15.2, 64-bit, 8065 MB, Windows 10, JVM 1.8.0_265, JAVA_HOME: C:\Users\PeelStudent\MCreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :compileJava
C:\Users\PeelStudent\AppData\Roaming\.minecraft\mods\Opposite_Nether\opposite_nether\src\main\java\net\mcreator\oppositenether\entity\CowmanEntity.java:193: error: cannot find symbol OHNOUDIDNOTProcedure.executeProcedure($_dependencies);
^
symbol: variable OHNOUDIDNOTProcedure
location: class CustomEntity
C:\Users\PeelStudent\AppData\Roaming\.minecraft\mods\Opposite_Nether\opposite_nether\src\main\java\net\mcreator\oppositenether\entity\GiantFishEntity.java:207: error: cannot find symbol FishattackProcedure.executeProcedure($_dependencies);
^
symbol: variable FishattackProcedure
location: class CustomEntity
2 errors
> 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.10.3/userguide/command_line_interface.html#se…
BUILD FAILED in 5s
1 actionable task: 1 executed
BUILD FAILED

 

 

 

 

 

 

 

 

could you please help me?
Task completed in 7496 milliseconds
 

Last seen on 20:04, 11. Apr 2021
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
MCreator doesn't fin this…
Fri, 03/05/2021 - 15:20

MCreator doesn't fin this procedure OHNOUDIDNOTProcedure inside your CowmanEntity.

Last seen on 12:35, 2. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
what does that mean?
Fri, 03/05/2021 - 22:43

what does that mean?

Last seen on 12:35, 2. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
does that mean that I need…
Fri, 03/05/2021 - 23:03

does that mean that I need to make the name shorter or....

This means you deleted that…
Sat, 03/06/2021 - 10:45

This means you deleted that procedure but still call it somewhere

Last seen on 12:35, 2. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
what do I do though? I've…
Sat, 03/06/2021 - 16:10

what do I do though? I've already made a new procedure but it still doesn't work

Last seen on 12:35, 2. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I did some fixing and this…
Sat, 03/06/2021 - 17:07

I did some fixing and this is what the console looks like now:

 

Executing Gradle task: build
Build info: MCreator 2020.5.47520, forge-1.15.2, 64-bit, 8065 MB, Windows 10, JVM 1.8.0_265, JAVA_HOME: C:\Users\PeelStudent\MCreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :compileJava FAILED
C:\Users\PeelStudent\AppData\Roaming\.minecraft\mods\Opposite_Nether\opposite_nether\src\main\java\net\mcreator\oppositenether\entity\GiantfishEntity.java:57: error: cannot find symbol import net.mcreator.oppositenether.procedures.FishattackProcedure;
^
symbol: class FishattackProcedure
location: package net.mcreator.oppositenether.procedures
1 error
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.10.3/userguide/command_line_interface.html#se…
BUILD FAILED in 4s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 28685 milliseconds

 

I only need to fix my Giant fish mob now. Any suggestions?
 

Last seen on 12:35, 2. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
nvm I fixed my problem
Sun, 03/07/2021 - 00:16

nvm I fixed my problem