-
Notifications
You must be signed in to change notification settings - Fork 6
Data Driven (Brewing Stand)
Aram edited this page Jun 10, 2025
·
1 revision
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.
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"
}
}-
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
- Must specify an
Place your brewing recipe JSON files in:
data/[modid]/recipe/*.json
Replace:
-
[modid]with your mod's ID
- 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 withid
-
- Saved as
.jsonindata/[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.
Variant Loader
Data Pipeline
Network & Packets
Logging
Markdown
Utility Classes
- Conversion
- Math
- Minecraft
- Schedular