1

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.

3

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}.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.