Folia Support
This is a thoroughly tested version of WorldEdit against Folia. Not only does it introduce the fundamentals that other forks have offered, but it also provides the ability to utilize -e tags, butchering entities, and even the //regen command on Spigot, Paper, and Folia alike. That said, this pull request is ready for review, so critical changes (if needed) can be made to ensure Folia is sufficient and prepared for WorldEdit upstream.
Supersedes: #2379 Resolves: #2348
This was also done for FastAsyncWorldEdit: IntellectualSites/FastAsyncWorldEdit#3363
Converted into a draft as FAWE's code has been reworked due to external requirements that will be applied here once FAWE determines their preferred codestyle and approach.
I was wondering, to avoid making a lot of changes, wouldn't it be worthwhile to create a worldedit-folia module similar to worldedit-bukkit?
I was wondering, to avoid making a lot of changes, wouldn't it be worthwhile to create a worldedit-folia module similar to worldedit-bukkit?
Imo from a long term maintenance perspective, a separate module would be substantially worse- it's better to keep it in the bukkit module with as minimal changes as possible