Posted January 23, 20214 yr So basically I want an item that when is used on a certain block it gives you a certain item and transforms the used block into another one. That works perfectly fine without the if(context.getItem().getDamage() > 1) condition. The whole code is here https://pastebin.com/0tRGVxze
January 23, 20214 yr Author 3 minutes ago, diesieben07 said: getDamage increases with tool use, it starts out at 0. Ooooooh I thought it was the other way round! Thanks for the help!
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.