Started by
MrPizza333
on
Topic category: Help with MCreator software
I Making a mod with magic so i put a execute command in it but it isn't working?
Problem: Execute command not working
What it says is
Execute Command /summon Fireball ~ ~1 ~ {direction:[0.0d,0.0d,0.0d]}
https://mcreator.net/forum/10980/gui-button-doesnt-work-execute-commands
I tried that it didn't compile correctly
When I try that it gives me this error
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava NO-SOURCE
:processApiResources NO-SOURCE
:apiClasses UP-TO-DATE
:sourceMainJava UP-TO-DATE
C:\Pylo\MCreator183\forge\build\sources\main\java\mod\mcreator\mcreator_castSpell.java:26: error: cannot find symbol
if (!world.isRemote)
^
symbol: variable world
location: class mcreator_castSpell
1 error
: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
BUILD FAILED in 1s
5 actionable tasks: 3 executed, 2 up-to-date
https://mcreator.net/forum/10980/gui-button-doesnt-work-execute-commands
Neither of the links to other pages work for me, it just says page not found. What was the information that was on them?
2020.4 should have this bug fixed
it did not
im using 2023.4
I would also recommend trying deleting all files in install dir of MCreator after rebooting PC and trying to reinstall the software