CustomBrewRecipes
A fabric mod that allows developers to create new Brewing Recipes that also support custom non potion items and 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 nbt, use the
CustomBrewRecipeRegister.registerCustomRecipeNbt()
and either use itemstacks that already have nbt or supply the nbt to the method.
From version 1.1.0
You can also check for the presence of nbt-fields and not their values!
CustomBrewRecipeRegister.registerCustomRecipeFieldOnlyNbt()
NB: The output item will still need to have the whole NBT, since it's the one which is going to be created!
From version 1.2.0
Now you can also check for the presence of field and specific value! You will need to use
CustomBrewRecipeRegister.registerCustomRecipeNbtField();
NB: The output item will still need to have the whole NBT, since it's the one which is going to be created!
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.
External resources
Featured versions
See allProject members
Emafire003
Member