跳到正文

Packs Entries Blocker

作者:settingdust

Block entries in specify pack from loading by path

收藏

介绍

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

Packs Entries Blocker is for avoiding identifier matches the regex from loading from specified pack.

Use Case

  • Too many mods find their resources from packs will affect the launching time such as GeckoLib, Optifine-like. Profiling it with https://modrinth.com/mod/more-profiling
  • Disable some entries needn’t in packs like some CITs

How to

  1. Modify the config at config/pack-entries-blocker.json. Will reload before data/resource packs reloading.
  2. Blocked entries will print to debug.log for debugging.
  • How to access debug.log?
  • https://wiki.vg/Debugging
  • https://modrinth.com/mod/better-log4j-config and edit it’s better_log4j_config.xml then

Example

Below config will block all the tags from the vanilla pack.
The key is regex and the value is an array of pack name which can be found in options.txt

{
    ".*?:.*?tag.*?": [
        "vanilla"
    ]
}

常见问题

Packs Entries Blocker 支持哪些 Minecraft 版本?

Packs Entries Blocker 支持 Minecraft Java 版 1.20–1.21.1,共 9 个版本,可用的加载器:Fabric / Forge / Quilt。下载时注意选择和你游戏版本一致的文件。

Packs Entries Blocker 怎么安装?

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

评论

登录后评论和评分

settingdust 的其他作品

查看全部 →