Add clipboard metadata to CUI protocol
7eggert opened this issue ยท 5 comments
Is your feature request related to a problem? Please describe.
After loading a schematic, it's hard to tell where it will be going.
Describe the solution you'd like
When a schematic is loaded, mark the position as if the same shape had been copied from the current position. When not moving, //paste would then work exactly within that area. That way, WorldEditCUI will be able to show exactly the shape it would be placed into.
Describe alternatives you've considered
A special selection for pasting which would move with the player.
While this would certainly be more work than just faking a selection, this would also help while cutting/pasting without saving to a schematic.
//paste -n
will just select the area. dunno that we really want to update it dynamically in realtime tbh /shrug.
I would like to add better clipboard support in the CUI protocol, but that's probably a while off. Likely we would not send anything in real-time, but simply pass the clipboard data on the wire and let CUI render it in the right spot.
that's much less obvious from a WE perspective as schematic commands deal with getting a serialized file into your clipboard, not getting your clipboard into the world.