mojira.dev
MC-280411

Items with block_attack component don't loose durability

Affects versions : 25w04a to 25w09b

Give you an item with block_attack component, with any parameters for item damage, or give/craft you just a Shield and block any attack and you see the item don’t take any damage.

Linked issues

Comments 2

This report is correct in that shields did not consume durability in _25w04a_, but this has already been reported in MC-279685 and was fixed in _25w05a_. I can affirm that shields consume durability again in that and subsequent versions, including the most recent snapshot. The other behavior mentioned in this report, items with a {{minecraft:blocks_attack}} component not consuming durability by default, has already been reported in MC-269654. I can affirm that items will properly consume durability when specifying the necessary components.

@MrMuskle In fact, I gave myself items that were supposed to lose a certain amount of durability (a lot or not a lot for testing) and none of them lost any durability.

Loupieur

(Unassigned)

Unconfirmed

(Unassigned)

25w09b

Retrieved