Pack Stages
Lock crafting, item use and workstations per player until a stage is granted, all defined in datapack JSON.
介绍
Give each player stages, and decide in datapack JSON what a player without a stage can’t do: make certain items, use certain items, or open certain workstations.
It is a tool for pack and server makers who want progression — a profession, a tech tier, an unlock tree — without writing code. Stages are granted with a command, so a quest reward, an advancement function or any mod that can run commands can hand them out.
What a stage can lock
- craft — the item can’t be taken out of an output slot: crafting table and inventory grid, furnaces, smithing table, stonecutter, loom, and modded workstations whose output slot refuses inserted items.
- use — the item can’t be right-clicked, placed or used on entities.
- items — both
craftanduse. - blocks — right-clicking the block does nothing, so its screen doesn’t open.
- menus — screens of these types close as soon as they open, however they were opened.
- JEI (optional) — locked items stay listed with an "Unlocks at" line in the tooltip (
"jei": "show", the default), or are hidden until unlocked ("hide").
Every list accepts item ids, tags (#c:ingots), all items of a mod (@modid) and * wildcards. Ids of mods that aren’t installed are ignored, so one data set can serve several setups. A refused player always sees why on the action bar, for example "You can’t use the Furnace yet. Unlocks at: Smelting".
Defining a stage
One file per stage, data/<namespace>/pack_stages/stages/<path>.json — stages/smith/apprentice.json is the stage smith.apprentice:
{
"display": "Smelting",
"blocks": ["minecraft:furnace", "minecraft:blast_furnace"],
"craft": ["minecraft:furnace"],
"jei": "show"
}
Commands
/pack_stages add|remove <players> <stage>, clear, list, has (returns 1 or 0, for execute store result), and stages (what the loaded data defines). Permission level 2. Stages are saved with the player and kept on death.
Limits
- Machines that work without a player taking the result — hoppers pulling from a furnace, the Crafter, automation mods — are not gated. Lock the machine block itself if that matters.
- Workstations whose output slot accepts inserted items need
blocksormenusto gate the whole station instead of single items. - Needed on both the server and the client.

Paid commissions for videos, streams and servers. Send me your idea: [email protected]

All Rights Reserved. Free to put in any modpack, on any platform, monetised or not – no permission needed, no credit required. Source is published so you can read exactly what it does.
Bugs and questions: comment on the CurseForge page, or DM @kuronami333 on X.
Source code: https://github.com/KURONAMI333/pack-stages
常见问题
Pack Stages 支持哪些 Minecraft 版本?
Pack Stages 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Pack Stages 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
KURONAMl 的其他作品
查看全部 →Compass to Map: Xaero’s Minimap & Explorer’s Compass & Nature’s Compass Addon
将 Explorer's Compass 和 Nature's Compass 找到的地点添加为 Xaero's Minimap 路标。
Compass to Map: JourneyMap & Explorer’s Compass & Nature’s Compass Addon
将 Explorer's Compass 和 Nature's Compass 与 JourneyMap 联动,在支持的版本中自动创建路径点。
Ping to Map: Xaero’s Minimap & Ping Wheel Addon
将 Ping-Wheel 标记显示为临时的 Xaero的小地图 路标。
Ping to Map: JourneyMap & Ping Wheel Addon
将 Ping-Wheel 标记显示为临时旅行地图路标。



评论
登录后评论和评分