promotional bannermobile promotional banner
premium banner
Crafting Prerequisites is a utility mod that allows you to gate crafting recipes by requiring players to possess a specified item in their inventory.

Description

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!

JEI Screenshot

JEI

EMI Screenshot

EMI

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.json file.
  • 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.