From 54ad3360fdbde4c634a18557decd1766c2abed33 Mon Sep 17 00:00:00 2001 From: drcrazy Date: Tue, 23 Jul 2019 01:50:01 +0300 Subject: [PATCH] Moar storage recipes --- .../init/recipes/CraftingTableRecipes.java | 11 ----------- .../gem/peridot_gem_from_storage_block.json | 12 ++++++++++++ .../gem/red_garnet_gem_from_storage_block.json | 12 ++++++++++++ .../gem/ruby_gem_from_storage_block.json | 12 ++++++++++++ .../gem/sapphire_gem_from_storage_block.json | 12 ++++++++++++ .../yellow_garnet_gem_from_storage_block.json | 12 ++++++++++++ .../ingot/copper_ingot_from_storage_block.json | 12 ++++++++++++ .../refined_iron_ingot_from_storage_block.json | 12 ++++++++++++ .../ingot/tin_ingot_from_storage_block.json | 12 ++++++++++++ .../tungstensteel_ingot_from_storage_block.json | 12 ++++++++++++ .../storage_block/copper_storage_block.json | 16 ++++++++++++++++ .../storage_block/peridot_storage_block.json | 16 ++++++++++++++++ .../storage_block/red_garnet_storage_block.json | 16 ++++++++++++++++ .../refined_iron_storage_block.json | 16 ++++++++++++++++ .../storage_block/ruby_storage_block.json | 16 ++++++++++++++++ .../storage_block/sapphire_storage_block.json | 16 ++++++++++++++++ .../storage_block/tin_storage_block.json | 16 ++++++++++++++++ .../tungstensteel_storage_block.json | 16 ++++++++++++++++ .../yellow_garnet_storage_block.json | 16 ++++++++++++++++ 19 files changed, 252 insertions(+), 11 deletions(-) create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/gem/peridot_gem_from_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/gem/red_garnet_gem_from_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/gem/ruby_gem_from_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/gem/sapphire_gem_from_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/gem/yellow_garnet_gem_from_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/ingot/copper_ingot_from_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/ingot/refined_iron_ingot_from_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/ingot/tin_ingot_from_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/ingot/tungstensteel_ingot_from_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/storage_block/copper_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/storage_block/peridot_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/storage_block/red_garnet_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/storage_block/refined_iron_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/storage_block/ruby_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/storage_block/sapphire_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/storage_block/tin_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/storage_block/tungstensteel_storage_block.json create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/storage_block/yellow_garnet_storage_block.json diff --git a/src/main/java/techreborn/init/recipes/CraftingTableRecipes.java b/src/main/java/techreborn/init/recipes/CraftingTableRecipes.java index 09c57fd1f..3591fa9db 100644 --- a/src/main/java/techreborn/init/recipes/CraftingTableRecipes.java +++ b/src/main/java/techreborn/init/recipes/CraftingTableRecipes.java @@ -41,17 +41,6 @@ public class CraftingTableRecipes extends RecipeMethods { static void registerCompressionRecipes() { -// for (String block : BlockStorage2.types){ -// block = CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, block); -// if (OreUtil.hasIngot(block)) { -// registerShaped(BlockStorage2.getStorageBlockByName(block), "AAA", "AAA", "AAA", 'A', "ingot" + StringUtils.toFirstCapital(block)); -// registerShapeless(getMaterial(block, 9, Type.INGOT), BlockStorage2.getStorageBlockByName(block)); -// } else if (OreUtil.hasGem(block)) { -// registerShaped(BlockStorage2.getStorageBlockByName(block), "AAA", "AAA", "AAA", 'A', "gem" + StringUtils.toFirstCapital(block)); -// registerShapeless(getMaterial(block, 9, Type.GEM), BlockStorage2.getStorageBlockByName(block)); -// } -// } - // for (String name : ItemDustsSmall.types) { // registerShapeless(getMaterial(name, 4, Type.SMALL_DUST), getMaterialObject(name, Type.DUST)); // registerShapeless(getMaterial(name, Type.DUST), getMaterialObject(name, Type.SMALL_DUST), getMaterialObject(name, Type.SMALL_DUST), getMaterialObject(name, Type.SMALL_DUST), getMaterialObject(name, Type.SMALL_DUST)); diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/gem/peridot_gem_from_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/gem/peridot_gem_from_storage_block.json new file mode 100644 index 000000000..85cbf4dd8 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/gem/peridot_gem_from_storage_block.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "techreborn:peridot_storage_block" + } + ], + "result": { + "item": "techreborn:peridot_gem", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/gem/red_garnet_gem_from_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/gem/red_garnet_gem_from_storage_block.json new file mode 100644 index 000000000..e605a77cf --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/gem/red_garnet_gem_from_storage_block.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "techreborn:red_garnet_storage_block" + } + ], + "result": { + "item": "techreborn:red_garnet_gem", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/gem/ruby_gem_from_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/gem/ruby_gem_from_storage_block.json new file mode 100644 index 000000000..d1b70226b --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/gem/ruby_gem_from_storage_block.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "techreborn:ruby_storage_block" + } + ], + "result": { + "item": "techreborn:ruby_gem", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/gem/sapphire_gem_from_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/gem/sapphire_gem_from_storage_block.json new file mode 100644 index 000000000..bb9c67db6 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/gem/sapphire_gem_from_storage_block.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "techreborn:sapphire_storage_block" + } + ], + "result": { + "item": "techreborn:sapphire_gem", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/gem/yellow_garnet_gem_from_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/gem/yellow_garnet_gem_from_storage_block.json new file mode 100644 index 000000000..d155fae1b --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/gem/yellow_garnet_gem_from_storage_block.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "techreborn:yellow_garnet_storage_block" + } + ], + "result": { + "item": "techreborn:yellow_garnet_gem", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/ingot/copper_ingot_from_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/ingot/copper_ingot_from_storage_block.json new file mode 100644 index 000000000..ecba5f487 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/ingot/copper_ingot_from_storage_block.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "techreborn:copper_storage_block" + } + ], + "result": { + "item": "techreborn:copper_ingot", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/ingot/refined_iron_ingot_from_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/ingot/refined_iron_ingot_from_storage_block.json new file mode 100644 index 000000000..684c5752a --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/ingot/refined_iron_ingot_from_storage_block.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "techreborn:refined_iron_storage_block" + } + ], + "result": { + "item": "techreborn:refined_iron_ingot", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/ingot/tin_ingot_from_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/ingot/tin_ingot_from_storage_block.json new file mode 100644 index 000000000..db7c22818 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/ingot/tin_ingot_from_storage_block.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "techreborn:tin_storage_block" + } + ], + "result": { + "item": "techreborn:tin_ingot", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/ingot/tungstensteel_ingot_from_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/ingot/tungstensteel_ingot_from_storage_block.json new file mode 100644 index 000000000..6a06b039d --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/ingot/tungstensteel_ingot_from_storage_block.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "techreborn:tungstensteel_storage_block" + } + ], + "result": { + "item": "techreborn:tungstensteel_ingot", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/copper_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/copper_storage_block.json new file mode 100644 index 000000000..351385d65 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/copper_storage_block.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "AAA", + "AAA", + "AAA" + ], + "key": { + "A": { + "item": "techreborn:copper_ingot" + } + }, + "result": { + "item": "techreborn:copper_storage_block" + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/peridot_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/peridot_storage_block.json new file mode 100644 index 000000000..020399a58 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/peridot_storage_block.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "AAA", + "AAA", + "AAA" + ], + "key": { + "A": { + "item": "techreborn:peridot_gem" + } + }, + "result": { + "item": "techreborn:peridot_storage_block" + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/red_garnet_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/red_garnet_storage_block.json new file mode 100644 index 000000000..125082c78 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/red_garnet_storage_block.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "AAA", + "AAA", + "AAA" + ], + "key": { + "A": { + "item": "techreborn:red_garnet_gem" + } + }, + "result": { + "item": "techreborn:red_garnet_storage_block" + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/refined_iron_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/refined_iron_storage_block.json new file mode 100644 index 000000000..724aa342a --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/refined_iron_storage_block.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "AAA", + "AAA", + "AAA" + ], + "key": { + "A": { + "item": "techreborn:refined_iron_ingot" + } + }, + "result": { + "item": "techreborn:refined_iron_storage_block" + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/ruby_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/ruby_storage_block.json new file mode 100644 index 000000000..da4195c1e --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/ruby_storage_block.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "AAA", + "AAA", + "AAA" + ], + "key": { + "A": { + "item": "techreborn:ruby_gem" + } + }, + "result": { + "item": "techreborn:ruby_storage_block" + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/sapphire_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/sapphire_storage_block.json new file mode 100644 index 000000000..f34d89c68 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/sapphire_storage_block.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "AAA", + "AAA", + "AAA" + ], + "key": { + "A": { + "item": "techreborn:sapphire_gem" + } + }, + "result": { + "item": "techreborn:sapphire_storage_block" + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/tin_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/tin_storage_block.json new file mode 100644 index 000000000..d9e021d31 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/tin_storage_block.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "AAA", + "AAA", + "AAA" + ], + "key": { + "A": { + "item": "techreborn:tin_ingot" + } + }, + "result": { + "item": "techreborn:tin_storage_block" + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/tungstensteel_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/tungstensteel_storage_block.json new file mode 100644 index 000000000..f14302272 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/tungstensteel_storage_block.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "AAA", + "AAA", + "AAA" + ], + "key": { + "A": { + "item": "techreborn:tungstensteel_ingot" + } + }, + "result": { + "item": "techreborn:tungstensteel_storage_block" + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/yellow_garnet_storage_block.json b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/yellow_garnet_storage_block.json new file mode 100644 index 000000000..2f650c082 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/storage_block/yellow_garnet_storage_block.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "AAA", + "AAA", + "AAA" + ], + "key": { + "A": { + "item": "techreborn:yellow_garnet_gem" + } + }, + "result": { + "item": "techreborn:yellow_garnet_storage_block" + } +} \ No newline at end of file