
CustomBrewRecipes
A fabric mod that makes it easy for developers adding non-potion brewing recipes that support NBT data!
Обновлён 22 марта 2025 г. · опубликован 22 марта 2024 г.
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!
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.
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 1.3.2-neo | Релиз | 1.21.1, 1.21.2, 1.21.3, 1.21.4 | neoforge | 22 марта 2025 г. | Скачать (13 КБ) |
| 1.3.2 | Релиз | 1.21, 1.21.1 | fabric, quilt | 2 июля 2024 г. | Скачать (29 КБ) |
| 1.3.1 | Релиз | 1.20.5, 1.20.6 | fabric, quilt | 26 мая 2024 г. | Скачать (29 КБ) |
| 1.3.0 | Релиз | 1.20.5, 1.20.6 | fabric, quilt | 26 мая 2024 г. | Скачать (29 КБ) |
| 1.2.0 | Релиз | 1.20.1, 1.20.2, 1.20.3, 1.20.4 | fabric, quilt | 25 марта 2024 г. | Скачать (25 КБ) |
| 1.1.0 | Релиз | 1.20.1, 1.20.2, 1.20.3, 1.20.4 | fabric, quilt | 24 марта 2024 г. | Скачать (24 КБ) |
| 1.0.0 | Релиз | 1.20.1, 1.20.2, 1.20.3, 1.20.4 | fabric, quilt | 22 марта 2024 г. | Скачать (24 КБ) |
Ченджлог
1.3.2-neoРелиз1.21.2, 1.21.3, 1.21.4 · 22 марта 2025 г.
Updated to be compatible with neoforge 1.21.1. Should probably work for 1.21.1+ but i haven't tested it
1.3.2Релиз1.21, 1.21.1 · 2 июля 2024 г.
Updated to 1.21!
1.3.1Релиз1.20.5, 1.20.6 · 26 мая 2024 г.
Fixed a Mixin debug that I forgot to remove
1.3.0Релиз1.20.5, 1.20.6 · 26 мая 2024 г.
Updated to 1.20.5+! Now you can also use custom components. NBT support is still manteined if you prefer.
1.2.0Релиз1.20.2, 1.20.3, 1.20.4 · 25 марта 2024 г.
Fixed a bug where registering multiple recipes with the same items (in input, ingredient and output) with different NBT resulted in only one recipe being used
Now you can also check for the presence of field and specific value! You will need to use
CustomBrewRecipeRegister.registerCustomRecipeNbtField();Improved the way recipes with NBT are stored
1.1.0Релиз1.20.2, 1.20.3, 1.20.4 · 24 марта 2024 г.
- Added option to register recipes that check only for the presence of an NBT-field in the input & ingredient items.
1.0.0Релиз1.20.2, 1.20.3, 1.20.4 · 22 марта 2024 г.
First release!
Комментарии
Загружаем…