So i'm a user from Terraria, which has both no durability and no hunger (Hunger Strike fixed this). The only things i've seen to avail is for server creators in which case you can use a command for an individual item. I want something like a datapack or command to give all items in my inventory infinite durability.

1 Answer 1


That's just the Unbreakable tag. But you can't modify player inventories, so you will have to instruct the player to throw items onto the ground and then run /execute as @e[type=item] run data merge entity @s {Unbreakable:1}.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .