Started by
joshuawl
on
Topic category: Help with MCreator software
I just updated from Mcreator 1.7.2 to 1.7.5 and the damage item event for swords is giving me an error now every time I recompile my workspace that says,
C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\mcreator_dagger.java:76: error: cannot find symbol itemstack.damageItem(10, entity); ^Is this a bug and is anyone else having the same problem? I am setting the damage item to 10 and my sword does have 100 durability so I don't think I'm doing anything wrong. Also if someone knows a way to get around this error for now that would be helpful.
What does the full log say?
You have to find this line :
public ActionResult<ItemStack> onItemRightClick(World world, EntityPlayer entity, EnumHand hand) {
And write before "World" ItemStack itemstack,
Then you'll probably have to delete the @Override just above that line (dunno really why) and tell me if it works