PhysicalConnectivity/src/main/resources/data/phycon/advancements/recipes/switch.json

33 lines
538 B
JSON

{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"phycon:switch"
]
},
"criteria": {
"has_cable": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "phycon:cable"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:switch"
}
}
},
"requirements": [
[
"has_cable",
"has_the_recipe"
]
]
}