1

I know how to make an unbreakable item, but is there a way to make it so that nobody can know that it's unbreakable?

0

As shown on the wiki, you simply set HideFlags to 4 on the NBT tag. This wasn't too easy to find. Thank you to ExpertCoder14 for finding the correct wiki page.

Example: /give Dinnerbone minecraft:diamond_sword{HideFlags:4,Unbreakable:1b}

This will only hide the unbreakable tag.

Here is a cheat sheet:

Tooltip Section HideFlags Value
Enchantments 0
Modifiers (e.g. Attack Damage) 2
Unbreakable 4
Can Destroy 8
Can Place 16
Additional 32
Dye 64
All 127
2
  • "This is not well documented" I beg to differ, the Minecraft Wiki displays this info clearly on the item format page. Nov 6 at 20:47
  • You are right about that. I was just looking in the wrong places.
    – MrParrot
    Nov 7 at 10:02

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.