FastAsyncWorldEdit

FastAsyncWorldEdit

152k Downloads

Pattern Saving

xdemoted opened this issue ยท 1 comments

commented

What feature do you want to see added?

Essentially the request is for a pattern creation system that allows for patterns to be saved and referenced later on.

Some example use cases would be:

Creating a list of all blocks that contain wood for replacement later
//pattern save wood oak_planks,acacia_wood,spruce_logs ...
//replace #pattern[wood] blue_concrete
This command would look for a saved pattern and apply that pattern to replace all blocks that match with blue_concrete

Another would be for saving patterns that are repeated often
//pattern save leaves 35%oak_leaves[persistent=true],35%jungle_leaves[persistent=true],30%air
//replace blue_concrete #pattern[leaves]

The overall goal of this is to take patterns that are repeated often and allow for easy access later on, this is especially useful when masks should be the same between builds, it would be far easier to reference an already created pattern.

Are there any alternatives?

No

Anything else?

No response

commented

I was told by @TheMeinerLP we've had this feature before but this was a very complex and unfortunately not well implemented solution so the implementation for this is commented out as far as I know. Might give it a second try or a different way of saving (like Clipboard Connect with Redis for example)

It would benefit the building scene a lot as most of the patterns are often written down on internal documentation, also you could share the patterns directly with others with a save/load and share option.

If it is not possible to do this issue, I would suggest collecting patterns in our documentation repository as an issue for advanced patterns.