Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-160562

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.14.4, 19w36a, 1.15.2, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w30a, 1.16.2 Pre-release 3, 1.16.4, 20w46a, 20w51a, 21w03a, 1.17, 1.17.1, 1.18.1, 22w05a, 1.18.2, 1.19, 1.19.4, 23w14a, 1.21.1, 24w36a
    • Confirmed
    • Commands

      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.

            Unassigned Unassigned
            reddi reddi
            Votes:
            15 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              CHK: