Skip to content

Data Driven (Brewing Stand)

Aram edited this page Jun 10, 2025 · 1 revision

Data-Driven Brewing Stand Recipes

Overview

BlueLib introduces data-driven recipes for the Brewing Stand, allowing mod developers to easily add custom potion recipes using JSON files. This system provides a way to define brewing recipes without requiring custom code.


Recipe Structure

Brewing recipes are defined using JSON files with the following structure:

{
  "type": "bluelib:brewing",
  "input": {
    "item": "minecraft:grass_block"
  },
  "bottle": {
    "item": "minecraft:glass_bottle"
  },
  "result": {
    "id": "minecraft:slime_ball"
  }
}

Fields Explanation:

  • type (required): Must be "bluelib:brewing" to identify this as a brewing recipe
  • input (required): The ingredient that goes in the top slot of the brewing stand
    • Can be either an item or a tag.
  • bottle (required): The ingredient that goes in the bottle slots
    • Can be either an item or a tag.
  • result (required): The output item
    • Must specify an "id" field with the item ID

File Location

Place your brewing recipe JSON files in:

data/[modid]/recipe/*.json

Replace:

  • [modid] with your mod's ID

Key Points

  • Brewing recipes defined via JSON files (no code required)
  • Required Fields
    • type: Must be "bluelib:brewing"
    • input: Top-slot ingredient (item/tag)
    • bottle: Bottle-slot ingredient (item/tag)
    • result: Output item with id
  • Saved as .json in data/[modid]/recipe/
  • Compatible with Vanilla Recipe's and JEI

This system allows for easy creation of brewing stand recipes, providing seamless experience for everyone. For help with writing advanced recipes, reach out in the official Discord community.

Clone this wiki locally