I created an item and I would like that he executes this command when we make a right click in air : /execute @e[r=20,rm=5] ~ ~ ~ fill ~1 ~10 ~1 ~-1 ~ ~-1 ice 0 replace air but that doesn't work and the creation of the object fails :
C:\Pylo\MCreator160\forge\build\sources\java\mod\mcreator\mcreator_icesword.java:124: 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.
Total time: 44.061 secs
Task completed with return code 0 in 48426 milliseconds
I would like to know why, thank you.
PS : I'm french and I have a bad english, sorry ;)