package common; import blocks.blessed.BlessedRock; import blocks.blessed.BlessedWood; import blocks.tainted.TaintedRock; import blocks.tainted.TaintedWood; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; import divine_equipment.Divine_Equipment; import items.HiddenSigil; import items.blessed.*; import items.tainted.*; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.item.EnumToolMaterial; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.common.EnumHelper; /** * User: Orthus * Date: 10/3/13 */ public class Divine_Content { public static String modid = Divine_Equipment.modid; int TaintedStoneID = Divine_Equipment.TaintedStoneID; int TaintedWoodID = Divine_Equipment.TaintedWoodID; int BlesssedStoneID = Divine_Equipment.BlesssedStoneID; int BlessedWoodID = Divine_Equipment.BlessedWoodID; int BlankSigilID = Divine_Equipment.BlankSigilID; int TaintedSigilID = Divine_Equipment.TaintedSigilID; int BlessedSigilID = Divine_Equipment.BlessedSigilID; int EnderSigilID = Divine_Equipment.EnderSigilID; int HiddenSigilID = Divine_Equipment.HiddenSigilID; int TaintedDiamondSwordID = Divine_Equipment.TaintedDiamondSwordID; int TaintedGoldSwordID = Divine_Equipment.TaintedGoldSwordID; int TaintedIronSwordID = Divine_Equipment.TaintedIronSwordID; int TaintedStoneSwordID = Divine_Equipment.TaintedStoneSwordID; int TaintedWoodSwordID = Divine_Equipment.TaintedWoodSwordID; int TaintedDiamondPickaxeID = Divine_Equipment.TaintedDiamondPickaxeID; int TaintedGoldPickaxeID = Divine_Equipment.TaintedGoldPickaxeID; int TaintedIronPickaxeID = Divine_Equipment.TaintedIronPickaxeID; int TaintedStonePickaxeID = Divine_Equipment.TaintedStonePickaxeID; int TaintedWoodPickaxeID = Divine_Equipment.TaintedWoodPickaxeID; int TaintedDiamondAxeID = Divine_Equipment.TaintedDiamondAxeID; int TaintedGoldAxeID = Divine_Equipment.TaintedGoldAxeID; int TaintedIronAxeID = Divine_Equipment.TaintedIronAxeID; int TaintedStoneAxeID = Divine_Equipment.TaintedStoneAxeID; int TaintedWoodAxeID = Divine_Equipment.TaintedWoodAxeID; int TaintedDiamondShovelID = Divine_Equipment.TaintedDiamondShovelID; int TaintedGoldShovelID = Divine_Equipment.TaintedGoldShovelID; int TaintedIronShovelID = Divine_Equipment.TaintedIronShovelID; int TaintedStoneShovelID = Divine_Equipment.TaintedStoneShovelID; int TaintedWoodShovelID = Divine_Equipment.TaintedWoodShovelID; int TaintedDiamondHoeID = Divine_Equipment.TaintedDiamondHoeID; int TaintedGoldHoeID = Divine_Equipment.TaintedGoldHoeID; int TaintedIronHoeID = Divine_Equipment.TaintedIronHoeID; int TaintedStoneHoeID = Divine_Equipment.TaintedStoneHoeID; int TaintedWoodHoeID = Divine_Equipment.TaintedWoodHoeID; int BlessedDiamondSwordID = Divine_Equipment.BlessedDiamondSwordID; int BlessedGoldSwordID = Divine_Equipment.BlessedGoldSwordID; int BlessedIronSwordID = Divine_Equipment.BlessedIronSwordID; int BlessedStoneSwordID = Divine_Equipment.BlessedStoneSwordID; int BlessedWoodSwordID = Divine_Equipment.BlessedWoodSwordID; int BlessedDiamondPickaxeID = Divine_Equipment.BlessedDiamondPickaxeID; int BlessedGoldPickaxeID = Divine_Equipment.BlessedGoldPickaxeID; int BlessedIronPickaxeID = Divine_Equipment.BlessedIronPickaxeID; int BlessedStonePickaxeID = Divine_Equipment.BlessedStonePickaxeID; int BlessedWoodPickaxeID = Divine_Equipment.BlessedWoodPickaxeID; int BlessedDiamondAxeID = Divine_Equipment.BlessedDiamondAxeID; int BlessedGoldAxeID = Divine_Equipment.BlessedGoldAxeID; int BlessedIronAxeID = Divine_Equipment.BlessedIronAxeID; int BlessedStoneAxeID = Divine_Equipment.BlessedStoneAxeID; int BlessedWoodAxeID = Divine_Equipment.BlessedWoodAxeID; int BlessedDiamondShovelID = Divine_Equipment.BlessedDiamondShovelID; int BlessedGoldShovelID = Divine_Equipment.BlessedGoldShovelID; int BlessedIronShovelID = Divine_Equipment.BlessedIronShovelID; int BlessedStoneShovelID = Divine_Equipment.BlessedStoneShovelID; int BlessedWoodShovelID = Divine_Equipment.BlessedWoodShovelID; int BlessedDiamondHoeID = Divine_Equipment.BlessedDiamondHoeID; int BlessedGoldHoeID = Divine_Equipment.BlessedGoldHoeID; int BlessedIronHoeID = Divine_Equipment.BlessedIronHoeID; int BlessedStoneHoeID = Divine_Equipment.BlessedStoneHoeID; int BlessedWoodHoeID = Divine_Equipment.BlessedWoodHoeID; int EnderSwordID = Divine_Equipment.EnderSwordID; //Blessed Blocks public static Block blessedstone; public static Block blessedwood; // Tainted Blocks public static Block taintedstone; public static Block taintedwood; // Sigils public static Item BlankSigil; public static Item BlessedSigil; public static Item TaintedSigil; public static Item EnderSigil; public static Item HiddenSigil; // Alters public static Block BlessedAlter; public static Block TaintedAlter; public static Block EnderAlter; public static Block HiddenAlter; // Tainted Sword public static Item TaintedDiamondSword; public static Item TaintedGoldSword; public static Item TaintedIronSword; public static Item TaintedStoneSword; public static Item TaintedWoodSword; // Tainted Pickaxes public static Item TaintedDiamondPickaxe; public static Item TaintedGoldPickaxe; public static Item TaintedIronPickaxe; public static Item TaintedStonePickaxe; public static Item TaintedWoodPickaxe; // Tainted Axes public static Item TaintedDiamondAxe; public static Item TaintedGoldAxe; public static Item TaintedIronAxe; public static Item TaintedStoneAxe; public static Item TaintedWoodAxe; // Tainted Shovel public static Item TaintedDiamondShovel; public static Item TaintedGoldShovel; public static Item TaintedIronShovel; public static Item TaintedStoneShovel; public static Item TaintedWoodShovel; // Tainted Hoes public static Item TaintedDiamondHoe; public static Item TaintedGoldHoe; public static Item TaintedIronHoe; public static Item TaintedStoneHoe; public static Item TaintedWoodHoe; // Blessed Swords public static Item BlessedDiamondSword; public static Item BlessedGoldSword; public static Item BlessedIronSword; public static Item BlessedStoneSword; public static Item BlessedWoodSword; // Blessed Pickaxes public static Item BlessedDiamondPickaxe; public static Item BlessedGoldPickaxe; public static Item BlessedIronPickaxe; public static Item BlessedStonePickaxe; public static Item BlessedWoodPickaxe; // Blessed Axe public static Item BlessedDiamondAxe; public static Item BlessedGoldAxe; public static Item BlessedIronAxe; public static Item BlessedStoneAxe; public static Item BlessedWoodAxe; // Blessed Shovel public static Item BlessedDiamondShovel; public static Item BlessedGoldShovel; public static Item BlessedIronShovel; public static Item BlessedStoneShovel; public static Item BlessedWoodShovel; // Blessed Hoes public static Item BlessedDiamondHoe; public static Item BlessedGoldHoe; public static Item BlessedIronHoe; public static Item BlessedStoneHoe; public static Item BlessedWoodHoe; // Ender public static Item EnderSword; // Hidden // Init All Tainted materials EnumToolMaterial TaintedDiamondTool; EnumToolMaterial TaintedGoldTool; EnumToolMaterial TaintedIronTool; EnumToolMaterial TaintedStoneTool; EnumToolMaterial TaintedWoodTool; // Init All Blessed materials EnumToolMaterial BlessedDiamondTool; EnumToolMaterial BlessedGoldTool; EnumToolMaterial BlessedIronTool; EnumToolMaterial BlessedStoneTool; EnumToolMaterial BlessedWoodTool; public Divine_Content() { registerBlocks(); registerMaterials(); } public void registerBlocks() { // Blessed Blocks blessedstone = new BlessedRock(BlesssedStoneID, Material.rock).setUnlocalizedName("Blessed Stone").setTextureName("divine_equipment:BlessedStone"); GameRegistry.registerBlock(blessedstone, modid+ blessedstone.getUnlocalizedName().substring(5)); LanguageRegistry.addName(blessedstone, "Blessed Stone"); blessedwood = new BlessedWood(BlessedWoodID, Material.wood).setUnlocalizedName("Blessed Wood").setTextureName("divine_equipment:BlessedWood"); GameRegistry.registerBlock(blessedwood, modid+ blessedwood.getUnlocalizedName().substring(5)); LanguageRegistry.addName(blessedwood, "Blessed Wood"); // Tainted Blocks taintedstone = new TaintedRock(TaintedStoneID, Material.rock).setUnlocalizedName("Tainted Stone").setTextureName("divine_equipment:TaintedStone"); GameRegistry.registerBlock(taintedstone, modid+ taintedstone.getUnlocalizedName().substring(5)); LanguageRegistry.addName(taintedstone, "Tainted Stone"); taintedwood = new TaintedWood(TaintedWoodID, Material.wood).setUnlocalizedName("Tainted Wood").setTextureName("divine_equipment:TaintedWood"); GameRegistry.registerBlock(taintedwood, modid+ taintedwood.getUnlocalizedName().substring(5)); LanguageRegistry.addName(taintedwood, "Tainted Wood"); } void registerMaterials() { // Tainted Tool Material Properties (Subject to Change) // Name, Harvest Level, Uses, Dig Speed, Damage, Enchantablity /* Default Values WOOD(0, 59, 2.0F, 0, 15), STONE(1, 131, 4.0F, 1, 5), IRON(2, 250, 6.0F, 2, 14), EMERALD(3, 1561, 8.0F, 3, 10), GOLD(0, 32, 12.0F, 0, 22); */ TaintedDiamondTool = EnumHelper.addToolMaterial("Tainted Diamond", 3, 1003, 8.0F, 4, 15); TaintedGoldTool = EnumHelper.addToolMaterial("Tainted Gold", 2, 20, 12.0F, 1, 27); TaintedIronTool = EnumHelper.addToolMaterial("Tainted Iron", 2, 58, 8.0F, 3, 19); TaintedStoneTool = EnumHelper.addToolMaterial("Tainted Stone", 1, 88, 4.0F, 2, 10 ); TaintedWoodTool = EnumHelper.addToolMaterial("Tainted Wood", 0, 40, 2.0F, 1, 20); // Blessed tool Material Properties (Subject to Change) BlessedDiamondTool = EnumHelper.addToolMaterial("Blessed Diamond", 3, 2850, 10.0F, 3, 22); BlessedGoldTool = EnumHelper.addToolMaterial("Blessed Gold", 2, 32, 14.00F, 0, 22); BlessedIronTool = EnumHelper.addToolMaterial("Blessed Iron", 2, 250, 8.0F, 2, 14); BlessedStoneTool = EnumHelper.addToolMaterial("Blessed Stone", 1, 131, 6.0F, 1, 5); BlessedWoodTool = EnumHelper.addToolMaterial("Blessed Wood", 0, 59, 4.0F, 0, 15); // Ender Materials //Telling forge that we are creating stuff // Sigils BlankSigil = new items.BlankSigil(BlankSigilID).setUnlocalizedName("Blank_Sigil").setTextureName("divine_equipment:Blank_Sigil"); LanguageRegistry.addName(BlankSigil, "Blank Sigil"); GameRegistry.addRecipe(new ItemStack(BlankSigil), " s ", "sgs", " s ", 's', Block.stone, 'g', Item.gunpowder); TaintedSigil = new items.tainted.TaintedSigil(TaintedSigilID).setUnlocalizedName("Tainted_Sigil").setTextureName("divine_equipment:Tainted_Sigil"); LanguageRegistry.addName(TaintedSigil, "Tainted Sigil"); GameRegistry.addRecipe(new ItemStack(TaintedSigil), "rrr", "rbr", "rrr", 'b', BlankSigil , 'r', Item.blazeRod); BlessedSigil = new items.blessed.BlessedSigil(BlessedSigilID).setUnlocalizedName("Blessed_Sigil").setTextureName("divine_equipment:Blessed_Sigil"); LanguageRegistry.addName(BlessedSigil, "Blessed Sigil"); GameRegistry.addRecipe(new ItemStack(BlessedSigil), "ggg", "gbg", "ggg", 'b', BlankSigil, 'g', Item.ingotGold); EnderSigil = new items.ender.EnderSigil(EnderSigilID).setUnlocalizedName("Ender_Sigil").setTextureName("divine_equipment:Ender_Sigil"); LanguageRegistry.addName(EnderSigil, "Ender Sigil"); GameRegistry.addRecipe(new ItemStack(EnderSigil), "eee", "ebe", "eee", 'b', BlankSigil , 'e', Item.eyeOfEnder); HiddenSigil = new HiddenSigil(HiddenSigilID).setUnlocalizedName("Hidden_Sigil").setTextureName("divine_equipment:Hidden_Sigil"); LanguageRegistry.addName(HiddenSigil, "Hidden Sigil"); GameRegistry.addRecipe(new ItemStack(HiddenSigil), "beb", "ene", "tet", 'b', BlessedSigil, 'n', Item.netherStar, 'e', EnderSigil, 't', TaintedSigil ); // Tainted Items // Tainted Swords TaintedDiamondSword = new items.tainted.TaintedDiamondSword(TaintedDiamondSwordID, TaintedDiamondTool).setUnlocalizedName("Tainted_Sword_Diamond").setTextureName("divine_equipment:Tainted_Sword_Diamond"); LanguageRegistry.addName(TaintedDiamondSword, "Tainted Diamond Sword"); GameRegistry.addRecipe(new ItemStack(TaintedDiamondSword), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick); TaintedGoldSword = new items.tainted.TaintedGoldSword(TaintedGoldSwordID, TaintedGoldTool).setUnlocalizedName("Tainted_Sword_Gold").setTextureName("divine_equipment:Tainted_Sword_Gold"); LanguageRegistry.addName(TaintedGoldSword, "Tainted Gold Sword"); GameRegistry.addRecipe(new ItemStack(TaintedGoldSword), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick); TaintedIronSword = new TaintedIronSword(TaintedIronSwordID, TaintedIronTool).setUnlocalizedName("Tainted_Sword_Iron").setTextureName("divine_equipment:Tainted_Sword_Iron"); LanguageRegistry.addName(TaintedIronSword, "Tainted Iron Sword"); GameRegistry.addRecipe(new ItemStack(TaintedIronSword), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Item.ingotIron, 's', Item.stick); TaintedStoneSword = new TaintedStoneSword(TaintedStoneSwordID, TaintedStoneTool).setUnlocalizedName("Tainted_Sword_Stone").setTextureName("divine_equipment:Tainted_Sword_Stone"); LanguageRegistry.addName(TaintedStoneSword, "Tainted Stone Sword"); GameRegistry.addRecipe(new ItemStack(TaintedStoneSword), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick); TaintedWoodSword = new TaintedWoodSword(TaintedWoodSwordID, TaintedWoodTool).setUnlocalizedName("Tainted_Sword_Wood").setTextureName("divine_equipment:Tainted_Sword_Wood"); LanguageRegistry.addName(TaintedWoodSword, "Tainted Wooden Sword"); GameRegistry.addRecipe(new ItemStack(TaintedWoodSword), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick); // Pickaxes TaintedDiamondPickaxe = new items.tainted.TaintedDiamondPickaxe(TaintedDiamondPickaxeID, TaintedDiamondTool).setUnlocalizedName("Tainted_Pickaxe_Diamond").setTextureName("divine_equipment:Tainted_Pickaxe_Diamond"); LanguageRegistry.addName(TaintedDiamondPickaxe, "Tainted Diamond Pickaxe"); GameRegistry.addRecipe(new ItemStack(TaintedDiamondPickaxe), "mSm", " s ", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick); TaintedGoldPickaxe = new items.tainted.TaintedGoldPickaxe(TaintedGoldPickaxeID, TaintedGoldTool).setUnlocalizedName("Tainted_Pickaxe_Gold").setTextureName("divine_equipment:Tainted_Pickaxe_Gold"); LanguageRegistry.addName(TaintedGoldPickaxe, "Tainted Gold Pickaxe"); GameRegistry.addRecipe(new ItemStack(TaintedGoldPickaxe), "mSm", " s ", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick); TaintedIronPickaxe = new items.tainted.TaintedIronPickaxe(TaintedIronPickaxeID, TaintedIronTool).setUnlocalizedName("Tainted_Pickaxe_Iron").setTextureName("divine_equipment:Tainted_Pickaxe_Iron"); LanguageRegistry.addName(TaintedIronPickaxe, "Tainted Iron Pickaxe"); GameRegistry.addRecipe(new ItemStack(TaintedIronPickaxe), "mSm", " s ", " s ", 'S', TaintedSigil, 'm', Item.ingotIron, 's', Item.stick); TaintedStonePickaxe = new TaintedStonePickaxe(TaintedStonePickaxeID, TaintedStoneTool).setUnlocalizedName("Tainted_Pickaxe_Stone").setTextureName("divine_equipment:Tainted_Pickaxe_Stone"); LanguageRegistry.addName(TaintedStonePickaxe, "Tainted Stone Pickaxe"); GameRegistry.addRecipe(new ItemStack(TaintedStonePickaxe), "mSm", " s ", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick); TaintedWoodPickaxe = new TaintedWoodPickaxe(TaintedWoodPickaxeID, TaintedWoodTool).setUnlocalizedName("Tainted_Pickaxe_Wood").setTextureName("divine_equipment:Tainted_Pickaxe_Wood"); LanguageRegistry.addName(TaintedWoodPickaxe, "Tainted Wooden Pickaxe"); GameRegistry.addRecipe(new ItemStack(TaintedWoodPickaxe), "mSm", " s ", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick); // Axes TaintedDiamondAxe = new items.tainted.TaintedDiamondAxe(TaintedDiamondAxeID, TaintedDiamondTool).setUnlocalizedName("Tainted_Axe_Diamond").setTextureName("divine_equipment:Tainted_Axe_Diamond"); LanguageRegistry.addName(TaintedDiamondAxe, "Tainted Diamond Axe"); GameRegistry.addRecipe(new ItemStack(TaintedDiamondAxe), "mS ", "ms ", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(TaintedDiamondAxe), " Sm", " sm", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick); TaintedGoldAxe = new items.tainted.TaintedGoldAxe(TaintedGoldAxeID, TaintedGoldTool).setUnlocalizedName("Tainted_Axe_Gold").setTextureName("divine_equipment:Tainted_Axe_Gold"); LanguageRegistry.addName(TaintedGoldAxe, "Tainted Gold Axe"); GameRegistry.addRecipe(new ItemStack(TaintedGoldAxe), "mS ", "ms ", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick); TaintedIronAxe = new items.tainted.TaintedIronAxe(TaintedIronAxeID, TaintedIronTool).setUnlocalizedName("Tainted_Axe_Iron").setTextureName("divine_equipment:Tainted_Axe_Iron"); LanguageRegistry.addName(TaintedIronAxe, "Tainted Iron Axe"); GameRegistry.addRecipe(new ItemStack(TaintedIronAxe), "mS ", "ms ", " s ", 'S', TaintedSigil, 'm', Item.ingotIron, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(TaintedGoldAxe), " Sm", " sm", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick); TaintedStoneAxe = new TaintedStoneAxe(TaintedStoneAxeID, TaintedStoneTool).setUnlocalizedName("Tainted_Axe_Stone").setTextureName("divine_equipment:Tainted_Axe_Stone"); LanguageRegistry.addName(TaintedStoneAxe, "Tainted Stone Axe"); GameRegistry.addRecipe(new ItemStack(TaintedStoneAxe), "mS ", "ms ", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(TaintedStoneAxe), " Sm", " sm", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick); TaintedWoodAxe = new TaintedWoodAxe(TaintedWoodAxeID, TaintedWoodTool).setUnlocalizedName("Tainted_Axe_Wood").setTextureName("divine_equipment:Tainted_Axe_Wood"); LanguageRegistry.addName(TaintedWoodAxe, "Tainted Wooden Axe"); GameRegistry.addRecipe(new ItemStack(TaintedWoodAxe), "mS ", "ms ", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(TaintedWoodAxe), " Sm", " sm", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick); // Shovels TaintedDiamondShovel = new items.tainted.TaintedDiamondShovel(TaintedDiamondShovelID, TaintedDiamondTool).setUnlocalizedName("Tainted_Shovel_Diamond").setTextureName("divine_equipment:Tainted_Shovel_Diamond"); LanguageRegistry.addName(TaintedDiamondShovel, "Tainted Diamond Shovel"); GameRegistry.addRecipe(new ItemStack(TaintedDiamondShovel), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick); TaintedGoldShovel = new items.tainted.TaintedGoldShovel(TaintedGoldShovelID, TaintedGoldTool).setUnlocalizedName("Tainted_Shovel_Gold").setTextureName("divine_equipment:Tainted_Shovel_Gold"); LanguageRegistry.addName(TaintedGoldShovel, "Tainted Gold Shovel"); GameRegistry.addRecipe(new ItemStack(TaintedGoldShovel), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick); TaintedIronShovel = new items.tainted.TaintedIronShovel(TaintedIronShovelID, TaintedIronTool).setUnlocalizedName("Tainted_Shovel_Iron").setTextureName("divine_equipment:Tainted_Shovel_Iron"); LanguageRegistry.addName(TaintedIronShovel, "Tainted Iron Shovel"); GameRegistry.addRecipe(new ItemStack(TaintedIronShovel), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Item.ingotIron, 's', Item.stick); TaintedStoneShovel = new TaintedStoneShovel(TaintedStoneShovelID, TaintedStoneTool).setUnlocalizedName("Tainted_Shovel_Stone").setTextureName("divine_equipment:Tainted_Shovel_Stone"); LanguageRegistry.addName(TaintedStoneShovel, "Tainted Stone Shovel"); GameRegistry.addRecipe(new ItemStack(TaintedStoneShovel), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick); TaintedWoodShovel = new TaintedWoodShovel(TaintedWoodShovelID, TaintedWoodTool).setUnlocalizedName("Tainted_Shovel_Wood").setTextureName("divine_equipment:Tainted_Shovel_Wood"); LanguageRegistry.addName(TaintedWoodShovel, "Tainted Wooden Shovel"); GameRegistry.addRecipe(new ItemStack(TaintedWoodShovel), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick); // Tainted Hoes TaintedDiamondHoe = new TaintedDiamondHoe(TaintedDiamondHoeID, TaintedDiamondTool).setUnlocalizedName("Tainted_Hoe_Diamond").setTextureName("divine_equipment:Tainted_Hoe_Diamond"); LanguageRegistry.addName(TaintedDiamondHoe, "Tainted Diamond Hoe"); GameRegistry.addRecipe(new ItemStack(TaintedDiamondHoe), "mS ", " s ", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(TaintedDiamondHoe), " Sm", " s ", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick); TaintedGoldHoe = new items.tainted.TaintedGoldHoe(TaintedGoldHoeID, TaintedGoldTool).setUnlocalizedName("Tainted_Hoe_Gold").setTextureName("divine_equipment:Tainted_Hoe_Gold"); LanguageRegistry.addName(TaintedGoldHoe, "Tainted Gold Hoe"); GameRegistry.addRecipe(new ItemStack(TaintedGoldHoe), "mS ", " s ", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick); TaintedIronHoe = new items.tainted.TaintedIronHoe(TaintedIronHoeID, TaintedIronTool).setUnlocalizedName("Tainted_Hoe_Iron").setTextureName("divine_equipment:Tainted_Hoe_Iron"); LanguageRegistry.addName(TaintedIronHoe, "Tainted Iron Hoe"); GameRegistry.addRecipe(new ItemStack(TaintedIronHoe), "mS ", " s ", " s ", 'S', TaintedSigil, 'm', Item.ingotIron, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(TaintedGoldHoe), " Sm", " s ", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick); TaintedStoneHoe = new TaintedStoneHoe(TaintedStoneHoeID, TaintedStoneTool).setUnlocalizedName("Tainted_Hoe_Stone").setTextureName("divine_equipment:Tainted_Hoe_Stone"); LanguageRegistry.addName(TaintedStoneHoe, "Tainted Stone Hoe"); GameRegistry.addRecipe(new ItemStack(TaintedStoneHoe), "mS ", " s ", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(TaintedStoneHoe), " Sm", " s ", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick); TaintedWoodHoe = new TaintedWoodHoe(TaintedWoodHoeID, TaintedWoodTool).setUnlocalizedName("Tainted_Hoe_Wood").setTextureName("divine_equipment:Tainted_Hoe_Wood"); LanguageRegistry.addName(TaintedWoodHoe, "Tainted Wooden Hoe"); GameRegistry.addRecipe(new ItemStack(TaintedWoodHoe), "mS ", " s ", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(TaintedWoodHoe), " Sm", " s ", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick); // Blessed Items // Blessed Swords BlessedDiamondSword = new items.blessed.BlessedDiamondSword(BlessedDiamondSwordID, BlessedDiamondTool).setUnlocalizedName("Blessed_Sword_Diamond").setTextureName("divine_equipment:Blessed_Sword_Diamond"); LanguageRegistry.addName(BlessedDiamondSword, "Blessed Diamond Sword"); GameRegistry.addRecipe(new ItemStack(BlessedDiamondSword), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick); BlessedGoldSword = new items.blessed.BlessedGoldSword(BlessedGoldSwordID, BlessedGoldTool).setUnlocalizedName("Blessed_Sword_Gold").setTextureName("divine_equipment:Blessed_Sword_Gold"); LanguageRegistry.addName(BlessedGoldSword, "Blessed Gold Sword"); GameRegistry.addRecipe(new ItemStack(BlessedGoldSword), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick); BlessedIronSword = new BlessedIronSword(BlessedIronSwordID, BlessedIronTool).setUnlocalizedName("Blessed_Sword_Iron").setTextureName("divine_equipment:Blessed_Sword_Iron"); LanguageRegistry.addName(BlessedIronSword, "Blessed Iron Sword"); GameRegistry.addRecipe(new ItemStack(BlessedIronSword), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Item.ingotIron, 's', Item.stick); BlessedStoneSword = new BlessedStoneSword(BlessedStoneSwordID, BlessedStoneTool).setUnlocalizedName("Blessed_Sword_Stone").setTextureName("divine_equipment:Blessed_Sword_Stone"); LanguageRegistry.addName(BlessedStoneSword, "Blessed Stone Sword"); GameRegistry.addRecipe(new ItemStack(BlessedStoneSword), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick); BlessedWoodSword = new BlessedWoodSword(BlessedWoodSwordID, BlessedWoodTool).setUnlocalizedName("Blessed_Sword_Wood").setTextureName("divine_equipment:Blessed_Sword_Wood"); LanguageRegistry.addName(BlessedWoodSword, "Blessed Wooden Sword"); GameRegistry.addRecipe(new ItemStack(BlessedWoodSword), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick); // Pickaxes BlessedDiamondPickaxe = new items.blessed.BlessedDiamondPickaxe(BlessedDiamondPickaxeID, BlessedDiamondTool).setUnlocalizedName("Blessed_Pickaxe_Diamond").setTextureName("divine_equipment:Blessed_Pickaxe_Diamond"); LanguageRegistry.addName(BlessedDiamondPickaxe, "Blessed Diamond Pickaxe"); GameRegistry.addRecipe(new ItemStack(BlessedDiamondPickaxe), "mSm", " s ", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick); BlessedGoldPickaxe = new items.blessed.BlessedGoldPickaxe(BlessedGoldPickaxeID, BlessedGoldTool).setUnlocalizedName("Blessed_Pickaxe_Gold").setTextureName("divine_equipment:Blessed_Pickaxe_Gold"); LanguageRegistry.addName(BlessedGoldPickaxe, "Blessed Gold Pickaxe"); GameRegistry.addRecipe(new ItemStack(BlessedGoldPickaxe), "mSm", " s ", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick); BlessedIronPickaxe = new items.blessed.BlessedIronPickaxe(BlessedIronPickaxeID, BlessedIronTool).setUnlocalizedName("Blessed_Pickaxe_Iron").setTextureName("divine_equipment:Blessed_Pickaxe_Iron"); LanguageRegistry.addName(BlessedIronPickaxe, "Blessed Iron Pickaxe"); GameRegistry.addRecipe(new ItemStack(BlessedIronPickaxe), "mSm", " s ", " s ", 'S', BlessedSigil, 'm', Item.ingotIron, 's', Item.stick); BlessedStonePickaxe = new BlessedStonePickaxe(BlessedStonePickaxeID, BlessedStoneTool).setUnlocalizedName("Blessed_Pickaxe_Stone").setTextureName("divine_equipment:Blessed_Pickaxe_Stone"); LanguageRegistry.addName(BlessedStonePickaxe, "Blessed Stone Pickaxe"); GameRegistry.addRecipe(new ItemStack(BlessedStonePickaxe), "mSm", " s ", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick); BlessedWoodPickaxe = new BlessedWoodPickaxe(BlessedWoodPickaxeID, BlessedWoodTool).setUnlocalizedName("Blessed_Pickaxe_Wood").setTextureName("divine_equipment:Blessed_Pickaxe_Wood"); LanguageRegistry.addName(BlessedWoodPickaxe, "Blessed Wooden Pickaxe"); GameRegistry.addRecipe(new ItemStack(BlessedWoodPickaxe), "mSm", " s ", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick); // Axes BlessedDiamondAxe = new BlessedDiamondAxe(BlessedDiamondAxeID, BlessedDiamondTool).setUnlocalizedName("Blessed_Axe_Diamond").setTextureName("divine_equipment:Blessed_Axe_Diamond"); LanguageRegistry.addName(BlessedDiamondAxe, "Blessed Diamond Axe"); GameRegistry.addRecipe(new ItemStack(BlessedDiamondAxe), "mS ", "ms ", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(BlessedDiamondAxe), " Sm", " sm", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick); BlessedGoldAxe = new BlessedGoldAxe(BlessedGoldAxeID, BlessedGoldTool).setUnlocalizedName("Blessed_Axe_Gold").setTextureName("divine_equipment:Blessed_Axe_Gold"); LanguageRegistry.addName(BlessedGoldAxe, "Blessed Gold Axe"); GameRegistry.addRecipe(new ItemStack(BlessedGoldAxe), "mS ", "ms ", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(BlessedGoldAxe), " Sm", " sm", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick); BlessedIronAxe = new BlessedIronAxe(BlessedIronAxeID, BlessedIronTool).setUnlocalizedName("Blessed_Axe_Iron").setTextureName("divine_equipment:Blessed_Axe_Iron"); LanguageRegistry.addName(BlessedIronAxe, "Blessed Iron Axe"); GameRegistry.addRecipe(new ItemStack(BlessedIronAxe), "mS ", "ms ", " s ", 'S', BlessedSigil, 'm', Item.ingotIron, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(BlessedGoldAxe), " Sm", " sm", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick); BlessedStoneAxe = new BlessedStoneAxe(BlessedStoneAxeID, BlessedStoneTool).setUnlocalizedName("Blessed_Axe_Stone").setTextureName("divine_equipment:Blessed_Axe_Stone"); LanguageRegistry.addName(BlessedStoneAxe, "Blessed Stone Axe"); GameRegistry.addRecipe(new ItemStack(BlessedStoneAxe), "mS ", "ms ", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(BlessedStoneAxe), " Sm", " sm", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick); BlessedWoodAxe = new BlessedWoodAxe(BlessedWoodAxeID, BlessedWoodTool).setUnlocalizedName("Blessed_Axe_Wood").setTextureName("divine_equipment:Blessed_Axe_Wood"); LanguageRegistry.addName(BlessedWoodAxe, "Blessed Wooden Axe"); GameRegistry.addRecipe(new ItemStack(BlessedWoodAxe), "mS ", "ms ", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(BlessedWoodAxe), " Sm", " sm", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick); // Shovels BlessedDiamondShovel = new BlessedDiamondShovel(BlessedDiamondShovelID, BlessedDiamondTool).setUnlocalizedName("Blessed_Shovel_Diamond").setTextureName("divine_equipment:Blessed_Shovel_Diamond"); LanguageRegistry.addName(BlessedDiamondShovel, "Blessed Diamond Shovel"); GameRegistry.addRecipe(new ItemStack(BlessedDiamondShovel), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick); BlessedGoldShovel = new BlessedGoldShovel(BlessedGoldShovelID, BlessedGoldTool).setUnlocalizedName("Blessed_Shovel_Gold").setTextureName("divine_equipment:Blessed_Shovel_Gold"); LanguageRegistry.addName(BlessedGoldShovel, "Blessed Gold Shovel"); GameRegistry.addRecipe(new ItemStack(BlessedGoldShovel), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick); BlessedIronShovel = new BlessedIronShovel(BlessedIronShovelID, BlessedIronTool).setUnlocalizedName("Blessed_Shovel_Iron").setTextureName("divine_equipment:Blessed_Shovel_Iron"); LanguageRegistry.addName(BlessedIronShovel, "Blessed Iron Shovel"); GameRegistry.addRecipe(new ItemStack(BlessedIronShovel), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Item.ingotIron, 's', Item.stick); BlessedStoneShovel = new BlessedStoneShovel(BlessedStoneShovelID, BlessedStoneTool).setUnlocalizedName("Blessed_Shovel_Stone").setTextureName("divine_equipment:Blessed_Shovel_Stone"); LanguageRegistry.addName(BlessedStoneShovel, "Blessed Stone Shovel"); GameRegistry.addRecipe(new ItemStack(BlessedStoneShovel), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick); BlessedWoodShovel = new BlessedWoodShovel(BlessedWoodShovelID, BlessedWoodTool).setUnlocalizedName("Blessed_Shovel_Wood").setTextureName("divine_equipment:Blessed_Shovel_Wood"); LanguageRegistry.addName(BlessedWoodShovel, "Blessed Wooden Shovel"); GameRegistry.addRecipe(new ItemStack(BlessedWoodShovel), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick); // Blessed Hoes BlessedDiamondHoe = new BlessedDiamondHoe(BlessedDiamondHoeID, BlessedDiamondTool).setUnlocalizedName("Blessed_Hoe_Diamond").setTextureName("divine_equipment:Blessed_Hoe_Diamond"); LanguageRegistry.addName(BlessedDiamondHoe, "Blessed Diamond Hoe"); GameRegistry.addRecipe(new ItemStack(BlessedDiamondHoe), "mS ", " s ", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(BlessedDiamondHoe), " Sm", " s ", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick); BlessedGoldHoe = new BlessedGoldHoe(BlessedGoldHoeID, BlessedGoldTool).setUnlocalizedName("Blessed_Hoe_Gold").setTextureName("divine_equipment:Blessed_Hoe_Gold"); LanguageRegistry.addName(BlessedGoldHoe, "Blessed Gold Hoe"); GameRegistry.addRecipe(new ItemStack(BlessedGoldHoe), "mS ", " s ", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick); BlessedIronHoe = new BlessedIronHoe(BlessedIronHoeID, BlessedIronTool).setUnlocalizedName("Blessed_Hoe_Iron").setTextureName("divine_equipment:Blessed_Hoe_Iron"); LanguageRegistry.addName(BlessedIronHoe, "Blessed Iron Hoe"); GameRegistry.addRecipe(new ItemStack(BlessedIronHoe), "mS ", " s ", " s ", 'S', BlessedSigil, 'm', Item.ingotIron, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(BlessedGoldHoe), " Sm", " s ", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick); BlessedStoneHoe = new BlessedStoneHoe(BlessedStoneHoeID, BlessedStoneTool).setUnlocalizedName("Blessed_Hoe_Stone").setTextureName("divine_equipment:Blessed_Hoe_Stone"); LanguageRegistry.addName(BlessedStoneHoe, "Blessed Stone Hoe"); GameRegistry.addRecipe(new ItemStack(BlessedStoneHoe), "mS ", " s ", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(BlessedStoneHoe), " Sm", " s ", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick); BlessedWoodHoe = new BlessedWoodHoe(BlessedWoodHoeID, BlessedWoodTool).setUnlocalizedName("Blessed_Hoe_Wood").setTextureName("divine_equipment:Blessed_Hoe_Wood"); LanguageRegistry.addName(BlessedWoodHoe, "Blessed Wooden Hoe"); GameRegistry.addRecipe(new ItemStack(BlessedWoodHoe), "mS ", " s ", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick); GameRegistry.addRecipe(new ItemStack(BlessedWoodHoe), " Sm", " s ", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick); // Ender Items EnderSword = new items.ender.EnderSword(EnderSwordID, EnumToolMaterial.EMERALD).setUnlocalizedName("Ender_Sword").setTextureName("divine_equipment:EnderSword"); LanguageRegistry.addName(EnderSword, "Ender Sword"); GameRegistry.addRecipe(new ItemStack(EnderSword), " s ", " s ", " S ", 's', EnderSigil, 'S', Item.stick); } }