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

153 lines
3.5 KiB
JSON

{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"phycon:cable/white",
"phycon:cable/orange",
"phycon:cable/magenta",
"phycon:cable/light_blue",
"phycon:cable/yellow",
"phycon:cable/lime",
"phycon:cable/pink",
"phycon:cable/gray",
"phycon:cable/light_gray",
"phycon:cable/cyan",
"phycon:cable/purple",
"phycon:cable/blue",
"phycon:cable/brown",
"phycon:cable/green",
"phycon:cable/red",
"phycon:cable/black"
]
},
"criteria": {
"has_twisted_pair": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "phycon:twisted_pair"
}
]
}
},
"has_white_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/white"
}
},
"has_orange_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/orange"
}
},
"has_magenta_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/magenta"
}
},
"has_light_blue_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/light_blue"
}
},
"has_yellow_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/yellow"
}
},
"has_lime_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/lime"
}
},
"has_pink_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/pink"
}
},
"has_gray_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/gray"
}
},
"has_light_gray_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/light_gray"
}
},
"has_cyan_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/cyan"
}
},
"has_purple_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/purple"
}
},
"has_blue_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/blue"
}
},
"has_brown_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/brown"
}
},
"has_green_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/green"
}
},
"has_red_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/red"
}
},
"has_black_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:cable/black"
}
}
},
"requirements": [
[
"has_twisted_pair",
"has_white_recipe",
"has_orange_recipe",
"has_magenta_recipe",
"has_light_blue_recipe",
"has_yellow_recipe",
"has_lime_recipe",
"has_pink_recipe",
"has_gray_recipe",
"has_light_gray_recipe",
"has_cyan_recipe",
"has_purple_recipe",
"has_blue_recipe",
"has_brown_recipe",
"has_green_recipe",
"has_red_recipe",
"has_black_recipe"
]
]
}