跳到正文

Soft Loader

作者:fishstiz

Automatically loads datapacks non-intrusively

收藏

介绍

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

Soft Loader

Based on Data Loader.

Allows datapacks in specified directories to automatically load as either enabled or disabled, while remaining optional and adjustable on the datapack selection screen and in-game. Uses the datapacks directory under the game directory by default.

An initial load order can be configured, applying only when setting up a new world. Afterward, you may reorder or add world-specific datapacks as desired. Built-in datapacks can also be set to load automatically from the load order.

Configuration

The Soft Loader config will be created at config/soft_loader.json upon setting up or loading a world. You may also create this
file manually if needed.


enabled: string optional

Specifies the directory for datapacks that should automatically load as enabled.

  • Defaults to datapacks.
  • Overridden by initial-disabled-packs for servers.

disabled: string optional

Specifies the directory for datapacks that should automatically load as disabled.

  • Overridden by initial-enabled-packs for servers.
  • Overridden by loadOrder if the datapack is listed there.

loadOrder: string[] optional

Enforced only on world setup, specifies the load order for datapacks. Datapacks listed in loadOrder will
automatically be enabled regardless of its source directory.

  • Can be used to enable and order built-in datapacks
  • Ignores initial-disabled-packs for servers.

How the initial load order sorts data packs (from bottom to top):

  1. Built-in datapacks not in the load order.
  2. Datapacks listed in load order.
  3. Other datapacks.

After world creation, the load order is no longer used. Any newly added datapacks are handled by vanilla or the mod loader: typically added to the top. At this stage, built-in datapacks can no longer be enabled automatically by the load order.

常见问题

Soft Loader 支持哪些 Minecraft 版本?

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

Soft Loader 怎么安装?

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

评论

登录后评论和评分

fishstiz 的其他作品

查看全部 →