Of the final day

This commit is contained in:
drcrazy 2019-07-19 11:57:18 +03:00
parent f890ac7146
commit 70d6c8f102
35 changed files with 782 additions and 49 deletions

View file

@ -33,7 +33,6 @@ public class CraftingTableRecipes extends RecipeMethods {
public static void init() {
registerCompressionRecipes();
registerMixedMetalIngotRecipes();
//UU-Matter
ItemStack uuStack = TRContent.Parts.UU_MATTER.getStack();
@ -120,54 +119,6 @@ public class CraftingTableRecipes extends RecipeMethods {
// registerShaped(getStack(Items.DIAMOND), "NNN", "NNN", "NNN", 'N', "nuggetDiamond");
}
static void registerMixedMetalIngotRecipes() {
registerMixedMetal("ingotRefinedIron", "ingotBronze", "ingotTin", 2);
registerMixedMetal("ingotRefinedIron", "ingotBronze", "ingotZinc", 2);
registerMixedMetal("ingotNickel", "ingotBronze", "ingotTin", 3);
registerMixedMetal("ingotNickel", "ingotBronze", "ingotZinc", 3);
registerMixedMetal("ingotNickel", "ingotBronze", "ingotAluminum", 4);
registerMixedMetal("ingotInvar", "ingotBronze", "ingotTin", 4);
registerMixedMetal("ingotInvar", "ingotBronze", "ingotZinc", 4);
registerMixedMetal("ingotInvar", "ingotBronze", "ingotAluminum", 5);
registerMixedMetal("ingotTitanium", "ingotBronze", "ingotTin", 5);
registerMixedMetal("ingotTitanium", "ingotBronze", "ingotZinc", 5);
registerMixedMetal("ingotTungsten", "ingotBronze", "ingotTin", 5);
registerMixedMetal("ingotTungsten", "ingotBronze", "ingotZinc", 5);
registerMixedMetal("ingotTitanium", "ingotBronze", "ingotAluminum", 6);
registerMixedMetal("ingotTungsten", "ingotBronze", "ingotAluminum", 6);
registerMixedMetal("ingotTungstensteel", "ingotBronze", "ingotTin", 8);
registerMixedMetal("ingotTungstensteel", "ingotBronze", "ingotZinc", 8);
registerMixedMetal("ingotTungstensteel", "ingotBronze", "ingotAluminum", 9);
}
static void registerMixedMetal(String top, String middle, String bottom, int amount) {
if (!OreDictionary.doesOreNameExist(top)) {
return;
}
if (!OreDictionary.doesOreNameExist(middle)) {
return;
}
if (!OreDictionary.doesOreNameExist(bottom)) {
return;
}
// if (top.equals("ingotRefinedIron")) {
// registerShaped(getMaterial("mixed_metal", amount, Type.INGOT), "TTT", "MMM", "BBB", 'T', "ingotRefinedIron", 'M', middle, 'B', bottom);
// } else {
// registerShaped(getMaterial("mixed_metal", amount, Type.INGOT), "TTT", "MMM", "BBB", 'T', top, 'M', middle, 'B', bottom);
// }
if (middle.equals("ingotBronze")) {
registerMixedMetal(top, "ingotBrass", bottom, amount);
}
if (bottom.equals("ingotAluminum")) {
registerMixedMetal(top, middle, "ingotAluminium", amount);
}
}
static void registerShaped(ItemStack output, Object... inputs) {
RebornCraftingHelper.addShapedOreRecipe(output, inputs);

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:tin_ingot"
},
"T": {
"item": "techreborn:refined_iron_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 2
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:tin_ingot"
},
"T": {
"item": "techreborn:refined_iron_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 2
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:aluminum_ingot"
},
"T": {
"item": "techreborn:invar_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 5
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:aluminum_ingot"
},
"T": {
"item": "techreborn:nickel_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 4
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:aluminum_ingot"
},
"T": {
"item": "techreborn:nickel_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 4
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:aluminum_ingot"
},
"T": {
"item": "techreborn:titanium_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 6
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:aluminum_ingot"
},
"T": {
"item": "techreborn:titanium_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 6
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:aluminum_ingot"
},
"T": {
"item": "techreborn:tungsten_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 6
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:aluminum_ingot"
},
"T": {
"item": "techreborn:tungsten_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 6
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:aluminum_ingot"
},
"T": {
"item": "techreborn:tungstensteel_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 9
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:aluminum_ingot"
},
"T": {
"item": "techreborn:tungstensteel_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 9
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:aluminum_ingot"
},
"T": {
"item": "techreborn:invar_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 5
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:tin_ingot"
},
"T": {
"item": "techreborn:titanium_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 5
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:zinc_ingot"
},
"T": {
"item": "techreborn:invar_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 4
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:tin_ingot"
},
"T": {
"item": "techreborn:invar_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 4
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:tin_ingot"
},
"T": {
"item": "techreborn:invar_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 4
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:tin_ingot"
},
"T": {
"item": "techreborn:nickel_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 3
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:tin_ingot"
},
"T": {
"item": "techreborn:nickel_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 3
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:tin_ingot"
},
"T": {
"item": "techreborn:titanium_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 5
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:tin_ingot"
},
"T": {
"item": "techreborn:tungsten_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 5
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:tin_ingot"
},
"T": {
"item": "techreborn:tungsten_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 5
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:tin_ingot"
},
"T": {
"item": "techreborn:tungstensteel_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 8
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:tin_ingot"
},
"T": {
"item": "techreborn:tungstensteel_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 8
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:zinc_ingot"
},
"T": {
"item": "techreborn:invar_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 4
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:zinc_ingot"
},
"T": {
"item": "techreborn:refined_iron_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 2
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:zinc_ingot"
},
"T": {
"item": "techreborn:refined_iron_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 2
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:zinc_ingot"
},
"T": {
"item": "techreborn:nickel_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 3
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:zinc_ingot"
},
"T": {
"item": "techreborn:nickel_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 3
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:zinc_ingot"
},
"T": {
"item": "techreborn:titanium_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 5
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:zinc_ingot"
},
"T": {
"item": "techreborn:titanium_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 5
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:zinc_ingot"
},
"T": {
"item": "techreborn:tungsten_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 5
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:zinc_ingot"
},
"T": {
"item": "techreborn:tungsten_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 5
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:zinc_ingot"
},
"T": {
"item": "techreborn:tungstensteel_ingot"
},
"M": {
"item": "techreborn:brass_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 8
}
}

View file

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"TTT",
"MMM",
"BBB"
],
"key": {
"B": {
"item": "techreborn:zinc_ingot"
},
"T": {
"item": "techreborn:tungstensteel_ingot"
},
"M": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:mixed_metal_ingot",
"count": 8
}
}