跳到正文

TRMT Autosave Optimization

作者:DanielBasov

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.

Release / Feedback

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 支持哪些 Minecraft 版本?

TRMT Autosave Optimization 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

TRMT Autosave Optimization 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

DanielBasov 的其他作品

查看全部 →