From d7e373f8a4f094a84c5728f052bc069973fd4059 Mon Sep 17 00:00:00 2001 From: lucsoft Date: Sun, 10 Jan 2021 23:20:41 +0100 Subject: [PATCH] Added Crafting Recipe for Computer, Disk Platter, Microchip, PCB and Transistor --- .../resources/data/oc2/recipes/computer.json | 29 +++++++++++++++++++ .../data/oc2/recipes/disk_platter.json | 16 ++++++++++ .../resources/data/oc2/recipes/microchip.json | 22 ++++++++++++++ src/main/resources/data/oc2/recipes/pcb.json | 27 +++++++++++++++++ .../data/oc2/recipes/transistor.json | 26 +++++++++++++++++ 5 files changed, 120 insertions(+) create mode 100644 src/main/resources/data/oc2/recipes/computer.json create mode 100644 src/main/resources/data/oc2/recipes/disk_platter.json create mode 100644 src/main/resources/data/oc2/recipes/microchip.json create mode 100644 src/main/resources/data/oc2/recipes/pcb.json create mode 100644 src/main/resources/data/oc2/recipes/transistor.json diff --git a/src/main/resources/data/oc2/recipes/computer.json b/src/main/resources/data/oc2/recipes/computer.json new file mode 100644 index 00000000..a95091cf --- /dev/null +++ b/src/main/resources/data/oc2/recipes/computer.json @@ -0,0 +1,29 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "IMI", + "BCB", + "IPI" + ], + "key": { + "I": { + "item": "minecraft:gold_ingot" + }, + "C": { + "item": "minecraft:chest" + }, + "M": { + "item": "oc2:microchip" + }, + "P": { + "item": "oc2:pcb" + }, + "B": { + "item": "minecraft:iron_bars" + } + }, + "result": { + "item": "oc2:computer", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/oc2/recipes/disk_platter.json b/src/main/resources/data/oc2/recipes/disk_platter.json new file mode 100644 index 00000000..ffd02f0d --- /dev/null +++ b/src/main/resources/data/oc2/recipes/disk_platter.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " N ", + "N N", + " N " + ], + "key": { + "N": { + "item": "minecraft:iron_nugget" + } + }, + "result": { + "item": "oc2:disk_platter" + } +} \ No newline at end of file diff --git a/src/main/resources/data/oc2/recipes/microchip.json b/src/main/resources/data/oc2/recipes/microchip.json new file mode 100644 index 00000000..d0656d67 --- /dev/null +++ b/src/main/resources/data/oc2/recipes/microchip.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "III", + "RTR", + "III" + ], + "key": { + "I": { + "item": "minecraft:gold_nugget" + }, + "T": { + "item": "oc2:transistor" + }, + "R": { + "item": "minecraft:redstone" + } + }, + "result": { + "item": "oc2:microchip" + } +} \ No newline at end of file diff --git a/src/main/resources/data/oc2/recipes/pcb.json b/src/main/resources/data/oc2/recipes/pcb.json new file mode 100644 index 00000000..2494cce9 --- /dev/null +++ b/src/main/resources/data/oc2/recipes/pcb.json @@ -0,0 +1,27 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "minecraft:gold_nugget" + }, + [ + { + "item": "minecraft:slime_ball" + }, + { + "item": "minecraft:honey_bottle" + } + ], + [ + { + "item": "minecraft:kelp" + }, + { + "item": "minecraft:green_dye" + } + ] + ], + "result": { + "item": "oc2:pcb" + } +} \ No newline at end of file diff --git a/src/main/resources/data/oc2/recipes/transistor.json b/src/main/resources/data/oc2/recipes/transistor.json new file mode 100644 index 00000000..8072e972 --- /dev/null +++ b/src/main/resources/data/oc2/recipes/transistor.json @@ -0,0 +1,26 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "III", + "GPG", + " R " + ], + "key": { + "I": { + "item": "minecraft:iron_ingot" + }, + "G": { + "item": "minecraft:gold_nugget" + }, + "R": { + "item": "minecraft:redstone" + }, + "P": { + "item": "minecraft:paper" + } + }, + "result": { + "item": "oc2:transistor", + "count": 4 + } +} \ No newline at end of file