在 config/registry-blocker.json 中更改配置。
键为注册表标识符,值为条目标识符。
当重新加载数据包时,配置也会随之重载。
如果某个注册表被其他条目引用,则会在 latest.log 中出现错误。
建议使用 来转储带有标签或正则表达式匹配到的注册表。
建议配合使用 以在发布的整合包中禁用开发中的模组。
使用场景
- 移除结构。
- 移除整合包中不需要的物品。
- 禁用结构集并将所有结构合并到少数几个结构集中,以避免重叠。
示例
{
// 由于 https://github.com/misode/mcmeta/blob/data-json/data/minecraft/worldgen/structure_set/pillager_outposts.json#L6 需要此条目,否则世界将无法加载
"minecraft:worldgen/structure_set": [
"minecraft:villages"
],
"minecraft:block": [
"minecraft:redstone_wire"
]
}
Change config in config/registry-blocker.json.
The key is registry identifier, the value is entry identifier.
Config should reload when reloading data packs.
There will be error in latest.log if the registry is referenced by another entry.
Recommend use with to dump matched registry with tag or regex. . Recommend use with to disable the developing mods in the published pack.
Use Case
- Remove structures.
- Remove items that needn't in the pack.
- Disable structure sets and grouping all the structures in a few structure sets so that avoid overlapping.
Example
{
// Since https://github.com/misode/mcmeta/blob/data-json/data/minecraft/worldgen/structure_set/pillager_outposts.json#L6 is requiring this entry. The world won't load
"minecraft:worldgen/structure_set": [
"minecraft:villages"
],
"minecraft:block": [
"minecraft:redstone_wire"
]
}
下载 Registry Blocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Registry Blocker
下载 Registry Blocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Registry Blocker
下载 Registry Blocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Registry Blocker
下载 Registry Blocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Registry Blocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Registry Blocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Registry Blocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
:sparkles: 新功能
6ed3365- ServerReloadCallback 生效 (由 @SettingDust 提交)a60c349- 为游戏内配置添加 fzzy 配置支持 (由 @SettingDust 提交)585ff68- 为 Forge 平台添加 gametest (由 @SettingDust 提交)
:bug: Bug 修复
c710446- 修改键值后,值处理器未刷新 (由 @SettingDust 提交)
:recycle: 重构
8b34d4d- 应用 copier 模板 (由 @SettingDust 提交)2ef2029- 从模板生成 copier (由 @SettingDust 提交)a69df84- 为 identifier 从模板生成 copier (由 @SettingDust 提交)f8e4450- 移除简单 identifier 并添加 codec (由 @SettingDust 提交)0fad507- 更新 blockedRegistries 以使用 ValidatedDynamicMap (由 @SettingDust 提交)df832fe- 终于跑通了 (由 @SettingDust 提交)183b272- 将 gametest 移至主源代码集 (由 @SettingDust 提交)a7a9ec7- 替换预过滤 mixins,为所有版本使用注册 mixin (由 @SettingDust 提交)
:wrench: 杂项
ccd148d- 添加新图标 (由 @SettingDust 提交)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧