Gem armor and tools

This commit is contained in:
drcrazy 2019-07-17 16:24:37 +03:00
parent 9db0e068e1
commit d9cbbfa0fc
43 changed files with 737 additions and 21 deletions

View file

@ -47,8 +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);
@ -67,19 +65,10 @@ public class CraftingTableRecipes extends RecipeMethods {
// 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.ENERGY_CRYSTAL), "RRR", "RDR", "RRR", 'R', "dustRedstone", 'D', "gemDiamond");
registerShaped(getStack(TRContent.LAPOTRON_CRYSTAL), "LCL", "LEL", "LCL", 'L', "dyeBlue", 'E', "energyCrystal", 'C', "circuitBasic");
registerShaped(getStack(TRContent.LAPOTRONIC_ORB), "LLL", "LPL", "LLL", 'L', "lapotronCrystal", 'P', "plateIridiumAlloy");
registerShaped(getStack(TRContent.SCRAP_BOX), "SSS", "SSS", "SSS", 'S', TRContent.Parts.SCRAP.getStack());
//registerShapeless(getStack(TRContent.FREQUENCY_TRANSMITTER), EnumCableType.ICOPPER.getStack(), "circuitBasic");
if (ConfigTechReborn.enableGemArmorAndTools) {
addToolAndArmourRecipes(getStack(TRContent.RUBY_SWORD), getStack(TRContent.RUBY_PICKAXE), getStack(TRContent.RUBY_AXE), getStack(TRContent.RUBY_HOE), getStack(TRContent.RUBY_SPADE), getStack(TRContent.RUBY_HELMET), getStack(TRContent.RUBY_CHESTPLATE), getStack(TRContent.RUBY_LEGGINGS), getStack(TRContent.RUBY_BOOTS), "gemRuby");
addToolAndArmourRecipes(getStack(TRContent.SAPPHIRE_SWORD), getStack(TRContent.SAPPHIRE_PICKAXE), getStack(TRContent.SAPPHIRE_AXE), getStack(TRContent.SAPPHIRE_HOE), getStack(TRContent.SAPPHIRE_SPADE), getStack(TRContent.SAPPHIRE_HELMET), getStack(TRContent.SAPPHIRE_CHESTPLATE), getStack(TRContent.SAPPHIRE_LEGGINGS), getStack(TRContent.SAPPHIRE_BOOTS), "gemSapphire");
addToolAndArmourRecipes(getStack(TRContent.PERIDOT_SWORD), getStack(TRContent.PERIDOT_PICKAXE), getStack(TRContent.PERIDOT_AXE), getStack(TRContent.PERIDOT_HOE), getStack(TRContent.PERIDOT_SPADE), getStack(TRContent.PERIDOT_HELMET), getStack(TRContent.PERIDOT_CHESTPLATE), getStack(TRContent.PERIDOT_LEGGINGS), getStack(TRContent.PERIDOT_BOOTS), "gemPeridot");
addToolAndArmourRecipes(getStack(TRContent.BRONZE_SWORD), getStack(TRContent.BRONZE_PICKAXE), getStack(TRContent.BRONZE_AXE), getStack(TRContent.BRONZE_HOE), getStack(TRContent.BRONZE_SPADE), getStack(TRContent.BRONZE_HELMET), getStack(TRContent.BRONZE_CHESTPLATE), getStack(TRContent.BRONZE_LEGGINGS), getStack(TRContent.BRONZE_BOOTS), "ingotBronze");
}
//Upgrades
// registerShaped(ItemUpgrades.getUpgradeByName("energy_storage"), "PPP", "WBW", "PCP", 'P', "plankWood", 'W', EnumCableType.ICOPPER.getStack(), 'C', "circuitBasic", 'B', "reBattery");
// registerShaped(ItemUpgrades.getUpgradeByName("overclock"), "TTT", "WCW", 'T', TRIngredients.Parts.COOLANT_SIMPLE.getStack(), 'W', EnumCableType.ICOPPER.getStack(), 'C', "circuitBasic");
@ -202,15 +191,6 @@ public class CraftingTableRecipes extends RecipeMethods {
// registerShaped(getMaterial("electronic_circuit", Type.PART), "WWW", "SRS", "WWW", 'R', "ingotRefinedIron", 'S', Items.REDSTONE, 'W', EnumCableType.ICOPPER.getStack());
// registerShaped(getMaterial("advanced_circuit", Type.PART), "RGR", "LCL", "RGR", 'R', "dustRedstone", 'G', "dustGlowstone", 'L', "gemLapis", 'C', "circuitBasic");
// Cables
registerShapeless(getMaterial("insulatedcopper", Type.CABLE), "itemRubber", getMaterial("copper", Type.CABLE));
registerShapeless(getMaterial("insulatedgold", Type.CABLE), "itemRubber", "itemRubber", getMaterial("gold", Type.CABLE));
registerShapeless(getMaterial("insulatedhv", Type.CABLE), "itemRubber", "itemRubber", getMaterial("hv", Type.CABLE));
//UU-Matter
ItemStack uuStack = TRContent.Parts.UU_MATTER.getStack();
registerShaped(getStack(Blocks.LOG, 8), " U ", " ", " ", 'U', uuStack);

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XX",
"X#",
" #"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:bronze_axe"
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X X",
"X X"
],
"key": {
"X": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:bronze_boots"
}
}

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X X",
"XXX",
"XXX"
],
"key": {
"X": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:bronze_chestplate"
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XXX",
"X X"
],
"key": {
"X": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:bronze_helmet"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XX",
" #",
" #"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:bronze_hoe"
}
}

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XXX",
"X X",
"X X"
],
"key": {
"X": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:bronze_leggings"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XXX",
" # ",
" # "
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:bronze_pickaxe"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X",
"#",
"#"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:bronze_spade"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X",
"X",
"#"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:bronze_ingot"
}
},
"result": {
"item": "techreborn:bronze_sword"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"RRR",
"RDR",
"RRR"
],
"key": {
"R": {
"item": "minecraft:redstone"
},
"D": {
"item": "minecraft:diamond"
}
},
"result": {
"item": "techreborn:energy_crystal"
}
}

View file

@ -0,0 +1,22 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"LCL",
"LEL",
"LCL"
],
"key": {
"L": {
"item": "minecraft:lapis_lazuli"
},
"C": {
"item": "techreborn:electronic_circuit"
},
"E": {
"item": "techreborn:energy_crystal"
}
},
"result": {
"item": "techreborn:lapotron_crystal"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"LLL",
"LPL",
"LLL"
],
"key": {
"L": {
"item": "techreborn:lapotron_crystal"
},
"P": {
"item": "techreborn:iridium_alloy_plate"
}
},
"result": {
"item": "techreborn:lapotronic_orb"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XX",
"X#",
" #"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:peridot_gem"
}
},
"result": {
"item": "techreborn:peridot_axe"
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X X",
"X X"
],
"key": {
"X": {
"item": "techreborn:peridot_gem"
}
},
"result": {
"item": "techreborn:peridot_boots"
}
}

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X X",
"XXX",
"XXX"
],
"key": {
"X": {
"item": "techreborn:peridot_gem"
}
},
"result": {
"item": "techreborn:peridot_chestplate"
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XXX",
"X X"
],
"key": {
"X": {
"item": "techreborn:peridot_gem"
}
},
"result": {
"item": "techreborn:peridot_helmet"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XX",
" #",
" #"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:peridot_gem"
}
},
"result": {
"item": "techreborn:peridot_hoe"
}
}

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XXX",
"X X",
"X X"
],
"key": {
"X": {
"item": "techreborn:peridot_gem"
}
},
"result": {
"item": "techreborn:peridot_leggings"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XXX",
" # ",
" # "
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:peridot_gem"
}
},
"result": {
"item": "techreborn:peridot_pickaxe"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X",
"#",
"#"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:peridot_gem"
}
},
"result": {
"item": "techreborn:peridot_spade"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X",
"X",
"#"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:peridot_gem"
}
},
"result": {
"item": "techreborn:peridot_sword"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XX",
"X#",
" #"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:ruby_gem"
}
},
"result": {
"item": "techreborn:ruby_axe"
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X X",
"X X"
],
"key": {
"X": {
"item": "techreborn:ruby_gem"
}
},
"result": {
"item": "techreborn:ruby_boots"
}
}

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X X",
"XXX",
"XXX"
],
"key": {
"X": {
"item": "techreborn:ruby_gem"
}
},
"result": {
"item": "techreborn:ruby_chestplate"
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XXX",
"X X"
],
"key": {
"X": {
"item": "techreborn:ruby_gem"
}
},
"result": {
"item": "techreborn:ruby_helmet"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XX",
" #",
" #"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:ruby_gem"
}
},
"result": {
"item": "techreborn:ruby_hoe"
}
}

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XXX",
"X X",
"X X"
],
"key": {
"X": {
"item": "techreborn:ruby_gem"
}
},
"result": {
"item": "techreborn:ruby_leggings"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XXX",
" # ",
" # "
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:ruby_gem"
}
},
"result": {
"item": "techreborn:ruby_pickaxe"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X",
"#",
"#"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:ruby_gem"
}
},
"result": {
"item": "techreborn:ruby_spade"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X",
"X",
"#"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:ruby_gem"
}
},
"result": {
"item": "techreborn:ruby_sword"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XX",
"X#",
" #"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:sapphire_gem"
}
},
"result": {
"item": "techreborn:sapphire_axe"
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X X",
"X X"
],
"key": {
"X": {
"item": "techreborn:sapphire_gem"
}
},
"result": {
"item": "techreborn:sapphire_boots"
}
}

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X X",
"XXX",
"XXX"
],
"key": {
"X": {
"item": "techreborn:sapphire_gem"
}
},
"result": {
"item": "techreborn:sapphire_chestplate"
}
}

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XXX",
"X X"
],
"key": {
"X": {
"item": "techreborn:sapphire_gem"
}
},
"result": {
"item": "techreborn:sapphire_helmet"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XX",
" #",
" #"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:sapphire_gem"
}
},
"result": {
"item": "techreborn:sapphire_hoe"
}
}

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XXX",
"X X",
"X X"
],
"key": {
"X": {
"item": "techreborn:sapphire_gem"
}
},
"result": {
"item": "techreborn:sapphire_leggings"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"XXX",
" # ",
" # "
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:sapphire_gem"
}
},
"result": {
"item": "techreborn:sapphire_pickaxe"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X",
"#",
"#"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:sapphire_gem"
}
},
"result": {
"item": "techreborn:sapphire_spade"
}
}

View file

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"X",
"X",
"#"
],
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "techreborn:sapphire_gem"
}
},
"result": {
"item": "techreborn:sapphire_sword"
}
}

View file

@ -0,0 +1,14 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "techreborn:rubber"
},
{
"item": "techreborn:copper_cable"
}
],
"result": {
"item": "techreborn:insulated_copper_cable"
}
}

View file

@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "techreborn:rubber"
},
{
"item": "techreborn:rubber"
},
{
"item": "techreborn:gold_cable"
}
],
"result": {
"item": "techreborn:insulated_gold_cable"
}
}

View file

@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "techreborn:rubber"
},
{
"item": "techreborn:rubber"
},
{
"item": "techreborn:hv_cable"
}
],
"result": {
"item": "techreborn:insulated_hv_cable"
}
}