Posted July 29, 201510 yr I have been experimenting with hammers that you use to make things but I don't want the hammer taken away every time. (I also don't need durability because only certain hammers can do certain things.) Please help! MY NAME IS JEFF. Or is it? I do hope you never always not have a bad day!
July 29, 201510 yr Set the hammer's container item to itself with Item#setContainerItem . If you need to preserve anything like metadata or NBT, override Item#getContainerItem(ItemStack) to return the appropriate ItemStack of the hammer instead. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
July 29, 201510 yr Author Ok thanks! MY NAME IS JEFF. Or is it? I do hope you never always not have a bad day!
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.