WorldEdit

WorldEdit

43M Downloads

Offset masks do not recognize blocks of the same type

Heliostorm opened this issue ยท 1 comments

commented

Versions

WorldEdit version: 7.2.1 and 7.2.0
Platform version: Fabric-Official (7.2.1+299386a)

Describe the bug

The overlay and underlay masks (< and >) do not apply to blocks of the same type that is being used for the overlay or underlay.

To Reproduce

  1. Build a tower of dirt.
  2. Select any block(s) except the one on the bottom.
  3. Use //replace >dirt stone

Expected behavior
Dirt blocks that are on top of another dirt block should be changed to stone, the same as if they were any other type of block.

Screenshots

2020-12-23_10 18 20
2020-12-23_10 18 36
2020-12-23_10 18 42

Additional context
I have a project made from gravity-enabled blocks, i.e. sand and gravel, and I need to be able to remove them top down so that none of the blocks fall. I thought I would be able to do this with the overlay/underlay masks but they do not apply to blocks of the same type.

commented

This has been discussed before and is due to a (seemingly intentional, at the time) negation in the parser, but seems no one made an issue at the time so it went forgotten.

That said this is an xy problem in your case as you can just use the update side-effect as on 7.2.1 on fabric to prevent block updates when you work with your sand/gravel/whatever. (//perf)