ConquestWorldEdit
Building a server this size means moving millions of blocks. FastAsyncWorldEdit (FAWE) targets Paper, so I took FabricAsyncWorldEdit, a community Fabric fork, and rebuilt the parts that touch the world.
1.1 million blocks per second
- Role
- Port and maintenance
- Status
- Live
- Built with
-
- Java
- Fabric
- FAWE
- Gradle
What I changed
- Chunk reads and section building run on FAWE's worker threads. Every change to the world is committed on the server thread, one chunk at a time.
- Lighting is batched through the vanilla light engine, and block states map to compact tables with their light, POI and block-entity data precomputed.
- Undo and rollback restore blocks exactly, including leaves, which stay persistent when placed by an edit.
- Modded blocks work like vanilla ones: bare names such as
apricorn_log,##block tags and tab completion all find Cobblemon's blocks, and an ambiguous name lists the matches instead of guessing.
Results
- Around 1.1 million blocks per second while server ticks stay under 30 ms.
- A test mod boots a real dedicated server and runs 48 end-to-end checks, then shuts down. All of them pass.
- It runs on Cobblemon Conquest's survival and build servers. goBrush, VoxelSniper and goPaint are ported on top of it, each with its own test harness.
Worth knowing
- FAWE's thread pools weren't daemon threads, so on Fabric the JVM never exited after
/stop. One flag, a lot of confused restarts. - Block masks treated any id with a colon as a pattern and matched substrings, so
cobblemon:campfirealso caught campfire pots. Ids are now looked up exactly.