46 lines
853 B
JSON
46 lines
853 B
JSON
{
|
|
"parent": "minecraft:recipes/root",
|
|
"rewards": {
|
|
"recipes": [
|
|
"minecraft:wheat"
|
|
]
|
|
},
|
|
"criteria": {
|
|
"has_at_least_9_wheat": {
|
|
"trigger": "minecraft:inventory_changed",
|
|
"conditions": {
|
|
"items": [
|
|
{
|
|
"item": "minecraft:wheat",
|
|
"count": {
|
|
"min": 9
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"has_hay_block": {
|
|
"trigger": "minecraft:inventory_changed",
|
|
"conditions": {
|
|
"items": [
|
|
{
|
|
"item": "minecraft:hay_block"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"has_the_recipe": {
|
|
"trigger": "minecraft:recipe_unlocked",
|
|
"conditions": {
|
|
"recipe": "minecraft:wheat"
|
|
}
|
|
}
|
|
},
|
|
"requirements": [
|
|
[
|
|
"has_at_least_9_wheat",
|
|
"has_hay_block",
|
|
"has_the_recipe"
|
|
]
|
|
]
|
|
} |