-
Bug
-
Resolution: Unresolved
-
None
-
1.17, 21w39a, 1.18.1, 1.18.2
-
None
-
Community Consensus
-
(Unassigned)
The Bug
The "/item replace" command is the successor of "/replaceitem" in 1.17. However, unlike its predecessor, this new command causes the replacement of armor to cause the sound effect of when one is equipping armor.
The sound effects do not play to the player the "/item replace" command is affecting - the sound is only played to other players near them.
Steps to replication:
- At least two players are required. One for the "/item replace" to affect, and the other(s) as the bystander(s).
- Place and activate a Repeating Command Block with the command "/item replace entity @p armor.chest with minecraft:diamond_chestplate".
- The affected player will have a diamond chestplate constantly replaced in their chest armor slot - the bystander(s) will constantly hear the sound of the former equipping a diamond chestplate.
This occurs with all armor types, armor parts, and Elytras. This does not occur with items/slots within the inventory or hotbar. Please disable the sound for other players in future developments.
Observed Behavior:
The minecraft:item.armor.equip_TYPE sound can only be heard by other players when using the "/item replace" command.
Expected Behavior:
The minecraft:item.armor.equip_TYPE sound would be able to be heard by all players when using the "/item replace" command.