Home›Java›Mods›Reload Only Data [Compact With JEI & KubeJS]
Reload Only Data [Compact With JEI & KubeJS]
ModsJava

Reload Only Data [Compact With JEI & KubeJS]

Java mod listed for Minecraft 1.20–1.21. Downloads from the MC Java Mods app on Android.

by tonywww4 · on CurseForge

Selectively hot-reload individual datapack content types — recipes, advancements, tags, loot, functions, and (experimental) registries

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.1 · NeoForge⬇ Download for 1.20.1 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

⚠️ Warning: Reloading certain datapack registries can crash the game or corrupt your save. Before running /reloadonly registry on an unfamiliar data registry, back up your world first and test on a copy. Use at your own risk.

⚠️ 警告: 重载某些类型的数据包注册表(data registry)可能导致游戏崩溃或存档损坏。在对陌生的数据包注册表使用 /reloadonly registry 前,请务必先备份存档再进行测试。使用风险自负。

Reload Only Data

Selectively hot-reload individual datapack content types — recipes, advancements, tags, loot, functions, and (experimental) registries — each on demand, without the heavy cost of a full /reload in large modpacks. Recipe reloading additionally integrates with KubeJS runtime script edits (KubeJS 6 on Forge / KubeJS 7 on NeoForge).

Dual-loader build (Stonecutter): Minecraft 1.20.1 / Forge and Minecraft 1.21.1 / NeoForge. The project started as "reload recipes only" and has since generalized into a selective-reload framework; /reloadrecipes is kept as a backwards-compatible shortcut.

Supported Versions

Loader Minecraft Loader Java KubeJS (optional)
Forge 1.20.1 47.4.4+ 17 6.x
NeoForge 1.21.1 21.1.234+ 21 7.x

KubeJS is optional. Without it, the Vanilla strategy is used; with it, the matching 6.x / 7.x compatibility layer is enabled automatically per platform.

Commands

All commands require OP (permission level 2). Unified entry /reloadonly <target> [arg], with /reloadrecipes kept as a shortcut for the recipes target.

Command Content Client sync
/reloadrecipes Recipes (KubeJS-aware) Yes — recipes + recipe book
/reloadonly recipes Recipes (KubeJS-aware) Yes
/reloadonly advancements Advancements Yes — rebuild + per-player recompute
/reloadonly tags <registry> Tags of one registry (e.g. minecraft:item) Yes
/reloadonly loot Loot tables + predicates + item modifiers No — server-side
/reloadonly functions Functions (.mcfunction) No — server-side
/reloadonly registry <key> [confirm] A single datapack registry (experimental) Reconnect required

Both the <target> and argument fields have Brigadier tab-completion. Unknown or unsupported targets are clearly rejected (no fake success). Feedback is localized (en_us / zh_cn), e.g. "Reloaded N recipes in T ms".

JEI / REI / EMI auto-refresh: the recipes and tags targets send sync packets that trigger the recipe viewer to reload automatically.

Registry Hot-Reload (New · Experimental)

/reloadonly registry <registryKey> [confirm] hot-reloads a single datapack registry in place: the existing registry object and its Holders are updated, not replaced, so consumers that cached the old Holder at world load (e.g. damage sources) immediately see the new values, and the world save is never touched.

Compatibility

The KubeJS / JEI notes below apply to the recipes target — recipes is the only target that goes through KubeJS; advancements / tags / loot / functions use Vanilla logic.

Limitations

Dependencies

Author: Tonywww


Reload Only Data(选择性数据重载)

按类型选择性重载数据包内容——配方 / 进度 / 标签 / 战利品 / 函数,以及(实验性的)注册表——各自独立、按需重载,避免完整 /reload 在大型整合包下的巨大开销。配方重载额外兼容 KubeJS 运行时脚本修改(Forge 侧 6 代 / NeoForge 侧 7 代)。

双加载器构建(Stonecutter):Minecraft 1.20.1 / Forge 与 Minecraft 1.21.1 / NeoForge。项目起点是「只重载配方」,现已泛化为通用的选择性重载框架;/reloadrecipes 作为向后兼容的快捷别名保留。

支持版本

加载器 Minecraft 加载器版本 Java KubeJS(可选)
Forge 1.20.1 47.4.4+ 17 6 代
NeoForge 1.21.1 21.1.234+ 21 7 代

KubeJS 为可选。 未安装时走原版(Vanilla)策略;安装后自动按平台启用 6/7 代兼容层。

命令

所有命令需 OP(权限等级 2)。统一入口 /reloadonly <target> [arg],并保留 /reloadrecipes 作为 recipes 目标的快捷别名。

命令 内容 客户端同步
/reloadrecipes 配方(含 KubeJS) 是 —— 配方 + 配方书
/reloadonly recipes 配方(含 KubeJS) 是
/reloadonly advancements 进度 是 —— 重建 + 每玩家重算
/reloadonly tags <registry> 某 registry 的标签(如 minecraft:item) 是
/reloadonly loot 战利品表 + 谓词 + 物品修饰器 否 —— 纯服务端
/reloadonly functions 函数(.mcfunction) 否 —— 纯服务端
/reloadonly registry &lt;key&gt; [confirm] 单个数据包注册表(实验性) 需重新连接

<target> 与参数均带 Brigadier 动态补全。未知或不支持的目标会明确拒绝(不伪装成功)。反馈支持中英双语(en_us / zh_cn),形如「已重载 N 条配方,耗时 T 毫秒」。

JEI / REI / EMI 自动刷新: recipes 与 tags 目标会下发同步包,触发配方查看器自动重载。

注册表热重载(新特性 · 实验性)

/reloadonly registry <registryKey> [confirm] 就地热重载单个数据包注册表:更新现有注册表对象与其 Holder(而非替换),因此在世界加载时缓存了旧 Holder 的消费方(如伤害来源 DamageSources)会立即看到新值,且完全不触碰世界存档。

兼容性

以下 KubeJS / JEI 说明仅针对 recipes 目标——recipes 是唯一走 KubeJS 兼容的目标;advancements / tags / loot / functions 均走原版逻辑。

限制

依赖

作者:Tonywww

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more