mojira.dev
MC-153593

'fill [coords] water replace air' waterlogs waterloggables but 'fill [coords] air replace water' does not unwaterlog them

The fill command 'fill [coords] water replace air' command will waterlog stairs, slabs etc but the inverse of that 'fill [coords] air replace water' leaves those blocks waterlogged.

This was reported twelve months ago on the BE tracker and has been ignored.

Either the fill command does waterlog and de-waterlog or it does neither, not half and half.

Please, be consistent with this stuff.

Linked issues

Attachments

Comments 11

[media][media][media][media][media][media]

Isn't "twelve months ago" exactly a year?

I don't see a bug here anyway because a waterlogged block is identified as a waterlogged block, not water and a block seperately. Just replace the waterlogged block with a non waterlogged block of the same type to remove the water from it. This ticket is a feature request.

Nevermind, I see the bug here now, which is probably that using /fill waterlogs blocks when it shouldn't.

Isn't "twelve months ago" exactly a year?

I don't see a bug here anyway because a waterlogged block is identified as a waterlogged block, not water and a block seperately. Just replace the waterlogged block with a non waterlogged block of the same type to remove the water from it. This ticket is a feature request.

Nevermind, I see the bug here now, which is probably that using /fill waterlogs blocks when it shouldn't.

Can't reproduce:

/fill ~ ~ ~ ~1 ~ ~1 water replace air
[media]

Can't reproduce:

/fill ~ ~ ~ ~1 ~ ~1 water replace air
[media]
1 more comments

Yes, the bug is that 'fill water replace air' should only replace AIR with water but it's replacing waterloggable blocks with their waterlogged variants, it should not touch anything that is not AIR.  Screenshots and world attached for your reference.

Just replacing the block with a non waterlogged block of the same type is preposterous given how many variants of stairs plus direction/orientation there are.

Seeing as you just closed this issue without making any attempt to get more details about reproducing the error and there is no way for me to reopen this bug report, I have created a new report for the same issue.

Seeing as you just closed this issue without making any attempt to get more details about reproducing the error and there is no way for me to reopen this bug report, I have created a new report for the same issue.

I've reviewed this report, and I hope to clear up some of the misunderstanding. When you run the fill command with replace, only the block to be replaced is affected, in this case air. However, since you are placing water, it beings to flow after the command finishes. Much like when water can fill air spaces to create new water source blocks, the same can happen with blocks that can be waterlogged. As a result, all of those blocks fill with water after the command has finished. This is why the reverse is not observed, where air "clears up" the water.

I've reviewed this report, and I hope to clear up some of the misunderstanding. When you run the fill command with replace, only the block to be replaced is affected, in this case air. However, since you are placing water, it beings to flow after the command finishes. Much like when water can fill air spaces to create new water source blocks, the same can happen with blocks that can be waterlogged. As a result, all of those blocks fill with water after the command has finished. This is why the reverse is not observed, where air "clears up" the water.

Andrew McMahon

(Unassigned)

Unconfirmed

(Unassigned)

Minecraft 1.14.2

Retrieved