From ae27a538140c696fc71ea6de4e2a59289aeb923c Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 10 Mar 2021 18:24:02 -0500 Subject: [PATCH] Add recipes for Switch, Interface, Terminal, Inserter, Extractor, Miner, Redstone Controller, Redstone Emitter, and Screwdriver --- .../advancements/recipes/extractor.json | 32 +++++++++++++++++++ .../phycon/advancements/recipes/inserter.json | 32 +++++++++++++++++++ .../phycon/advancements/recipes/miner.json | 32 +++++++++++++++++++ .../recipes/network_interface.json | 32 +++++++++++++++++++ .../recipes/redstone_controller.json | 32 +++++++++++++++++++ .../recipes/redstone_emitter.json | 32 +++++++++++++++++++ .../advancements/recipes/screwdriver.json | 32 +++++++++++++++++++ .../phycon/advancements/recipes/switch.json | 32 +++++++++++++++++++ .../phycon/advancements/recipes/terminal.json | 32 +++++++++++++++++++ .../data/phycon/recipes/extractor.json | 16 ++++++++++ .../data/phycon/recipes/inserter.json | 16 ++++++++++ .../resources/data/phycon/recipes/miner.json | 16 ++++++++++ .../phycon/recipes/network_interface.json | 15 +++++++++ .../phycon/recipes/redstone_controller.json | 16 ++++++++++ .../data/phycon/recipes/redstone_emitter.json | 16 ++++++++++ .../data/phycon/recipes/screwdriver.json | 15 +++++++++ .../resources/data/phycon/recipes/switch.json | 16 ++++++++++ .../data/phycon/recipes/terminal.json | 16 ++++++++++ 18 files changed, 430 insertions(+) create mode 100644 src/main/resources/data/phycon/advancements/recipes/extractor.json create mode 100644 src/main/resources/data/phycon/advancements/recipes/inserter.json create mode 100644 src/main/resources/data/phycon/advancements/recipes/miner.json create mode 100644 src/main/resources/data/phycon/advancements/recipes/network_interface.json create mode 100644 src/main/resources/data/phycon/advancements/recipes/redstone_controller.json create mode 100644 src/main/resources/data/phycon/advancements/recipes/redstone_emitter.json create mode 100644 src/main/resources/data/phycon/advancements/recipes/screwdriver.json create mode 100644 src/main/resources/data/phycon/advancements/recipes/switch.json create mode 100644 src/main/resources/data/phycon/advancements/recipes/terminal.json create mode 100644 src/main/resources/data/phycon/recipes/extractor.json create mode 100644 src/main/resources/data/phycon/recipes/inserter.json create mode 100644 src/main/resources/data/phycon/recipes/miner.json create mode 100644 src/main/resources/data/phycon/recipes/network_interface.json create mode 100644 src/main/resources/data/phycon/recipes/redstone_controller.json create mode 100644 src/main/resources/data/phycon/recipes/redstone_emitter.json create mode 100644 src/main/resources/data/phycon/recipes/screwdriver.json create mode 100644 src/main/resources/data/phycon/recipes/switch.json create mode 100644 src/main/resources/data/phycon/recipes/terminal.json diff --git a/src/main/resources/data/phycon/advancements/recipes/extractor.json b/src/main/resources/data/phycon/advancements/recipes/extractor.json new file mode 100644 index 0000000..d7bc146 --- /dev/null +++ b/src/main/resources/data/phycon/advancements/recipes/extractor.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "phycon:extractor" + ] + }, + "criteria": { + "has_processor": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "phycon:item_processor" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "phycon:extractor" + } + } + }, + "requirements": [ + [ + "has_processor", + "has_the_recipe" + ] + ] +} diff --git a/src/main/resources/data/phycon/advancements/recipes/inserter.json b/src/main/resources/data/phycon/advancements/recipes/inserter.json new file mode 100644 index 0000000..e1800d6 --- /dev/null +++ b/src/main/resources/data/phycon/advancements/recipes/inserter.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "phycon:inserter" + ] + }, + "criteria": { + "has_processor": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "phycon:item_processor" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "phycon:inserter" + } + } + }, + "requirements": [ + [ + "has_processor", + "has_the_recipe" + ] + ] +} diff --git a/src/main/resources/data/phycon/advancements/recipes/miner.json b/src/main/resources/data/phycon/advancements/recipes/miner.json new file mode 100644 index 0000000..ffb65e6 --- /dev/null +++ b/src/main/resources/data/phycon/advancements/recipes/miner.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "phycon:miner" + ] + }, + "criteria": { + "has_diamond_pick": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "minecraft:diamond_pickaxe" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "phycon:miner" + } + } + }, + "requirements": [ + [ + "has_diamond_pick", + "has_the_recipe" + ] + ] +} diff --git a/src/main/resources/data/phycon/advancements/recipes/network_interface.json b/src/main/resources/data/phycon/advancements/recipes/network_interface.json new file mode 100644 index 0000000..9bd86aa --- /dev/null +++ b/src/main/resources/data/phycon/advancements/recipes/network_interface.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "phycon:network_interface" + ] + }, + "criteria": { + "has_processor": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "phycon:item_processor" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "phycon:network_interface" + } + } + }, + "requirements": [ + [ + "has_processor", + "has_the_recipe" + ] + ] +} diff --git a/src/main/resources/data/phycon/advancements/recipes/redstone_controller.json b/src/main/resources/data/phycon/advancements/recipes/redstone_controller.json new file mode 100644 index 0000000..9267e1d --- /dev/null +++ b/src/main/resources/data/phycon/advancements/recipes/redstone_controller.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "phycon:redstone_controller" + ] + }, + "criteria": { + "has_processor": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "phycon:redstone_processor" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "phycon:redstone_controller" + } + } + }, + "requirements": [ + [ + "has_processor", + "has_the_recipe" + ] + ] +} diff --git a/src/main/resources/data/phycon/advancements/recipes/redstone_emitter.json b/src/main/resources/data/phycon/advancements/recipes/redstone_emitter.json new file mode 100644 index 0000000..eeb644b --- /dev/null +++ b/src/main/resources/data/phycon/advancements/recipes/redstone_emitter.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "phycon:redstone_emitter" + ] + }, + "criteria": { + "has_processor": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "phycon:redstone_processor" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "phycon:redstone_emitter" + } + } + }, + "requirements": [ + [ + "has_processor", + "has_the_recipe" + ] + ] +} diff --git a/src/main/resources/data/phycon/advancements/recipes/screwdriver.json b/src/main/resources/data/phycon/advancements/recipes/screwdriver.json new file mode 100644 index 0000000..cba805d --- /dev/null +++ b/src/main/resources/data/phycon/advancements/recipes/screwdriver.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "phycon:screwdriver" + ] + }, + "criteria": { + "has_iron": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:iron_ingots" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "phycon:screwdriver" + } + } + }, + "requirements": [ + [ + "has_iron", + "has_the_recipe" + ] + ] +} diff --git a/src/main/resources/data/phycon/advancements/recipes/switch.json b/src/main/resources/data/phycon/advancements/recipes/switch.json new file mode 100644 index 0000000..73b3f42 --- /dev/null +++ b/src/main/resources/data/phycon/advancements/recipes/switch.json @@ -0,0 +1,32 @@ +{ + "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" + ] + ] +} diff --git a/src/main/resources/data/phycon/advancements/recipes/terminal.json b/src/main/resources/data/phycon/advancements/recipes/terminal.json new file mode 100644 index 0000000..f1e1d94 --- /dev/null +++ b/src/main/resources/data/phycon/advancements/recipes/terminal.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "phycon:terminal" + ] + }, + "criteria": { + "has_processor": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "phycon:item_processor" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "phycon:terminal" + } + } + }, + "requirements": [ + [ + "has_processor", + "has_the_recipe" + ] + ] +} diff --git a/src/main/resources/data/phycon/recipes/extractor.json b/src/main/resources/data/phycon/recipes/extractor.json new file mode 100644 index 0000000..cdf51b2 --- /dev/null +++ b/src/main/resources/data/phycon/recipes/extractor.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " I ", + "IPI", + "IHI" + ], + "key": { + "P": {"item": "phycon:item_processor"}, + "I": {"tag": "c:iron_ingots"}, + "H": {"item": "minecraft:hopper"} + }, + "result": { + "item": "phycon:extractor" + } +} diff --git a/src/main/resources/data/phycon/recipes/inserter.json b/src/main/resources/data/phycon/recipes/inserter.json new file mode 100644 index 0000000..b776156 --- /dev/null +++ b/src/main/resources/data/phycon/recipes/inserter.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "IHI", + "IPI", + " I " + ], + "key": { + "P": {"item": "phycon:item_processor"}, + "I": {"tag": "c:iron_ingots"}, + "H": {"item": "minecraft:hopper"} + }, + "result": { + "item": "phycon:inserter" + } +} diff --git a/src/main/resources/data/phycon/recipes/miner.json b/src/main/resources/data/phycon/recipes/miner.json new file mode 100644 index 0000000..efd2a93 --- /dev/null +++ b/src/main/resources/data/phycon/recipes/miner.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " D ", + "IPI", + " I " + ], + "key": { + "P": {"item": "phycon:item_processor"}, + "D": {"item": "minecraft:diamond_pickaxe"}, + "I": {"tag": "c:iron_ingots"} + }, + "result": { + "item": "phycon:miner" + } +} diff --git a/src/main/resources/data/phycon/recipes/network_interface.json b/src/main/resources/data/phycon/recipes/network_interface.json new file mode 100644 index 0000000..30950c0 --- /dev/null +++ b/src/main/resources/data/phycon/recipes/network_interface.json @@ -0,0 +1,15 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " I ", + "IPI", + " I " + ], + "key": { + "P": {"item": "phycon:item_processor"}, + "I": {"tag": "c:iron_ingots"} + }, + "result": { + "item": "phycon:network_interface" + } +} diff --git a/src/main/resources/data/phycon/recipes/redstone_controller.json b/src/main/resources/data/phycon/recipes/redstone_controller.json new file mode 100644 index 0000000..096b4cd --- /dev/null +++ b/src/main/resources/data/phycon/recipes/redstone_controller.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " L ", + "IPI", + " I " + ], + "key": { + "P": {"item": "phycon:redstone_processor"}, + "L": {"item": "minecraft:lever"}, + "I": {"tag": "c:iron_ingots"} + }, + "result": { + "item": "phycon:redstone_controller" + } +} diff --git a/src/main/resources/data/phycon/recipes/redstone_emitter.json b/src/main/resources/data/phycon/recipes/redstone_emitter.json new file mode 100644 index 0000000..1dc38a1 --- /dev/null +++ b/src/main/resources/data/phycon/recipes/redstone_emitter.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " T ", + "IPI", + " I " + ], + "key": { + "P": {"item": "phycon:redstone_processor"}, + "T": {"item": "minecraft:redstone_torch"}, + "I": {"tag": "c:iron_ingots"} + }, + "result": { + "item": "phycon:redstone_emitter" + } +} diff --git a/src/main/resources/data/phycon/recipes/screwdriver.json b/src/main/resources/data/phycon/recipes/screwdriver.json new file mode 100644 index 0000000..e40267d --- /dev/null +++ b/src/main/resources/data/phycon/recipes/screwdriver.json @@ -0,0 +1,15 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " I", + " I ", + "W " + ], + "key": { + "W": {"item": "minecraft:red_wool"}, + "I": {"tag": "c:iron_ingots"} + }, + "result": { + "item": "phycon:screwdriver" + } +} diff --git a/src/main/resources/data/phycon/recipes/switch.json b/src/main/resources/data/phycon/recipes/switch.json new file mode 100644 index 0000000..4eb4d6e --- /dev/null +++ b/src/main/resources/data/phycon/recipes/switch.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "ICI", + "CSC", + "ICI" + ], + "key": { + "S": {"item": "phycon:silicon_wafer"}, + "C": {"item": "phycon:cable"}, + "I": {"tag": "c:iron_ingots"} + }, + "result": { + "item": "phycon:switch" + } +} diff --git a/src/main/resources/data/phycon/recipes/terminal.json b/src/main/resources/data/phycon/recipes/terminal.json new file mode 100644 index 0000000..87eb906 --- /dev/null +++ b/src/main/resources/data/phycon/recipes/terminal.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "III", + "PCP", + "III" + ], + "key": { + "P": {"item": "phycon:item_processor"}, + "I": {"tag": "c:iron_ingots"}, + "C": {"item": "minecraft:chest"} + }, + "result": { + "item": "phycon:terminal" + } +}