36 lines
642 B
JSON
36 lines
642 B
JSON
{
|
|
"parent": "minecraft:recipes/root",
|
|
"rewards": {
|
|
"recipes": [
|
|
"extrahoppers:wood_hopper"
|
|
]
|
|
},
|
|
"criteria": {
|
|
"has_logs_and_chest": {
|
|
"trigger": "minecraft:inventory_changed",
|
|
"conditions": {
|
|
"items": [
|
|
{
|
|
"tag": "minecraft:logs"
|
|
},
|
|
{
|
|
"item": "minecraft:chest"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"has_the_recipe": {
|
|
"trigger": "minecraft:recipe_unlocked",
|
|
"conditions": {
|
|
"recipe": "extrahoppers:wood_hopper"
|
|
}
|
|
}
|
|
},
|
|
"requirements": [
|
|
[
|
|
"has_logs_and_chest",
|
|
"has_the_recipe"
|
|
]
|
|
]
|
|
}
|