
( suggestion ) Add recipe achievement
wsesrdtf opened this issue ยท 0 comments
[ 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.