跳到正文

Safesave

作者:Melationin

A mod that improves world saving and loading through more complete state persistence.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

SafeSave is a Fabric mod that restores the state and ordering of scheduled ticks, block events, and entities more faithfully when a world is reloaded, making saving and restoring safer.

It also addresses inconsistent chunk loading when a world loads: after a world reload, the mod adds loading tickets for the chunks that were loaded at save time, and freezes the world until all of those chunks have loaded.

The mod can only greatly reduce — not eliminate — tick disorder and block event loss caused by restarts; it may not be fully effective for ordinary chunk unloads.

The mod provides the following settings, which can be changed in-game or in safesave.conf:

Setting Default Purpose
safeSave true Enable saving and startup restoration
rebuildStartupOnly true Run the restore rebuild only once per dimension after a restart
extraChunkDirtyMarking false Additionally mark chunks containing scheduled ticks or block events as dirty
expandDirtyChunksOnSave true On world save, also mark the ring of surrounding chunks that are entity-ticking as dirty
autoUnfreeze true Unfreeze automatically once the startup loading wait ends; when disabled, use /tick unfreeze to resume manually
ticketDuration 1200 Number of server ticks the startup loading tickets are kept; when auto-unfreeze is off, the timer starts from the manual unfreeze
unfreezeTimeout 2400 Upper limit on the startup loading wait after the first real player joins; set to 0 to disable the startup barrier

Note! The mod adds new chunk NBT fields, which may affect vanilla-oriented optimization mods.
So far, compatibility has only been tested with Lithium and C2ME (default configuration). It is very likely incompatible with multithreading mods!

The mod has not been thoroughly tested yet. Be sure to back up your world before installing it for the first time!

常见问题

Safesave 支持哪些 Minecraft 版本?

Safesave 支持 Minecraft Java 版 1.21–26.3,共 17 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Safesave 怎么安装?

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

评论

登录后评论和评分

Melationin 的其他作品

查看全部 →