
Что это
A Fabric mod that extends recipe format with conditions.
- Тип: мод
- Загрузчик: fabric
- Версии Minecraft: 1.17 – 1.20.4
- Скачиваний на Modrinth: 5 192
Подробно
[](https://github.com/Kir-Antipov/smart-recipes/actions/workflows/build-artifacts.yml) [](https://github.com/Kir-Antipov/smart-recipes/releases/latest) [](https://modrinth.com/mod/smart-recipes) [](https://www.curseforge.com/minecraft/mc-mods/smart-recipes) [](https://github.com/Kir-Antipov/smart-recipes/blob/HEAD/LICENSE.md)
Do you find the standard Minecraft recipe format boring? Or maybe you wish to make the game more event-based, like Terraria? If so, Smart Recipes is what you need! Craft your own unique experience with our new conditional recipe format!
If you prefer a practical example over explanations, feel free to skip directly to the Example section. However, don't forget to revisit the Conditions and Reload Conditions sections later.
The Smart Recipes mod extends the vanilla recipe format. It's crucial to understand how the vanilla format works; otherwise, the following descriptions may not make sense.
This mod introduces a new smartrecipes:conditions property to the recipe format. It's somewhat similar to the conditions in loot tables. Let's take a closer look it:
This property determines conditions for the recipe to be loaded. If multiple conditions are specified, all must pass.
jsonc "smartrecipes:conditions": [ { "condition": "conditionName0", "args": [ // Arguments to be passed to some condition named conditionName0. 4, "2" ] }, { "condition": "conditionName1", "args": [ // Arguments to be passed to some condition named conditionName1. "foo" ] } ]
This example is identical to how conditions in loot tables are usually written. However, I find them too verbose. Let's explore how we can improve our conditions.
jsonc // Let's turn this condition declaration: { "condition": "conditionName1", "args": [ "foo" ] }
// Into this one: "conditionName1": ["foo"]
jsonc "smartrecipes:conditions": [ { "conditionName0": [4, "2"] }, { "conditionName1": ["foo"] } ]
This is even better than before, but there is still some room for imporvement. Let's consolidate our conditions into a single object:
jsonc "smartrecipes:conditions": [ { "conditionName0": [4, "2"], "conditionName1": ["foo"] } ]
Finally, if an array contains only one object, the Smart Recipes mod allows you to omit its declaration. Here's the final result:
jsonc "smartrecipes:conditions": { "conditionName0": [4, "2"], "conditionName1": "foo" }
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Mace Music
Plays Chaos Construct by AZALI or songs that the user imports, plays if the user is holding a mace. 05.12.2026
Better Programmer Glass
Makes the old glass and stained glass texture cleaner while keeping the older style. For use with programmer art style resourcepacks 05.12.2026
Climbable Chains
Lets you climb chain blocks across multiple versions! 05.12.2026
Sulfur Cave Labyrinth
An underground puzzle structure for Sulfur Caves 05.12.2026
Piekarnia Modpack
A balanced survival-focused modpack that adds depth and immersion without the overwhelm of kitchen-sink packs. Perfect for players who want… 05.12.2026
Mad Pixels 16x
The 16x version of Mad Pixels. Make your Minecraft world simpler and more cheerful with the Mad Pixels resource pack! 05.12.2026