mojira.dev
MC-265389

"/item modify" command makes armor/offhand equip sound

The bug

/item modify command makes armor and offhand equip sound when you modify their nbt data.

How to reproduce

  1. Use the data pack

[media]
  1. Equip a chestplate
    → ✔ The armor equip sound is played

  2. Run the following command:

    /item modify entity @s armor.chest 265389:set_lore

    → ❌ The armor equip sound is played again

Attachments

Comments 2

Can confirm that this also applies to Elytra, which will make shuffling sounds when modified.

Can confirm in 1.21

David

(Unassigned)

Confirmed

Platform

Normal

Commands

1.20.1, 1.20.2 Pre-Release 4, 1.20.2 Release Candidate 2, 1.20.4, 1.21

Retrieved