Started by
ohadk123
on
Topic category: Help with Minecraft modding (Java Edition)
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?
Can you show the error log?
@#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.