HomeJavaModsCustomBrewRecipes
CustomBrewRecipes
ModsJava

CustomBrewRecipes

by Emafire003 · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.1–1.21.4 · NeoForge⬇ Download for 1.21–1.21.1 · Fabric⬇ Download for 1.20.5–1.20.6 · Fabric⬇ Download for 1.18–1.20.4 · Fabric⬇ Download for 1.21–1.21.1 · Quilt⬇ Download for 1.20.5–1.20.6 · Quilt⬇ Download for 1.18–1.20.4 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

CustomBrewRecipes

A fabric mod that allows developers to create new Brewing Recipes that also support custom non potion items and Components or NBT data.

Detailed instructions can be found in the javadoc, but all you have to do is calling

CustomBrewRecipeRegister.registerCustomRecipe()

and supply the items for the recipe.

Or if you need custom components, use the

CustomBrewRecipeRegister.registerCustomRecipeWithComponents()

and either use itemstacks that already have custom components or supply the nbt to the method.

There also is a NBT version of the method that saves stuff to the CustomData component.

You can also check for the presence of component types (or nbt-fields) and not their values!

CustomBrewRecipeRegister.registerCustomRecipeWithComponentPrescence()

NB: The output item will still need to have the whole ComponentMap/NBT, since it's the one which is going to be created!

You can also check for the presence of field/componet and specific value! You will need to use

CustomBrewRecipeRegister.registerCustomRecipeWithComponentType();

NB: The output item will still need to have the whole ComponentMap/NBT, since it's the one which is going to be created!

nodecraft

Setup

You can add it to your project by adding in your build.gradle:

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
        content {
            includeGroup "maven.modrinth"
        }
    }
}

dependencies {
    modImplementation "maven.modrinth:custombrewrecipes:<version>"
}

License

This mod is available under the CC0 license.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more