Build Failed

Started by CTLB on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 20:51, 8. Nov 2020
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Build Failed

I have been getting the following error for a while, I tried to fix it. I can't make a difference to the game.

 

Executing Gradle task: runClient
Build info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 8128 MB, Windows 10, JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\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\CTLB\MCreatorWorkspaces\lightenyum\src\main\java\net\mcreator\lightenyum\procedures\BossattackskillsProcedure.java:58: error: constructor LightningBoltEntity in class LightningBoltEntity cannot be applied to given types; Entity entityToSpawn = new LightningBoltEntity(EntityType.LIGHTNING_BOLT, world.getWorld());
^
required: World,double,double,double,boolean
found: EntityType<LightningBoltEntity>,World
reason: actual and formal argument lists differ in length
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.10.3/userguide/command_line_interface.html#se…
BU�LD FAILED in 16s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 21412 milliseconds