跳到正文

UniLink

作者:BizCub

Allows you to use resources from other directories.

收藏

截图

介绍

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

🔗 UniLink

A mod that allows you to use resources from other directories

preview

💼 Usage

This mod works using symbolic links, which can be used like a folder but don’t require reusing (copying) resources. Some launchers also use symbolic links, but the mod works independently of them. It’s a configuration file. The first field specifies the path to the directory to use, and the second field specifies the path to the folder where the symbolic link should be placed. The final path can be absolute (e.g., “C:\...\.minecraft\saves`) or abbreviated (`saves“).

preview

If you change the directory used for worlds and then revert the change, the game may freeze while searching for and failing to find the required folder. For this purpose, the configuration file has an option to recreate the folders used by the game.

🛠️ How it works

By default, the mod does nothing. However, you can add data to the configuration to create a link: the path from which resources will be used and the path where the symbolic link will be created.

What follows from this:

  • After changing the configuration, new links will be added. Therefore, old, unused links will be deleted.
  • Since Minecraft creates some folders, the mod will have to delete the existing folder before creating the link. However, since the mod deletes folders without asking, it has a limitation on deleting directories with files inside. This means that if a folder contains any files, it won’t be deleted and the link won’t be created.

Creating symbolic links requires certain permissions. Therefore, some launchers that don’t have them won’t be able to create links. Solution: Run the launcher as administrator.

🤝 Support

Buy Me a Coffee at ko-fi.com

常见问题

UniLink 支持哪些 Minecraft 版本?

UniLink 支持 Minecraft Java 版 1.16.5–26.3,共 35 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

UniLink 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

BizCub 的其他作品

查看全部 →