Universal Data Pack
Load a global data pack from your config folder, applied to all worlds automatically.
介绍
Universal Data Pack
Load a global data pack from your config folder, applied to all worlds automatically.
Universal Data Pack is a lightweight utility mod for modpack developers. It creates a folder at config/universaldatapack/ that acts as a standard Minecraft data pack — any content placed inside is applied to every world in the instance, both new and existing, without the player needing to do anything.
Why?
Minecraft’s built-in data pack system is per-world. If you’re building a modpack and need to override recipes, adjust loot tables, or add advancements globally, you’d normally need to either include the data pack in every world manually or wrap it in a mod JAR. Universal Data Pack gives you a simple folder-based workflow instead — just drop your files in and go.
How It Works
On first launch, the mod creates the following folder structure:
config/universaldatapack/
pack.mcmeta
data/
README.txt
Everything inside data/ follows standard Minecraft data pack conventions. The mod registers this folder as a required server data pack at the highest priority, so it loads last and overrides all other data packs and mods. A README file is generated inside the data/ folder on first run with examples and usage instructions.
Usage
Override an existing recipe:Mirror the target mod’s namespace and path inside the data/ folder. For example, to override an EnderIO smelting recipe:
config/universaldatapack/data/enderio/recipe/alloy_smelting/dark_steel.json
To disable a recipe entirely, use an empty JSON object as the file contents: {}
Add new content:Create your own namespace folder and add recipes, advancements, loot tables, tags, or any other data pack content:
config/universaldatapack/data/mymodpack/recipe/custom_sword.json
config/universaldatapack/data/mymodpack/advancement/craft_custom_sword.json
Reload changes: Changes take effect on world load and with the /reload command.
Can I use this in my modpack?
Definitely! This mod is designed to be included in modpacks. It contains no gameplay content on its own.
常见问题
Universal Data Pack 支持哪些 Minecraft 版本?
Universal Data Pack 支持 Minecraft Java 版 1.21.1–26.3,共 6 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Universal Data Pack 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Danny_and_Son 的其他作品
查看全部 →Tiny Redstone
这是红石,只不过更小巧。
Ranged Wireless Redstone
允许红石信号在有限距离内进行无线传输。
Real Tech
以沉浸感和真实感为设计目标的科技整合包。
Danny’s Sirenuse Pack
为 Minecraft 1.19.2 打造的精美、险象环生且走在前沿的整合包。
评论
登录后评论和评分