Posted June 17, 201510 yr I am trying to damage an item when you right click with it and i have tried doing using the method that is issued when you break a block and this has not worked if anyone can help me with this that would be great. Also this is in 1.7.10
June 17, 201510 yr Author Yes i have tried ItemStack.damageItem() but it doesnt seem to work also if it helps it is a sword im trying to do this on
June 17, 201510 yr Author Not currently but all i have is the normal sword files plus the onItemRightClick() running ItemStack.damageItem() with all of the respective arguments of course.
June 17, 201510 yr ItemStack.damageItem() does not work in creative mode. You can damage items only in survival mode.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.