mojira.dev
MC-163286

/setblock ~ ~ ~ air destroy does not destroy liquids

/setblock ~ ~ ~ air destroy does not replace liquids (water or lava) with air. Instead, the block break sound plays but the block itself does not change. Note that using /setblock ~ ~ ~ stone destroy on liquids works, as well as /fill ~ ~ ~ ~ ~ ~ air destroy.

*Expected Behavior*
/setblock ~ ~ ~ air destroy should replace the liquid block with air.

*Current Behavior*
A block break sound plays and the command is tracked as successful, but the liquid remains.

*Workaround*
Use /fill ~ ~ ~ ~ ~ ~ air destroy instead of /setblock ~ ~ ~ air destroy.

*Steps to reproduce*
1. Target a liquid block (water or lava) with /setblock x y z air destroy.
2. Execute
3. The liquid is not replaced with air.

Linked issues

Attachments

Comments 2

Are we sure this isn't a result of the block-fluid split being worked on?

This is a leftover of that split. It looks like /fill was updated to deal with this scenario but /setblock wasn't.

Bluefire610

slicedlime

Confirmed

(Unassigned)

block, command, command_block

1.14.4

20w06a

Retrieved