mojira.dev
MCPE-58121

/setblock air in a waterlogged block places water instead

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

Linked issues

Comments 2

It doesn't place water, it just replaces the waterlogged block with something else and keeps it waterlogged.

tryashtar

(Unassigned)

319780

Confirmed

Multiple

1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.17.0.50 Beta, 1.16.220, , 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.19.22 Hotfix, 1.20.71 Hotfix

Retrieved