mojira.dev
MC-160562

Commands fill or clone on 2 wide/high double blocks with replace cause particle/sound effects and a possible item drop

If a 2 high or 2 wide block gets replaced or moved with the keywords replace and/or move, only one block gets actually changed without sounds and particles and the other gets broken as if the keyword destroy was used on that block.

/fill ~ ~ ~ ~ ~1 ~ minecraft:air replace
/clone ~ ~ ~ ~ ~1 ~ ~ ~ ~1 replace move

This also happens if the blocks get overwritten by a loading structure block.

This only affects blocks that are depended on each other. A double chest is not affected by this.
Additionally depending on which block gets changed first, the other block might drop as an item.

At least the following double blocks are affected:

minecraft:sunflower
minecraft:lilac
minecraft:rose_bush
minecraft:peony
minecraft:tall_grass
minecraft:large_fern
minecraft:pitcher_crop
minecraft:pitcher_plant
#minecraft:doors
#minecraft:beds

This bug makes it impossible to remove these blocks with commands without a visual or audio signal even if the keywords replace or move are used.

Removing one half of the double block probably causes a block update on the other half before the command has the chance to remove the second half.

Possible solution would be to suppress the block updates until the command has finished with all affected blocks or the structure block has loaded all blocks.

Linked issues

Comments

Avoma

Can confirm in 20w51a.

user-f2760

Relates to MC-188223, in actuallity same core issue.

Mason Barber

Can confirm for 1.20.1

RandomGgames

Can confirm for 1.21. Can also add minecraft:tall_seagrass to that list.

reddi

Looks like the changes with the addition of the strict option in snapshot 25w02a have fixed this issue. Even with or without using the new strict option no item drops, sound effects or particle effects are generated.

reddi

(Unassigned)

Confirmed

Commands

clone, command, door, dropping, fill, move, particles, replace, sound, structure_block

1.14.4, 19w36a, 1.15.2, 1.16 Pre-release 4, 1.16 Pre-release 5, ..., 1.19.4, 23w14a, 1.21.1, 24w36a, 1.21.4

Retrieved