More tool recipes
This commit is contained in:
parent
d9cbbfa0fc
commit
db9db5b77d
9 changed files with 171 additions and 38 deletions
|
@ -47,12 +47,6 @@ public class CraftingTableRecipes extends RecipeMethods {
|
|||
|
||||
// Tools and devices
|
||||
|
||||
registerShaped(getStack(TRContent.NANOSABER), "DC ", "DC ", "GLG", 'L', "lapotronCrystal", 'C', "plateCarbon", 'D', "plateDiamond", 'G', "dustsmallGlowstone");
|
||||
ItemStack rockCutter = getStack(TRContent.ROCK_CUTTER);
|
||||
rockCutter.addEnchantment(Enchantments.SILK_TOUCH, 1);
|
||||
registerShaped(rockCutter, "DT ", "DT ", "DCB", 'D', "dustDiamond", 'T', "ingotTitanium", 'C', "circuitBasic", 'B', "reBattery");
|
||||
registerShaped(getStack(TRContent.BASIC_DRILL), " S ", "SCS", "SBS", 'S', "ingotSteel", 'C', "circuitBasic", 'B', "reBattery");
|
||||
registerShaped(getStack(TRContent.ADVANCED_DRILL), " D ", "DCD", "TST", 'D', "gemDiamond", 'C', "circuitAdvanced", 'S', getStack(TRContent.BASIC_DRILL, 1, OreDictionary.WILDCARD_VALUE), 'T', "ingotTitanium");
|
||||
registerShaped(getStack(TRContent.INDUSTRIAL_DRILL), " I ", "NCN", "OAO", 'I', "plateIridiumAlloy", 'N', "nuggetIridium", 'A', getStack(TRContent.ADVANCED_DRILL, 1, OreDictionary.WILDCARD_VALUE), 'C', "circuitMaster", 'O', getMaterial("overclock", Type.UPGRADE));
|
||||
registerShaped(getStack(TRContent.BASIC_CHAINSAW), " SS", "SCS", "BS ", 'S', "ingotSteel", 'C', "circuitBasic", 'B', "reBattery");
|
||||
registerShaped(getStack(TRContent.ADVANCED_CHAINSAW), " DD", "TCD", "ST ", 'D', "gemDiamond", 'C', "circuitAdvanced", 'S', getStack(TRContent.BASIC_CHAINSAW, 1, OreDictionary.WILDCARD_VALUE), 'T', "ingotTitanium");
|
||||
|
@ -63,11 +57,6 @@ public class CraftingTableRecipes extends RecipeMethods {
|
|||
registerShaped(getStack(TRContent.CLOAKING_DEVICE), "CIC", "IOI", "CIC", 'C', "ingotChrome", 'I', "plateIridiumAlloy", 'O', getStack(TRContent.LAPOTRONIC_ORB));
|
||||
registerShaped(getStack(TRContent.LAPOTRONIC_ORBPACK), "FOF", "SPS", "FIF", 'F', "circuitMaster", 'O', getStack(TRContent.LAPOTRONIC_ORB), 'S', "craftingSuperconductor", 'I', "ingotIridium", 'P', getStack(TRContent.LITHIUM_ION_BATPACK));
|
||||
|
||||
// registerShaped(getStack(TRContent.LITHIUM_ION_BATTERY), " C ", "PFP", "PFP", 'F', getCell("lithium"), 'P', "plateAluminum", 'C', EnumCableType.IGOLD.getStack());
|
||||
registerShaped(getStack(TRContent.LITHIUM_ION_BATPACK), "BCB", "BPB", "B B", 'B', getStack(TRContent.LITHIUM_ION_BATTERY), 'P', "plateAluminum", 'C', "circuitAdvanced");
|
||||
|
||||
registerShaped(getStack(TRContent.SCRAP_BOX), "SSS", "SSS", "SSS", 'S', TRContent.Parts.SCRAP.getStack());
|
||||
//registerShapeless(getStack(TRContent.FREQUENCY_TRANSMITTER), EnumCableType.ICOPPER.getStack(), "circuitBasic");
|
||||
|
||||
//Upgrades
|
||||
// registerShaped(ItemUpgrades.getUpgradeByName("energy_storage"), "PPP", "WBW", "PCP", 'P', "plankWood", 'W', EnumCableType.ICOPPER.getStack(), 'C', "circuitBasic", 'B', "reBattery");
|
||||
|
@ -229,12 +218,6 @@ public class CraftingTableRecipes extends RecipeMethods {
|
|||
// registerShaped(getMaterial("aluminum", 16, Type.DUST), " U ", " U ", "UUU", 'U', uuStack);
|
||||
// registerShaped(getMaterial("iridium", 1, Type.ORE), "UUU", " U ", "UUU", 'U', uuStack);
|
||||
|
||||
// for (String part : ItemParts.types) {
|
||||
// if (part.endsWith("Gear")) {
|
||||
// registerShaped(getMaterial(part, Type.PART), " O ", "OIO", " O ", 'I', getStack(Items.IRON_INGOT), 'O', "ingot" + StringUtils.toFirstCapital(part.replace("Gear", "")));
|
||||
// }
|
||||
// }
|
||||
|
||||
registerShaped(new ItemStack(TRContent.RUBBER_LOG_SLAB_HALF), "WWW", 'W', new ItemStack(TRContent.RUBBER_PLANKS));
|
||||
registerShaped(new ItemStack(TRContent.RUBBER_LOG_STAIR), "W ", "WW ", "WWW", 'W', new ItemStack(TRContent.RUBBER_PLANKS));
|
||||
|
||||
|
@ -341,26 +324,5 @@ public class CraftingTableRecipes extends RecipeMethods {
|
|||
RebornCraftingHelper.addShapelessOreRecipe(output, inputs);
|
||||
}
|
||||
|
||||
static void addToolAndArmourRecipes(ItemStack sword,
|
||||
ItemStack pickaxe,
|
||||
ItemStack axe,
|
||||
ItemStack hoe,
|
||||
ItemStack spade,
|
||||
ItemStack helmet,
|
||||
ItemStack chestplate,
|
||||
ItemStack leggings,
|
||||
ItemStack boots,
|
||||
String material) {
|
||||
registerShaped(sword, "G", "G", "S", 'S', Items.STICK, 'G', material);
|
||||
registerShaped(pickaxe, "GGG", " S ", " S ", 'S', Items.STICK, 'G', material);
|
||||
registerShaped(axe, "GG", "GS", " S", 'S', Items.STICK, 'G', material);
|
||||
registerShaped(hoe, "GG", " S", " S", 'S', Items.STICK, 'G', material);
|
||||
registerShaped(spade, "G", "S", "S", 'S', Items.STICK, 'G', material);
|
||||
registerShaped(helmet, "GGG", "G G", 'G', material);
|
||||
registerShaped(chestplate, "G G", "GGG", "GGG", 'G', material);
|
||||
registerShaped(leggings, "GGG", "G G", "G G", 'G', material);
|
||||
registerShaped(boots, "G G", "G G", 'G', material);
|
||||
}
|
||||
|
||||
*/
|
||||
}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
" D ",
|
||||
"DCD",
|
||||
"TST"
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:diamond"
|
||||
},
|
||||
"C": {
|
||||
"item": "techreborn:advanced_circuit"
|
||||
},
|
||||
"T": {
|
||||
"item": "techreborn:titanium_ingot"
|
||||
},
|
||||
"S": {
|
||||
"item": "techreborn:basic_drill"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "techreborn:advanced_drill"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
" S ",
|
||||
"SCS",
|
||||
"SBS"
|
||||
],
|
||||
"key": {
|
||||
"S": {
|
||||
"item": "techreborn:steel_ingot"
|
||||
},
|
||||
"C": {
|
||||
"item": "techreborn:electronic_circuit"
|
||||
},
|
||||
"B": {
|
||||
"item": "techreborn:red_cell_battery"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "techreborn:basic_drill"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"BCB",
|
||||
"BPB",
|
||||
"B B"
|
||||
],
|
||||
"key": {
|
||||
"C": {
|
||||
"item": "techreborn:advanced_circuit"
|
||||
},
|
||||
"P": {
|
||||
"item": "techreborn:aluminium_plate"
|
||||
},
|
||||
"B": {
|
||||
"item": "techreborn:lithium_ion_battery"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "techreborn:lithium_ion_batpack"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
" C ",
|
||||
"PFP",
|
||||
"PFP"
|
||||
],
|
||||
"key": {
|
||||
"C": {
|
||||
"item": "techreborn:insulated_gold_cable"
|
||||
},
|
||||
"P": {
|
||||
"item": "techreborn:aluminium_plate"
|
||||
},
|
||||
"F": {
|
||||
"item": "techreborn:cell"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "techreborn:lithium_ion_battery"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DC",
|
||||
"DC",
|
||||
"GLG"
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "techreborn:diamond_plate"
|
||||
},
|
||||
"C": {
|
||||
"item": "techreborn:carbon_plate"
|
||||
},
|
||||
"G": {
|
||||
"item": "techreborn:glowstone_small_dust"
|
||||
},
|
||||
"L": {
|
||||
"item": "techreborn:lapotron_crystal"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "techreborn:nanosaber"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DT",
|
||||
"DT",
|
||||
"DCB"
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "techreborn:diamond_dust"
|
||||
},
|
||||
"T": {
|
||||
"item": "techreborn:titanium_ingot"
|
||||
},
|
||||
"C": {
|
||||
"item": "techreborn:electronic_circuit"
|
||||
},
|
||||
"B": {
|
||||
"item": "techreborn:red_cell_battery"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "techreborn:rock_cutter"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"III",
|
||||
"III",
|
||||
"III"
|
||||
],
|
||||
"key": {
|
||||
"I": {
|
||||
"item": "techreborn:scrap"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "techreborn:scrap_box"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "techreborn:electronic_circuit"
|
||||
},
|
||||
{
|
||||
"item": "techreborn:insulated_gold_cable"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"item": "techreborn:frequency_transmitter"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue