Topic category: Bugs and solutions
This happened when I tried to recompile. Details on what item I tried to create below.
D:\Agnetha\Desktop\MCreator 1.6.6 [1.8.9] (THE NEW ONE)\forge\build\sources\main\java\mod\mcreator\mcreator_hammer.java:118: error: method onItemUse in class Item cannot be applied to given types;
super.onItemUse(itemstack, entity, world, i, j, k, l, a, b, c);float var4 = 1.0F;
reason: actual and formal argument lists differ in length
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output * Try:
Total time: 5.423 secs
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
D:\Agnetha\Desktop\MCreator 1.6.6 [1.8.9] (THE NEW ONE)\forge>
Task completed with return code 0 in 5873 milliseconds
I added a single tool mod element. I had no added elements perviously.
I added these events to the "When right-clicked on block (hand loc.)":
A stack event that required the following condition: blockAt[i, j, k] == Blocks.iron_ore
And the events in that stack of events included: Remove Block (i, j, k) | Add Block (i, j, k) [Stone] | Damage Item (by 1) | Add item to inventory [Iron Ingot, 1]