neoforge-1.21.1: runtime fixes and build improvements
- Fix ServerTickEvent: register listener for ServerTickEvent.Post instead of abstract ServerTickEvent base class (NeoForge 21.x requirement) - Fix null BlockGetter: replace null with EmptyBlockGetter.INSTANCE in isSolidRender() and propagatesSkylightDown() calls (1.21+ actually uses param) - Fix chunk iteration: replace direct visibleChunkMap field access with getChunks() iteration and getChunkToSend() with getLatestChunk() (1.21.1 API) - Build: fix shadowJar config to properly bundle DynmapCore into fat jar (was producing 80KB hollow jar missing all core classes) - Build: cap Gradle daemon and forked javac heap to prevent OOM on large hosts - Tested: server starts cleanly, Dynmap web UI accessible, maps rendered
This commit is contained in:
parent
4fd6b31aa6
commit
bd07616505
3 changed files with 26 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
org.gradle.jvmargs=-Xmx4G
|
||||
org.gradle.jvmargs=-Xmx2G
|
||||
org.gradle.daemon=false
|
||||
org.gradle.parallel=false
|
||||
# GitHub user and password (workaround for OSSRH beeing sunset - https://central.sonatype.org/pages/ossrh-eol/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue