WorldEdit-BE
WorldEdit-BE copied to clipboard
Select pos1 with block "break"
Problem
I think having to right-click while shifting it's not necessary and I have to "worry" about sneaking and jump at the same time so I don't go down. It would be better to just do what the Java version does. Set pos1 by breaking the block (and restoring).
Proposed Solution
When a block is broken, detect if the player is using the wooden_axe and has also the permission to worldedit. If so, restore the blockstate and set the pos1.
Alternatives
No response
Additional info
Maybe it was already tried and wasn't a good solution for some reason but nonetheless I here it is the request.
For those wondering why it's shift right click to begin with, it's due to a limitation with Minecraft's current scripting API. it can't detect when a block is broken until it's actually broken. This means if it were used on blocks with special data like signs, furnaces and command blocks, those blocks would lose their data.
The only viable workaround in terms of implementation would be to only allow one item to be used as a selection wand, but that would prevent users from using any item as a selection wand.
This feature can be implemented once the scripting API matures a little more.
Even with permutations it loses data? That's unfortunate. However, I think that it might not matter. If you're selection an area that area will be filled so it would destroy the sign/furnace. Though... there are exceptions. Like if I select an area to copy. I hope they improve the API in that aspect.
Implemented in latest changes