The Meaning of Life, the Universe, and Everything.
Join Date:
8/8/2014
Posts:
65
Minecraft:
Elixist
Member Details
I'm trying to make a waffle, but to make a waffle, you need a waffle Iron. I wan't to make an Item that will be used like an iron bucket, but with durability. What I want it to do is when you craft with it, it will give it back with a little bit of a durability loss along with the new item. How do I do this exactly?
I'm trying to make a waffle, but to make a waffle, you need a waffle Iron. I wan't to make an Item that will be used like an iron bucket, but with durability. What I want it to do is when you craft with it, it will give it back with a little bit of a durability loss along with the new item. How do I do this exactly?
Override Item#getContainerItem(ItemStack) on your waffle iron to return itself plus however much damage you want done to the stack.