Topic category: Help with MCreator software
I'm creating a crafting block and the GUI is causing errors:
C:\Users\Benonius\MCreatorWorkspaces\a_craftin_time\build\sources\main\java\net\mcreator\a_craftin_time\MCreatorDeathGUI.java:261: error: unclosed string literal
this.fontRenderer.drawString("-+"",
^
C:\Users\Benonius\MCreatorWorkspaces\a_craftin_time\build\sources\main\java\net\mcreator\a_craftin_time\MCreatorDeathGUI.java:262: error: not a statement
89, 29, -16777216);
^
C:\Users\Benonius\MCreatorWorkspaces\a_craftin_time\build\sources\main\java\net\mcreator\a_craftin_time\MCreatorDeathGUI.java:262: error: ';' expected
89, 29, -16777216);
^
3 errors
: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 0s
I can't figure out the problem, I used this video as a guide and have done everything from changing procedures, amount of slots in the block's inventory, etc. I have checked about 10 times to see if I left something out of the procedure and everything was in the right spot. Please help if you think you know the problem! I don't want to have to delete any mod elements! (Also, the only item that is 'Problematic' is the GUI itself)
from the errors this kind of looks like the code has syntax errors from for example missing lines, though i didn't create mcreator so i can't tell how much this is true
I deleted the GUI and made a new one, and now everything works just fine. I don't see any logic behind that, but hey, at least I can work on my mod now!