Topic category: Bugs and solutions
I made a food that is suppose to cause swiftness for 10 seconds but for some reason it just cause recompilation errors. Bellow is the text I found in the Gradle log
C:\Users\Christopher\Desktop\MCreator 1.6.0 [1.8]\forge\build\sources\java\mod\mcreator\mcreator_lollipopBlack.java:127: error: cannot find symbol
int j = (int)(entity.prevPosY + (entity.posY - entity.prevPosY) * (double)var4 + 1.62D - (double)entity.yOffset);
symbol: variable yOffset
location: variable entity of type EntityPlayer
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.