Status
Can not reproduce
Issue description
GUI will give an error message. I'm following a tutorial from the Pylo YouTube channel, and have checked for mistakes multiple times.
I have attached the compile log given with this error message.
C:\Users\Linus Temporary\MCreatorWorkspaces\coffee_mod\build\sources\main\java\net\mcreator\coffee_mod\MCreatorBrewingGUI.java:225: error: unclosed string literal
this.fontRenderer.drawString("+"",
^
C:\Users\Linus Temporary\MCreatorWorkspaces\coffee_mod\build\sources\main\java\net\mcreator\coffee_mod\MCreatorBrewingGUI.java:226: error: not a statement
51, 39, -16777216);
^
C:\Users\Linus Temporary\MCreatorWorkspaces\coffee_mod\build\sources\main\java\net\mcreator\coffee_mod\MCreatorBrewingGUI.java:226: error: ';' expected
51, 39, -16777216);
^
3 errors
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
I have tested and variables in 1.9.0 indeed work. You did not give any details on how you accessed this variable so I can't really help you much, but the proper way is <VAR:varName> and varName is the name of a global variable.