Registry Dumper 3000
Registry Dumper 3000 是一款面向整合包制作者、数据包创作者和模组开发者的开发者/调试工具模组。
它会将 Minecraft 注册表、标签、配方和资源文件夹以结构化格式转储到磁盘,以便你检查游戏/服务器中实际加载的内容。
这对于以下场景特别有用:
- 整合包调试
- 数据包故障排除
- 标签/配方冲突调查
- 跨模组的注册表检查
- 逆向工程数据驱动内容
- 检查打包合并后实际加载了哪些资源
转储内容
内置注册表
从 BuiltInRegistries.REGISTRY 转储所有内置注册表(不仅仅是方块/物品/流体)。
- 输出格式:TXT 或 JSON(可配置)
- 可选条目类名(非常适合模组调试)
运行时注册表
从服务器 RegistryAccess 转储所有运行时注册表。
这包括模组添加的/运行时加载的注册表,并提供服务器看到的最终状态。
原始标签 JSON
直接从资源管理器(data/*/tags/...)转储原始标签 JSON 文件。
- 按推断的注册表类型路由文件
- 支持模组添加的标签类型
- 可保留原始 JSON 格式或进行美化排版(可配置)
扩展运行时标签
从 Registry#getTags() 转储最终合并后的标签内容。
这让你能够在所有模组 + 数据包 + 资源层应用之后,查看标签的实际解析内容。
原始配方 JSON
从 data/*/recipes/... 转储原始配方 JSON 文件。
- 按解析出的配方
type 对配方进行分组
- 安全处理未知配方类型和无效 JSON
- 可选的美化排版
通用数据包资源文件夹(基于规则)
通过配置驱动的任意数据包文件夹转储(原始复制模式),包含一套默认的大型规则集。
默认覆盖的示例包括:
loot_tables
predicates
item_modifiers
advancements
functions
worldgen/*(生物群系、特性、结构、模板池、处理器、噪声、密度函数、预设等)
dimension
dimension_type
damage_type
chat_type
trim_material
trim_pattern
painting_variant
instrument
jukebox_song
- Forge / NeoForge 附加内容,如战利品修改器 / 生物群系修改器 / 结构修改器
未知顶级文件夹捕获(可选)
还可以转储那些未被你配置的规则明确涵盖的顶级数据文件夹。
这有助于发现你可能忘记考虑的隐藏或模组添加的资源目录。
客户端资产文件夹(可选)
在客户端启动时可选地转储客户端侧资产(默认禁用,因为数据量可能非常大)。
示例包括:
lang
models
blockstates
textures
sounds
font
shaders
post_effect
particles
atlases
为什么这个模组很有用
在调试模组化 Minecraft 时,最困难的部分通常不是“哪些内容_应该_被加载”,而是“在所有内容合并后,实际_真正_加载了哪些?”
Registry Dumper 3000 通过导出以下内容来帮助你回答这个问题:
- 最终注册表
- 最终展开的标签
- 原始源 JSON 文件
- 原始资源文件夹
- 带有统计数量的结构化摘要
它专为检查与故障排除而设计,并非用于游戏玩法功能。
输出位置
默认情况下,转储文件写入以下路径:
文件夹布局可在模组配置中进行自定义。
生成的根目录示例(默认名称):
dump/registry_builtin
dump/registry_runtime
dump/tags
dump/registry_tags_expanded
dump/recipes
dump/data_raw
dump/assets_raw
该模组还会为主要的转储部分写入摘要文件(_summary.txt)。
配置
详细的 JSON 配置文件会自动生成在以下位置:
<游戏文件夹>/config/registry_dumper_3000.json
配置文件允许你控制:
- 启用了哪些转储部分
- 支持转储的 TXT 与 JSON 输出
- 原始 JSON 副本的美化输出行为
- 每个会话仅运行一次的行为
- 客户端/服务器触发器
- 基于规则的资源文件夹转储
- 未知文件夹的捕获全部行为
- 可选的资源转储
- 摘要/报告生成
- 可选的资源栈转储(高级)
性能/体积说明
根据你的整合包和配置,此模组可能会生成大量文件。
请注意:
- 启用资源转储(asset dumping)可能导致文件体积非常大
- 启用未知文件夹捕获(unknown-folder catch-all)会显著增加输出体积
- JSON 美化打印会增加 CPU 负载和文件大小
- 可选的资源栈转储(resource stack dumping)会使文件数量成倍增长
如果你只需要特定数据,请禁用你不需要的部分。
适用人群
本模组适合以下用户:
- 整合包开发者
- 数据包开发者
- 模组开发者
- 服务器包维护者
- 调试数据驱动内容的技术型玩家
如果你只是想要游戏内容体验,本模组可能不适合你。
兼容性说明
- 基于 Architectury 风格的生命周期钩子构建
- 在少数位置使用反射以实现兼容性(平台信息 / 客户端资源管理器 / 可选资源栈 API)
- 定位为实用工具/调试工具,根据加载器、版本或整合包内容的不同,输出量可能会有所差异
快速上手
- 安装模组并启动游戏/服务器。
- 等待其生成配置文件。
- 编辑
config/registry_dumper_3000.json 以启用或禁用所需功能。
- 重启并检查
dump/ 文件夹。
- 使用生成的
_summary.txt 文件快速查看已导出的内容。
给整合包作者的注意事项
此模组非常适合用于诊断以下问题:
- 标签内容与预期不符
- 配方覆盖未生效
- 数据包资源路径错误
- 意外的模组注册表条目
- 数据驱动的特性生成问题(worldgen 文件夹)
它还可以帮助你构建自动化脚本,用于检查转储输出以进行整合包的质量保证(QA)。
Registry Dumper 3000
Registry Dumper 3000 is a developer/debugging utility mod for modpack makers, datapack creators, and mod developers.
It dumps Minecraft registries, tags, recipes, and resource folders to disk in a structured format so you can inspect exactly what is loaded in your game/server.
This is especially useful for:
- modpack debugging
- datapack troubleshooting
- tag/recipe conflict investigation
- registry inspection across mods
- reverse-engineering data-driven content
- checking what resources actually loaded after packs merge
What it dumps
Built-in registries
Dumps all built-in registries (not just blocks/items/fluids) from BuiltInRegistries.REGISTRY.
- Output format: TXT or JSON (configurable)
- Optional class names for entries (great for modded debugging)
Runtime registries
Dumps all runtime registries from the server RegistryAccess.
This includes modded/runtime-loaded registries and gives you the final state seen by the server.
Raw tag JSONs
Dumps raw tag JSON files directly from the resource manager (data/*/tags/...).
- Routes files by inferred registry type
- Supports modded tag types
- Can preserve original JSON formatting or pretty-print (configurable)
Expanded runtime tags
Dumps the final merged tag contents from Registry#getTags().
This lets you see the actual resolved contents of tags after all mods + datapacks + resource layers are applied.
- Output format: TXT or JSON (configurable)
Raw recipe JSONs
Dumps raw recipe JSON files from data/*/recipes/....
- Groups recipes by parsed recipe
type
- Handles unknown recipe type and invalid JSON safely
- Optional pretty printing
Generic datapack resource folders (rule-based)
Config-driven dumping for arbitrary datapack folders (raw copy mode), including a large default ruleset.
Examples covered by default:
loot_tables
predicates
item_modifiers
advancements
functions
worldgen/* (biomes, features, structures, template pools, processors, noise, density functions, presets, etc.)
dimension
dimension_type
damage_type
chat_type
trim_material
trim_pattern
painting_variant
instrument
jukebox_song
- Forge / NeoForge extras like loot modifiers / biome modifiers / structure modifiers
Unknown top-level folder catch-all (optional)
Can also dump top-level data folders that are not explicitly covered by your configured rules.
This helps find hidden or mod-added resource directories you forgot to account for.
Client asset folders (optional)
Optional client-side asset dumping on client start (disabled by default because it can be huge).
Examples:
lang
models
blockstates
textures
sounds
font
shaders
post_effect
particles
atlases
Why this mod is useful
When debugging modded Minecraft, the hard part usually isn't "what should be loaded" — it's "what actually got loaded after everything merged?"
Registry Dumper 3000 helps answer that by exporting:
- final registries
- final expanded tags
- raw source JSONs
- raw resource folders
- structured summaries with counts
It is designed for inspection and troubleshooting, not gameplay features.
Output location
By default, dumps are written to:
The folder layout is configurable in the mod config.
Examples of generated roots (default names):
dump/registry_builtin
dump/registry_runtime
dump/tags
dump/registry_tags_expanded
dump/recipes
dump/data_raw
dump/assets_raw
The mod also writes summary files (_summary.txt) for major dump sections.
Configuration
A detailed JSON config is automatically created at:
<game folder>/config/registry_dumper_3000.json
The config lets you control:
- what dump sections are enabled
- TXT vs JSON output for supported dumps
- pretty-print behavior for raw JSON copies
- run-once-per-session behavior
- client/server triggers
- rule-based resource folder dumping
- unknown-folder catch-all behavior
- optional asset dumping
- summary/report generation
- optional resource stack dumping (advanced)
Performance / size notes
This mod can generate a lot of files depending on your modpack and config.
Please keep in mind:
- enabling asset dumping can be very large
- enabling unknown-folder catch-all can greatly increase output size
- pretty-printing JSON increases CPU work and file size
- optional resource stack dumping can multiply file count
If you only need specific data, disable the sections you don't need.
Who should use this
This mod is ideal for:
- modpack developers
- datapack developers
- mod developers
- server pack maintainers
- technical players debugging data-driven content
If you just want gameplay content, this mod is probably not for you.
Compatibility notes
- Built with Architectury-style lifecycle hooks
- Uses reflection in a few places for compatibility (platform info / client resource manager / optional resource stack APIs)
- Intended as a utility/debugging tool and may produce different amounts of output depending on loader/version/modpack contents
Quick start
- Install the mod and launch the game/server.
- Let it generate the config file.
- Edit
config/registry_dumper_3000.json to enable/disable what you want.
- Restart and check the
dump/ folder.
- Use the generated
_summary.txt files to quickly see what was exported.
Notes for pack authors
This mod is great for diagnosing issues like:
- tag contents not matching expectations
- recipe overrides not applying
- datapack resource path mistakes
- unexpected modded registry entries
- data-driven feature generation problems (worldgen folders)
It can also help you build automation/scripts that inspect dumped outputs for pack QA.
评论 0
登录后参与评分
还没有评论,来抢沙发吧