你是否怀念在以往的 1.7 整合包中拥有的“整合包模式”?那么,你运气不错!
PackMode 是一个非常简单的模组,它能为你提供……整合包模式!
其工作原理是根据脚本文件如何被“标记”为特定模式(称为“预处理器”),仅加载某些 CraftTweaker zs(脚本)文件。
例如,如果你在脚本文件中放入 `#packmode expert`,那么只有当 PackMode 配置设置为“expert”时,该脚本才会被加载。你也可以这样指定多个有效的整合包模式:一个包含 `#packmode expert superduperexpert` 的脚本,仅在 PackMode 模式设置为“expert”或“superduperexpert”时才会加载;如果 PackMode 模式是“normal”(或其他可能配置的 PackMode 模式),则不会加载。如果在脚本文件中**完全省略**任何 `#packmode ...` 行,默认情况下 PackMode 将不会介入,这些脚本文件将在任何/所有整合包的 PackMode 模式下加载。**如果你在任何脚本中都没有使用 `#packmode ...`,此模组将不会执行任何操作!**
PackMode 配置允许你根据需要配置任意数量的不同整合包模式,以及设置默认的 PackMode 模式。PackMode 首次安装时的标准配置默认包含两个整合包模式(“expert”和“normal”),并将整合包的 PackMode 模式设置为“normal”。
PackMode 还可以使用 JSON 条件有条件地阻止数据包配方加载,如果你对这方面感兴趣的话。
更多信息请查看:此处:
Do you miss having "pack modes" like in previous 1.7 modpacks? Well you're in luck!
PackMode is a very simple mod that gives you exactly that... pack modes!
The way this works is by only loading certain CraftTweaker zs (script) files based on how they are "flagged" for modes (referred to as "preprocessors").
For example, if you put `#packmode expert` in a script file, it will ONLY be loaded if the PackMode config is set to "expert". You can also specify multiple valid pack modes this way: a script with `#packmode expert superduperexpert" will have that script only load if the PackMode mode is set to "expert" or "superduperexpert" modes, but will NOT be loaded if the PackMode mode is "normal" (or any other PackMode modes that might be configured). If you **fully** omit any kind of `#packmode ...` line in a script file, the default is that PackMode will not intervene and those scripts files will be loaded for ANY/ALL modpack PackMode modes. **If you do not use `#packmode ...` in any of your scripts, this mod will not do anything!**
The PackMode config allows you to configure as many different pack modes as you'd like, as well as which PackMode mode is default. Standard configs on PackMode's first install will default to include two PackMode pack modes ("expert" and "normal") as well as setting the pack's PackMode mode to "normal."
Packmode can also conditionally stop datapack recipes from loading, using a json condition, in case you're interested in that.
More information can be found here:
下载 PackMode
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PackMode
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PackMode
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PackMode
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PackMode
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PackMode
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
移植至 Fabric 1.20.1
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧