32 lines
548 B
JSON
32 lines
548 B
JSON
{
|
|
"parent": "minecraft:recipes/root",
|
|
"rewards": {
|
|
"recipes": [
|
|
"minecraft:cooked_cod"
|
|
]
|
|
},
|
|
"criteria": {
|
|
"has_cod": {
|
|
"trigger": "minecraft:inventory_changed",
|
|
"conditions": {
|
|
"items": [
|
|
{
|
|
"item": "minecraft:cod"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"has_the_recipe": {
|
|
"trigger": "minecraft:recipe_unlocked",
|
|
"conditions": {
|
|
"recipe": "minecraft:cooked_cod"
|
|
}
|
|
}
|
|
},
|
|
"requirements": [
|
|
[
|
|
"has_cod",
|
|
"has_the_recipe"
|
|
]
|
|
]
|
|
} |