Draylar / inmis

I need more inventory space! A Fabric backpack mod.
https://www.curseforge.com/minecraft/mc-mods/inmis
MIT License
33 stars 29 forks source link

( suggestion ) Add recipe achievement #112

Open wsesrdtf opened 2 years ago

wsesrdtf commented 2 years ago

[ file path ] \data\inmis\advancements\recipes\inmis

[ Sample File ] ender_pouch.json

[ Contents ] { "parent": "minecraft:recipes/root", "rewards": { "recipes": [ "inmis:ender_pouch" ] }, "criteria": { "has_ender_chest": { "trigger": "minecraft:inventory_changed", "conditions": { "items": [ { "items": [ "minecraft:ender_chest" ] } ] } }, "has_the_recipe": { "trigger": "minecraft:recipe_unlocked", "conditions": { "recipe": "inmis:ender_pouch" } } }, "requirements": [ [ "has_ender_chest", "has_the_recipe" ] ] }

This way, when you get an ender chest, you will have an ender pouch recipe. It seems that it will be difficult for people to use this mod because they do not know the recipe. So, I suggest a function that gives a recipe when the user gets a specific item.