Packs Entries Blocker 用于阻止与指定正则表达式匹配的标识符从指定的资源包中加载。
使用场景
- 当过多模组从资源包中查找其资源时,会影响启动时间,例如 GeckoLib、Optifine 等。可以使用 进行性能分析。
- 禁用资源包中不需要的条目,例如某些 CIT(自定义物品纹理)。
使用方法
- 修改配置文件
config/pack-entries-blocker.json。该配置会在数据/资源包重新加载之前自动重载。 - 被拦截的条目将打印到
debug.log文件中以便调试。- 如何访问
debug.log?- 并编辑其
better_log4j_config.xml然后
- 并编辑其
- 如何访问
示例
以下配置将阻止来自原版资源包的所有标签。
键是正则表达式,值是可以从 options.txt 中找到的资源包名称数组。
{
".*?:.*?tag.*?": [
"vanilla"
]
}
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
- Disable some entries needn't in packs like some CITs
How to
- Modify the config at
config/pack-entries-blocker.json. Will reload before data/resource packs reloading. - Blocked entries will print to
debug.logfor debugging.- How to access
debug.log?- and edit it's
better_log4j_config.xmlthen
- and edit it's
- How to access
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"
]
}
版本游戏版本平台发布时间本站下载
正式版
1.0.0
1.21.11.21 Fabric 2 年前 ·
0
1.21.1
1.21
1.20.6
1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1
Fabric
2 年前
0
下载 Packs Entries Blocker
版本:1.0.0
游戏版本:1.21.1、1.21、1.20.6 等
平台:Fabric
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
0.2.0
1.21 Fabric 2 年前 ·
0
1.21
Fabric
2 年前
0
下载 Packs Entries Blocker
正式版
0.1.1
1.20.11.20 FabricForge 2 年前 ·
0
1.20.1
1.20
Fabric
Forge
Quilt
2 年前
0
下载 Packs Entries Blocker
版本:0.1.1
游戏版本:1.20.1、1.20
平台:Fabric、Forge、Quilt
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
0.1.0
1.20.11.20 FabricForge 2 年前 ·
0
1.20.1
1.20
Fabric
Forge
Quilt
2 年前
0
下载 Packs Entries Blocker
版本:0.1.0
游戏版本:1.20.1、1.20
平台:Fabric、Forge、Quilt
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Ixeris
decce6
缓冲的原始输入和线程化的事件轮询
优化
674
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
346
模组
Fast Noise
omo50
原版世界生成优化模组
优化世界生成
250
模组
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
243
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
240
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
评论 0
登录后参与评分
还没有评论,来抢沙发吧