/setblock and /fill resets the instrument block state of note blocks
The bug
As of 1.16, /setblock and /fill completely ignore the instrument property. It instantly applies the instrument that corresponds to the block below the note block.
How to reproduce
Simply stand on a stone block and type /setblock ~ ~ ~ note_block[instrument=bit] in the chat. The instrument will be set to basedrum rather than the value that was specified in the command.
2020-07-02, 08:50 PM
2024-10-30, 04:50 PM
2024-10-30, 04:50 PM
10
6
1.16.1 - 1.21.2
1.16.1, 20w27a, 20w30a, 20w46a, 20w51a, 21w03a, 1.16.5, 21w06a, 1.17.1, 21w42a, 1.18 Pre-release 2, 1.18 Pre-release 8, 1.18 Release Candidate 3, 1.18.1, 22w06a, 22w07a, 1.18.2, 22w14a, 22w17a, 22w18a, 1.19 Pre-release 2, 1.19 Pre-release 4, 1.19 Pre-release 5, 1.19, 22w45a, 22w46a, 1.21, 1.21.2