terbin

Results issues of terbin

**Describe the bug** Chunk deletion fails silently on region files that don't have proper 4096-byte sector padding on the last chunk. The operation appears to complete successfully but the files...

Hook ClientPlayInteractionManagerMixin so that right-clicking a chiseled bookshelf reads its slot stacks before the server's pickup or place response mutates them. Forward the resulting inventory state through DataInjectionHandler and BlockEntityLoadable...

Vanilla persistence semantics state that a mob with a custom name should survive chunk unload (PersistenceRequired = true on the NBT). Captures were emitting these mobs without the flag, so...

HotCache.entities's inner sets are mutated from the MC client thread (EntityCacheable.cache, Events.onEntityRemoved) and read on Dispatchers.IO by StorageFlow's drain through RegionBasedEntities. Two races surface: - RegionBasedEntities.compound's forEach over a plain...

MapDataStoreable.store() writes each map_*.dat synchronously in its forEach loop. On captures with thousands of maparts the loop blocks the IO coroutine for many seconds without touching StorageFlow.lastStoredTimestamp, so BarManager.updateCapture's decay...

MapDataStoreable.store()'s per-map block calls mapState.writeNbt, file creation, and NbtIo.writeCompressed without try/catch. A single corrupted map's NBT codec, a transient IO error, or a permissions issue would throw out of the...

Region-level catch in RegionBased.writeToStorage was whole-chunk-fatal: one entity whose writeData throws dropped every entity in the region. Observed in the wild via a vanilla LeashData NPE on a newer MC...

A vanilla MP server only sends the client the rules it has overridden, not the full rule set. Capturing on MP was therefore producing a LevelData with a partial rule...

Reconnecting during the post-stop StorageFlow drain re-entered Events.onClientJoin which unconditionally ran StatisticManager.reset() and HotCache.clear(). The reset zeroed chunks/entities/players/containers mid-drain so EndFlow read all-zero counters and reported nothing_saved_yet, and the clear...

stop() guarded only on !capturing, but the StorageFlow drain runs for up to a minute on big captures with capturing still true. Re-entries in that window (stale button clicks, onClientDisconnect...