介绍
Some override files, such as options.txt, should only be copied the first time a player plays a modpack.
Otherwise, their changes would be lost every time the modpack is updated.
This mod allows modpack authors to place files in the one-time-overrides directory
that will only be copied to their intended destination if the target file does not exist.
Example:
.minecraft
├── config
│ └── first_mod.toml
└── one-time-overrides
│ └── config
│ └── first_mod.toml # already exists in .minecraft/config -> will not be copied
└── options.txt # does not exist in .minecraft -> will be copied
As it does not use any Minecraft-specific APIs, the mod should work with any version of the game.
1.18.2 and 1.19.2 were tested.
The only dependency is fabric-language-kotlin.
Fabric API is not required.
常见问题
OneTimeOverrides 支持哪些 Minecraft 版本?
OneTimeOverrides 支持 Minecraft Java 版 1.18–1.19.2,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
OneTimeOverrides 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
评论
登录后评论和评分