⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@R00tB33rMan
Copy link

@R00tB33rMan R00tB33rMan commented Nov 3, 2025

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

me4502 and others added 30 commits March 9, 2024 18:47
* Start cleanup of WorldEdit-CLI data versions

* Use a record for the data file

* Use cassette-deck to download data files rather than bundling

Sketchy implementation atm, better will follow - this "works" as-is without any special handling of missing versions. Intention is to get the "next closest version" when it's not available

* Fix up build errors

* Review changes

* Fix a potential race condition
…ilure (EngineHub#2503)

* Set clipboard after regen to prevent unnecessary clipboard loss on failure

* Remove the cast
…gineHub#2502)

* Add a #match mask, to mask to blocks that match the clipboard

* Rename the parser mask to #clipboard

* Fix import order

* Add documentation to the MatchMask class

* PR review feedback

* add #copy as an alias

* use native Java List.of
* Deprecate bundled item data

* Use forRemoval further, and add the extra suppressions necessary due to this
…neHub#2676)

* Add a Full Cube mask to mask to blocks that fill an entire cube

* IntelliJ is bad

* fixes from review
* wip

* do all platforms but bukkit & cli

* use the paperweight adapters for material information on bukkit

* Move bundled block data load to CLI

* Drop this part, let it load when needed

* Stray warning suppression

* Swap to using an MC utility function for full block detection
me4502 and others added 30 commits January 3, 2026 16:24
* Improve reliability of tree generator function

* Reimplement TreePlanter using generator
* Add a replacebiome command

* Make mask required

* Few minor tweaks to formatting/strings

* Remove the warning message because it confuses people, and is no longer true on any platform
This also ensures any overriden methods are used for equality or
hashcode checks
* Re-implement backing state maps

This uses a single array combined with efficiently computed indexes to
avoid needing to do entire map equality comparisons or hold large
hash-based tables, improving memory and CPU usage.

* Give a good error message on property mismatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Folia support

7 participants