Commit graph

7 commits

Author SHA1 Message Date
9b49ece315 refactor: inline touchChunk() - remove extraction per upstream contributing guidelines 2026-03-07 19:03:24 -08:00
77162c3ebd fix: sync with monorepo canOcclude() fix, add [1.21.1] inline comments
CRITICAL FIX: Gitea repo was missing the canOcclude()/isAir() changes that
prevent Guava LoadingCache deadlock with modernfix/ferritecore.

Added inline comments to explain all API changes:
- canOcclude()/isAir() deadlock prevention (lines 248, 259)
- ServerTickEvent.Post event API change (line 919)
- getLatestChunk()/getPersistedStatus() chunk API (lines 1860, 1863)
- NBT contains() reimplementation (line 30)
- NBT getAsString() null safety (line 96)

This is now fully synced with the tested/working monorepo version.
2026-03-07 11:51:53 -08:00
11da1ebdbd docs: correct CHANGES.md - visibleChunkMap fix was not actually applied 2026-03-07 11:30:05 -08:00
b883712c2a docs: add CHANGES.md with full changelog 2026-03-07 11:26:28 -08:00
4b23ba9d16 docs: add README and project overview 2026-03-07 11:26:21 -08:00
2a8115ec8b 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
2026-03-07 09:41:38 -08:00
040b3e6f55 initial: neoforge 1.21.1 port - first compile fix pass 2026-03-06 19:07:14 -08:00