Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-58121

/setblock air in a waterlogged block places water instead

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.17.0.50 Beta, 1.16.220, 1.16.0.51 Beta, 1.13.1, 1.14.1 Hotfix, 1.14.0, 1.16.0, 1.16.201 Hotfix, 1.16.221 Hotfix, 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.19.22 Hotfix, 1.20.71 Hotfix
    • None
    • Confirmed
    • Multiple
    • 319780

      The bug

      When using /setblock (or /fill) to place air in a block, it fails if the block is currently waterlogged, placing water instead. /clone works fine.

      How to reproduce

      1. Place slab
      2. Place water in it
      3. Stand on the slab
      4. /setblock ~ ~ ~ air
         Water is placed

      Expected behavior

      Block should end up as pure air. Otherwise, this results in the following contradiction:

      /setblock ~ ~ ~ air
      /testforblock ~ ~ ~ air
      Block not found
      

            tryashtar [Mod] tryashtar
            Votes:
            10 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: