![](https://forums.minecraftforge.net/uploads/set_resources_2/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
DeadZone
-
Posts
3 -
Joined
-
Last visited
Posts posted by DeadZone
-
-
26 minutes ago, diesieben07 said:
Return an ItemStack that has one more damage.
How would I get the existing damage on the item?
-
Hello,
I've created a hammer item which damages some blocks when they are hit in the world.
I want to be able to craft these blocks, however, the hammer just gets consumed when put in the crafting bench.
I've tried adding a container item, however, that just returns the item. I have a max damage property on my item, and was wondering how I can damage it when something is crafted.
Crafting Damage (1.16)
in Modder Support
Posted
I'm still unsure on how to do this with the .containerItem()