promotional bannermobile promotional banner

TRMT Autosave Optimization

Avoids a redundant deep copy of verified TRMT erosion snapshots during NeoForge autosaves, preserving the normal write path.

TRMT Autosave Optimization

A narrowly scoped server optimisation for The Roads More Travelled (TRMT).

The problem

In a world with many erosion records, autosaving can spend time deeply copying an NBT snapshot that TRMT has already built independently of its live state.

Why it happens

The audited TRMT save method allocates a detached NBT tree. NeoForge then makes another protective copy before asynchronous writing; for this exact snapshot, that second copy is redundant.

Scope of the fix

  • Reuses the detached snapshot only for the exact audited TRMT erosion class fingerprint.
  • Preserves the protective copy for other SavedData types and unrecognised TRMT implementations.
  • Keeps NeoForge writing, compression and error handling on their original path.

Erosion rules, progress, cooldowns, block behaviour, save intervals and the saved data format retain their original values. The addon does not skip saves or migrate world data.

Compatibility

  • Minecraft 1.21.1
  • NeoForge 21.1.235
  • Java 21
  • TRMT 0.5.1-1.21.1-neoforge

Install on the dedicated server. Clients do not need this addon. This release targets the pinned NeoForge implementation and verifies the TRMT class before enabling the shortcut. Remove the earlier private autosave addon before replacing it with this release.

From Steam & Steel

The addon originated in Steam & Steel SMP, our custom Minecraft 1.21.1 NeoForge server modpack. It is available independently of the full modpack.

The original required mod is installed separately. SteamSteelCore and the full Steam & Steel modpack are not required.

Acknowledgements

The Roads More Travelled is by milkucha. TRMT keeps its own CC BY-NC 4.0 license; the original mod is required separately and is not bundled.

This is an independent community addon.

Beta / Feedback

This is a beta release. It originated in problems encountered on our Steam & Steel SMP server within a specific modpack. The public addon has local checks; compatibility with other modpacks still needs feedback.

If you encounter a crash, an error or unexpected behaviour, please leave a comment with your Minecraft, NeoForge, original-mod and addon versions and the relevant error or crash report, plus steps to reproduce the problem. We will investigate reported bugs and work on fixes.

Checks cover the audited snapshot allocation contract, deep-copy fallback, mutation isolation and compressed-NBT round trips. The earlier server-specific fix also has a recorded real-save comparison; that observation is separate from gameplay validation of this newly packaged release.

License

Addon code is licensed under BSD 3-Clause. Copyright (c) 2026, DanielBasov (Steam & Steel). Forks, fixes and redistribution are permitted; retain the author attribution, license conditions and disclaimer in source distributions and in the materials accompanying binary distributions. A fork may not imply endorsement by the original author.

Original voxel artwork and pixel textures for this addon are licensed under BSD 3-Clause. No original TRMT assets or code are redistributed.

TRMT Autosave Optimization Team

profile avatar
  • 44
    Projects
  • 664
    Downloads

More from DanielBasovView all