Command Parameters Causing Build to Fail When Nothing is Wrong??

Started by DarknessDxD on

Topic category: Help with MCreator software

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Command Parameters Causing Build to Fail When Nothing is Wrong??

Whenever i use command parameters its causes my Gradle to fail. I removed plugins and it didnt fix it and i also created a brand new gradle with all the plugins added and it worked fine. 

https://imgur.com/a/Oec81Xq

 

https://imgur.com/a/NDEIKhq

 

https://imgur.com/a/diBOPLf

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this is what the gradle says…
Sat, 08/10/2024 - 15:14

this is what the gradle says 

Executing Gradle task: build
Build info: MCreator 2024.1.18518, forge-1.20.1, 64-bit, 16310 MB, Windows 11, JVM 17.0.10, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-08-09-22:18:17
Loaded APIs: kleidersplayerrenderer, pehkui, use_compiled_mods, mcreator_link, ldlib_api, playeranimator, jei, photon_api

> Task :mcreatorLink UP-TO-DATE
> Task :compileJava
C:\Users\user\Desktop\Invincible\src\main\java\net\mcreator\invincibleinc\procedures\AddSPProcedure.java:11: error: cannot find symbol public static void execute(CommandContext<CommandSourceStack> arguments, Entity entity) {
^
symbol: class CommandContext
location: class AddSPProcedure
C:\Users\user\Desktop\Invincible\src\main\java\net\mcreator\invincibleinc\procedures\GroupcreateProcedure.java:13: error: cannot find symbol public static void execute(CommandContext<CommandSourceStack> arguments, Entity entity) {
^
symbol: class CommandContext
location: class GroupcreateProcedure
C:\Users\user\Desktop\Invincible\src\main\java\net\mcreator\invincibleinc\procedures\GroupinviteProcedure.java:16: error: cannot find symbol public static void execute(LevelAccessor world, CommandContext<CommandSourceStack> arguments, Entity entity) {
^
symbol: class CommandContext
location: class GroupinviteProcedure
3 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 --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 5s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 9 hours, 56 minutes and 1 second

 

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried to remove the…
Mon, 08/12/2024 - 09:21

I tried to remove the plugins but that didint work... I created a new workspace with everything and it worked fine. Is there a way to move all my variables and elements there?

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nothing is workingis there…
Mon, 08/12/2024 - 17:28

nothing is working

is there another fix??

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
here is the link^  
Thu, 08/15/2024 - 03:35

here is the link^

 

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry i took awhile to…
Thu, 08/15/2024 - 03:36

sorry i took awhile to respond

 

 

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
where u able to use it to…
Sat, 08/17/2024 - 20:51

where u able to use it to find the problem?

 

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do u have discord? can u add…
Wed, 08/21/2024 - 20:09

do u have discord? can u add me, darknessdxd