Data Miner (0.0.0-beta.2)
Curse Maven Snippet
What's new
v0.0.0-beta.2 - Async log capture, no more reload freeze
Bug-fix beta for Minecraft 1.21.1 / NeoForge 21.1.249. Fixes a client freeze / extremely slow resource-pack reload on large modpacks and removes an unused networking feature.
Fixed
- Client freeze / very slow resource-pack reload (F3+T):
CapturedAppenderused toflush()to disk under a lock on everyWARN/ERRORrecord, on the logging thread. On a large modpack a reload emits thousands of warnings in parallel, so the reload worker threads (and the render thread) serialized on per-line disk I/O and the client appeared to hang. The appender now hands formatted lines to a bounded queue drained by a single daemon writer (DataMiner-LogCapture) with one flush per batch; the logging thread never touches disk and never blocks (lines are dropped and counted if the queue is full). - Issue detector writes:
IssueRegistryno longer opens/writes/closesissues.jsonl/lootr_missing_tables.jsonlper matching record on the logging thread; those writes moved onto their own daemon writer (DataMiner-IssueWriter). The five known-issue detectors are unchanged. - Server tick cost while the latency tracer is running:
PerfEventHandlersnow captures the all-entities / all-chunks slow-tick snapshot at most once per second instead of on every slow tick (which, on an overloaded server, meant every tick).
Removed
- Client reload detection with server reporting: the client
PreparableReloadListenerthat logged a stack trace and sent aClientReloadPayloadto the server on every resource reload, plus its payload type and server handler (DataMinerClientNetworking,DataMinerServerNetworking,DataMinerNetworkPayloads), have been deleted. Data Miner no longer registers any network payload.
Notes
Diagnostic / dev tool, no gameplay content. Verified: ./gradlew build is green and the mod compiles clean against the 1.21.1 API. The reload-freeze fix has not yet been verified in-game against a full modpack — feedback welcome.
JAR: data_miner-1.21.1-neoforge-21.1.249-0.0.0-beta.2.jar
Tag: 1.21.1-neoforge-0.0.0-beta.2
This mod has no additional files

