code error idk why

Started by GhostedBoi on Wed, 08/03/2022 - 01:02

Topic category: Help with MCreator software

Last seen on 23:09, 1. Sep 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
code error idk why
Wed, 08/03/2022 - 01:02

Executing Gradle task: build
Build info: MCreator 2022.1.20510, forge-1.16.5, 64-bit, 16157 MB, Windows 10, JVM 17.0.1, JAVA_HOME: C:\Users\Esteban NÚÑEZ ROJAS\Downloads\MCreator20221\jdk, started on: 2022-08-02-21:00:58

> Task :compileJava FAILED
C:\MCreatorWorkspaces\minecraft_warfare\src\main\java\net\mcreator\mw\procedures\AimOnKeyPressedProcedure.java:30: error: illegal start of expression }(((entity instanceof LivingEntity)?((LivingEntity)entity).getHeldItemMainhand():ItemStack.EMPTY)).setDamage((int) );}else if (((entity instanceof LivingEntity)?((LivingEntity)entity).getHeldItemMainhand():ItemStack.EMPTY).getItem() == M4A1AimItem.block) {if(entity instanceof LivingEntity) {
^
C:\MCreatorWorkspaces\minecraft_warfare\src\main\java\net\mcreator\mw\procedures\AimOnKeyPressedProcedure.java:36: error: illegal start of expression }(((entity instanceof LivingEntity)?((LivingEntity)entity).getHeldItemMainhand():ItemStack.EMPTY)).setDamage((int) );}
^
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 3s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 5 seconds

pls help

You are referencing item you…
Thu, 08/04/2022 - 07:30

You are referencing item you deleted in one or more of your mod elements