Fork of SBPrime/AsyncWorldEdit (v3.5.4,
the last upstream version supporting Minecraft 1.8), fixed and adapted to build
with JDK 25 and run on MC 1.8.8 servers (Spigot / Paper / Apollo v1_8_R3)
on modern Java (tested on Temurin 25) as well as Java 8.
Fixed and adapted by Gregoret (Kohi). Original plugin by SBPrime —
all original credit stays with him; see license.txt.
On enable the server logs:
Fork of AsyncWorldEdit by SBPrime, fixed and adapted to work on MC 1.8 with JDK 25 by Gregoret (Kohi).
- MC 1.8.8 (
v1_8_R3) + WorldEdit 6.x (built against 6.1.9) - Built with JDK 25, emits Java 8 bytecode (class v52) — runs on Java 8 through 25
- Injector, async pipeline, DirectChunkAPI adapter for
v1_8_R3, disk-backed undo
ClassLoaderHelper(v3.9.4 branch):JavaPluginLoader.loadersis aListon CraftBukkit but aMap/LinkedHashMapon Paper/Apollo forks — handled both (this was theClassCastException: LinkedHashMap cannot be cast to Listcrash).Reflection:Field.modifiersis inaccessible on JDK 16+ — now optional (plainsetAccessiblestill works for Bukkit/NMS/WE classes).Loader.getResourceStream: the/resobfuscation needs the private JarProcessor + seed patches (not redistributable) — community builds use plain resource names.Loader.install:URLClassLoader.addURLreflection is blocked on JDK 16+. Falls back to in-loader loading; start the server with--add-opens java.base/java.net=ALL-UNNAMEDfor the original flow.Loader.loadClass: tolerates blockedfindLoadedClassreflection, never (re)definesjava.*/jdk.*, parent-first delegation (single class universe, no duplicate-defineLinkageError/ClassCastException).WrappedChunk(v1_8_R3 adapter): Minetick/Paper 1.8.8 forks removedEntityTracker.a(EntityPlayer, Chunk)— reimplemented with the fork's API.- Missing build modules (
JarProcessor,spigot_v1_13_R2, emptypatches/) fixed so the reactor reads; Bukkit pinned to1.12.2-R0.1-SNAPSHOT. - New
AsyncWorldEdit-Deploy18module: 1.8.8-only fat jar (target/AsyncWorldEdit.jar) — merged API/APIInner/Utils/BlocksHub/Core/adapter, nested Injector. Optional PlotMe/progress integrations are skipped (tolerated). Reflection.createnow prints the nested cause instead of swallowing it.
- JDK 25 (Microsoft/Temurin) + Maven 3.9+ to build; output runs on Java 8+
libs/worldedit/worldedit-{core,bukkit}-6.1.9-SNAPSHOT-dist.jar(WorldEdit 6.1.9)libs/APIs/Spigot_v1_8_R3.jar— your own 1.8.8 server jar (NMS; cannot be downloaded publicly, copy it from your server)libs/forge/fml-1.7.10-7.10.142.1104-1.7.10-universal.jar(Forge, for Injector)- Bukkit 1.12.2 API resolves automatically from the Spigot snapshots repo
$env:JAVA_HOME = 'C:\Program Files\Microsoft\jdk-25.0.4.101-hotspot'
mvn -DskipTests install -pl AsyncWorldEdit-API,AsyncWorldEditInjector,AsyncWorldEdit-APIInner,AsyncWorldEdit-Utils
mvn -DskipTests install -pl AsyncWorldEdit-BlocksHub_v1x,AsyncWorldEdit-BlocksHub_v2x,AsyncWorldEdit
mvn -DskipTests install -pl AsyncWorldEdit-spigot_v1_8_R3
mvn -DskipTests package -pl AsyncWorldEdit-Deploy18
# -> AsyncWorldEdit-Deploy18/target/AsyncWorldEdit.jar- WorldEdit 6.x installed.
- Copy
AsyncWorldEdit.jartoplugins/. - Java flags (required on Java 16+):
--add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED - First boot installs the injector; expect
DirectChunkAPI adapter set to Spigot v1.8 R3+Enabledwith no***error blocks.
//paste of huge schematics can OOM small containers (exit 137) — use
config-low-memory.yml (in this repo) as plugins/AsyncWorldEdit/config.yml:
smaller queues (2M/1M global, 100K/50K player), flush every 3000 blocks, 3000
blocks/tick, update check off, disk undo on. Paste with //paste -e when you
don't need entities, and give the container RAM matching the schematic size.
fix-18-jdk25— this fork (v3.5.4 based, MC 1.8.8)fix-v394-jdk25(inWorldUtil-master) — v3.9.4 with JDK 25 build + Map-loaders fix (upstream v3.9.4 is 1.13+ only by design)
Original license.txt applies. Source redistribution keeps the original
copyright notice and conditions.