CGC 兼容:PackLoader
添加额外的数据包和资源包目录。
本模组可安装于服务器、客户端或两者兼有。
主要功能
本模组执行以下三项操作:
- 使用
./config/cgccpackloader.json中的目录列表作为额外的数据包和资源包目录,默认包含_./tacz/_ - 新发现的资源包默认启用,并且可以像原版资源包一样关闭
- 允许该目录中不含
pack.mcmeta的数据包和资源包正常加载
配置说明
./config/cgccpackloader.json 是额外资源包目录的列表;相对路径相对于游戏目录解析:
[
"./tacz/"
]
./config/cgccpackloader-client.json 仅在客户端创建,用于存储功能 2 的开关和记录:
{
"resourcePackEnabledByDefault": true,
"defaultEnabled": []
}
resourcePackEnabledByDefault: 当值为true(默认值)时,会按上述方式启用资源包;将其设置为false则完全不加干预,将所有控制权留给玩家在资源包界面中进行操作defaultEnabled: 由模组维护;它记录了已默认启用的 ID,以此区分“尚未提供”与“玩家手动关闭”——玩家禁用的资源包永远不会被重新启用。删除此条目(或删除整个文件)会使所有资源包被视为未见过状态,从而再次全部默认启用
resourcePackEnabledByDefault 仅影响资源包。数据包的 handled 由游戏自身处理:新发现的数据包会自动启用,而在某个世界中关闭某个数据包的状态会被记录在该世界存档中,因此重启后仍保持关闭状态。
内容披露
衍生内容
本模组未使用其他模组的代码
许可证
- 代码:GPL-3.0-only
CGC Compat: PackLoader
Add additional data pack and resource pack directories.
This mod can be installed on the server, client, or both.
Main Features
This mod does three things:
- Uses the directory list in
./config/cgccpackloader.jsonas additional data pack and resource pack directories, with ./tacz/ added by default - Newly found resource packs are enabled by default, and can be turned off like any vanilla resource pack
- Allows data packs and resource packs in this directory without
pack.mcmetato load normally
Configuration
./config/cgccpackloader.json is the list of extra pack directories; relative paths resolve against the game directory:
[
"./tacz/"
]
./config/cgccpackloader-client.json is only created on the client, and holds the switch and the record for feature 2:
{
"resourcePackEnabledByDefault": true,
"defaultEnabled": []
}
resourcePackEnabledByDefault: whentrue(the default) it enables packs once as described above; set it tofalseto stay out of the way entirely, leaving everything to the player in the resource pack screendefaultEnabled: maintained by the mod; it records the ids that have already been enabled by default, which is how "not offered yet" is told apart from "the player turned it off" — a pack the player disabled is never re-enabled. Removing this entry (or the whole file) makes every pack count as unseen, so they are all enabled by default once again
resourcePackEnabledByDefault only affects resource packs. Data packs are handled by the game itself: newly found data packs are enabled automatically, and turning one off in a world is recorded in that world, so it stays off after a restart.
Content disclosures
Derivative content
This mod does not use code from other mods
License
- Code: GPL-3.0-only
下载 CGC Compat: PackLoader
下载 CGC Compat: PackLoader
下载 CGC Compat: PackLoader
下载 CGC Compat: PackLoader
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CGC Compat: PackLoader
下载 CGC Compat: PackLoader
下载 CGC Compat: PackLoader
下载 CGC Compat: PackLoader
下载 CGC Compat: PackLoader
下载 CGC Compat: PackLoader
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧