mojira.dev
MC-313017

Excessive damage may lead to abnormal changes in armor durability

The Bug:

When a player wears armor with minecraft:damage components that are positive, if they are subjected to a massive physical attack, the durability of armor may experience abnormal changes.

Steps to Reproduce:

  1. Wear damaged armor.

    /item replace entity @s armor.head with minecraft:diamond_helmet[minecraft:damage=362]
  2. Record the durability of the armor.

  3. Cause a large amount of physical damage to yourself.

    /damage @s 9223372036854775808 minecraft:player_explosion by @s.
  4. Observe how the durability of the armor changes.

Observed Behavior:

The value of minecraft:damage component has experienced an abnormal change.

Expected Behavior:

The armor will be destroyed due to the damage event.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media]

d d

(Unassigned)

Unconfirmed

26.3

Retrieved