Creating an explosion event

Started by ohadk123 on

Topic category: Help with modding (Java Edition)

Last seen on 08:07, 25. Mar 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Creating an explosion event

Hey, I was trying to add an explode event on a block in my mod, but it fails to recompile because of it, what do I need to do in ths event to make it work?

Last seen on 19:01, 30. May 2022
Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you show the error log?
Wed, 04/12/2017 - 04:31

Can you show the error log?

Last seen on 08:07, 25. Mar 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Can you show the error log?
Wed, 04/12/2017 - 08:59

@#1 

warning: [options] bootstrap class path not set in conjunction with -source 1.6
C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\mcreator_chaosTNT.java:120: error: 'else' without 'if'
else if(world.isBlockIndirectlyGettingPowered(new BlockPos(i, j, k))<=0){
^
1 error
1 warning

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.