Crafting Prerequisites
A mod that adds a non-consumable item requirement to crafting recipes.
介绍
Crafting Prerequisites is a utility mod that allows you to gate crafting recipes by requiring players to possess a specified item in their inventory.
This prerequisite item is not consumed on craft, acting as a key or a proof of progression rather than an ingredient. All rules are managed through a single JSON file in the /config/ folder, giving modpack creators and server admins a straightforward way to control crafting progression.
✨New in Version 1.3.0: Now with JEI & EMI Support!
Instantly see which recipes have prerequisites directly in your favorite recipe viewer’s interface. An icon of the required item will appear on the recipe, and a detailed tooltip will show you the exact requirements and your current progress, so you’ll always know what you need to craft.
Note: You must enable show-recipe-decorators: true in EMI’s config file (config/emi.css) for the icons to appear. This is a requirement of EMI’s API.
Support for REI is planned for a future update. Stay tuned!


Key Features
- Non-Consumable Requirement: The prerequisite item is only checked for, not consumed. It remains in the player’s inventory after a successful craft.
- JSON-Based Configuration: Easily add or modify rules by editing the
crafting_prerequisites.jsonfile. - Specify Item & Count: Define the required item’s ID and the minimum quantity the player must have.
- Custom In-Game Messages: Set custom notification messages to inform players why a craft has failed.
- Server-Side Logic: The mod’s core functionality runs on the server, making it optional for clients.
Use Cases
- Force players to craft a storage block of a material before they can craft tools from it.
- Gate recipes behind unique items, such as boss drops or quest rewards.
- Lock recipes for a certain mod or tier until the player has acquired a key item from a previous stage.
Configuration Example (/config/crafting_prerequisites.json)
[
{
"output": "minecraft:diamond_pickaxe",
"required_item": "minecraft:diamond_block",
"count": 1,
"message": "You must craft a Diamond Block first."
}
]
This mod is ideal for controlling game progression and creating custom crafting sequences in your modpack.
常见问题
Crafting Prerequisites 支持哪些 Minecraft 版本?
Crafting Prerequisites 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Crafting Prerequisites 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
Noah6116 的其他作品
查看全部 →
Customizable Player Health
A simple mod to change the player's default max health via a config file.
Secure Pouch
Adds a secure pouch that protects your most valuable items from being lost on death.
Plugin Stlye Shop
A customizable plugin-style GUI shop mod featuring dynamic pricing and team integration.
Scoreboard Shop
A server-side shop mod that uses Scoreboard objectives as currency. Features a clean GUI, JSON configuration, and team-aware item handling.
评论
登录后评论和评分