mojira.dev
MC-269383

Items can't be made unbreakable with commands anymore

The command: /give @p minecraft:shears{Unbreakable:1b} 1 would give you an unbreakable shears on other versions, but now this no longer does anything and just gives you normal shears.

This also stays true for other tools too.

If there is any other way to do this, please let me know.

Comments 2

Hello, letting you know 🙂

/give @p shears[unbreakable={}]

This is the case because with the snapshot from two weeks ago, Item NBT data has been replaced by components.

I recommend reading through this article or watching this very well made video by a mojang employee, to clear up confusion.

0theUnamed

(Unassigned)

Unconfirmed

(Unassigned)

24w11a

Retrieved