Creating an explosion event

Started by ohadk123 on Tue, 04/11/2017 - 21:33

Topic category: Help with MCreator modding

Last seen on 15:56, 10. Nov 2017
Joined Jun 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Creating an explosion event
Tue, 04/11/2017 - 21:33

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 16:39, 18. May 2019
Joined Dec 2013
User points:

Statistics:

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

Can you show the error log?

Last seen on 15:56, 10. Nov 2017
Joined Jun 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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.