mojira.dev
MC-126514

Inconsistent block handling options in /setblock, /fill, /clone and structures

Not all options to handle blocks are available for the 4 ways of modifying blocks in the world.

block handling option

/setblock

/fill

/clone

structure block

replace only certain blocks

replace

replace only air

keep

keep

❌  

drop the item of the blocks

destroy

destroy

only copy certain blocks

-

-

filtered

copy everything except air

-

-

masked

✔ structure voids

Boxes marked with "-" are not necessary as /setblock and /fill only allow to place one type of block

Comments 7

Rotation could also be added to this list, as structure blocks are the only block-modifying one on this list that has a rotation option.

This is purely about changing block ids in the world, but of course a /state command that could do more than rotation would be ideal.

Masked copies everything except air, and structure voids allow spaces to be ignored when copying a structure. Neither of them has the feature of only copying air.

@Aaron Rhodes Fixed. Thanks

Affects 1.13-pre6. Might want to add rotation to the list, but just for /clone.

"filtered" doesn't only replace certain blocks, it only clones certain blocks.

Can I bump this in any sort of way?

Misode

(Unassigned)

Confirmed

Commands

Minecraft 18w09a, Minecraft 18w21b, Minecraft 18w22a, Minecraft 18w22b, Minecraft 18w22c, ..., Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w14a, 1.15, 1.15.2

Retrieved