Advertisement
0rthus

Divine_Content

Dec 2nd, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.58 KB | None | 0 0
  1. package common;
  2.  
  3. import blocks.blessed.BlessedRock;
  4. import blocks.blessed.BlessedWood;
  5. import blocks.tainted.TaintedRock;
  6. import blocks.tainted.TaintedWood;
  7. import cpw.mods.fml.common.registry.GameRegistry;
  8. import cpw.mods.fml.common.registry.LanguageRegistry;
  9. import divine_equipment.Divine_Equipment;
  10. import items.Sigil;
  11. import items.ender.EnderSword;
  12. import items.tainted.TaintedAxe;
  13. import items.blessed.*;
  14. import items.tainted.*;
  15. import net.minecraft.block.Block;
  16. import net.minecraft.block.material.Material;
  17. import net.minecraft.item.EnumToolMaterial;
  18. import net.minecraft.item.Item;
  19. import net.minecraft.item.ItemStack;
  20. import net.minecraftforge.common.EnumHelper;
  21. import common.Config;
  22.  
  23. /**
  24. * User: Orthus
  25. * Date: 10/3/13
  26. */
  27.  
  28.  
  29. public class Divine_Content {
  30.  
  31. public static String modid = Divine_Equipment.modid;
  32.  
  33. public static Config config;
  34. // Blocks
  35. public static Block blessedstone, blessedwood, taintedstone, taintedwood, BlessedAlter, TaintedAlter, EnderAlter, HiddenAlter;
  36. // Items
  37. public static Item BlankSigil, BlessedSigil, TaintedSigil, EnderSigil, HiddenSigil;
  38. public static Item TaintedDiamondSword, TaintedGoldSword, TaintedIronSword, TaintedStoneSword, TaintedWoodSword, TaintedDiamondPickaxe, TaintedGoldPickaxe, TaintedIronPickaxe, TaintedStonePickaxe, TaintedWoodPickaxe, TaintedDiamondAxe, TaintedGoldAxe, TaintedIronAxe, TaintedStoneAxe, TaintedWoodAxe, TaintedDiamondShovel, TaintedGoldShovel, TaintedIronShovel, TaintedStoneShovel, TaintedWoodShovel, TaintedDiamondHoe, TaintedGoldHoe, TaintedIronHoe, TaintedStoneHoe, TaintedWoodHoe;
  39. public static Item BlessedDiamondSword, BlessedGoldSword, BlessedIronSword, BlessedStoneSword, BlessedWoodSword, BlessedDiamondPickaxe, BlessedGoldPickaxe, BlessedIronPickaxe, BlessedStonePickaxe, BlessedWoodPickaxe, BlessedDiamondAxe, BlessedGoldAxe, BlessedIronAxe, BlessedStoneAxe, BlessedWoodAxe, BlessedDiamondShovel, BlessedGoldShovel, BlessedIronShovel, BlessedStoneShovel, BlessedWoodShovel, BlessedDiamondHoe, BlessedGoldHoe, BlessedIronHoe, BlessedStoneHoe, BlessedWoodHoe;
  40. public static Item EnderSword;
  41. // Init All materials
  42. EnumToolMaterial TaintedDiamondTool, TaintedGoldTool, TaintedIronTool, TaintedStoneTool, TaintedWoodTool, BlessedDiamondTool, BlessedGoldTool, BlessedIronTool, BlessedStoneTool, BlessedWoodTool;
  43.  
  44. public Divine_Content()
  45. {
  46. registerBlocks();
  47. registerMaterials();
  48. }
  49.  
  50. public void registerBlocks()
  51. {
  52. // Blessed Blocks
  53. blessedstone = new BlessedRock(config.BlessedStone, Material.rock).setUnlocalizedName("Blessed Stone").setTextureName("divine_equipment:BlessedStone");
  54. GameRegistry.registerBlock(blessedstone, modid+ blessedstone.getUnlocalizedName().substring(5));
  55. LanguageRegistry.addName(blessedstone, "Blessed Stone");
  56. blessedwood = new BlessedWood(config.BlessedWood, Material.wood).setUnlocalizedName("Blessed Wood").setTextureName("divine_equipment:BlessedWood");
  57. GameRegistry.registerBlock(blessedwood, modid+ blessedwood.getUnlocalizedName().substring(5));
  58. LanguageRegistry.addName(blessedwood, "Blessed Wood");
  59. // Tainted Blocks
  60. taintedstone = new TaintedRock(config.TaintedStone, Material.rock).setUnlocalizedName("Tainted Stone").setTextureName("divine_equipment:TaintedStone");
  61. GameRegistry.registerBlock(taintedstone, modid+ taintedstone.getUnlocalizedName().substring(5));
  62. LanguageRegistry.addName(taintedstone, "Tainted Stone");
  63. taintedwood = new TaintedWood(config.TaintedWood, Material.wood).setUnlocalizedName("Tainted Wood").setTextureName("divine_equipment:TaintedWood");
  64. GameRegistry.registerBlock(taintedwood, modid+ taintedwood.getUnlocalizedName().substring(5));
  65. LanguageRegistry.addName(taintedwood, "Tainted Wood");
  66. }
  67.  
  68.  
  69. public void registerMaterials()
  70. {
  71. // Tainted Tool Material Properties (Subject to Change)
  72. // Name, Harvest Level, Uses, Dig Speed, Damage, Enchantablity
  73. /*
  74. Default Values
  75. WOOD(0, 59, 2.0F, 0, 15),
  76. STONE(1, 131, 4.0F, 1, 5),
  77. IRON(2, 250, 6.0F, 2, 14),
  78. EMERALD(3, 1561, 8.0F, 3, 10),
  79. GOLD(0, 32, 12.0F, 0, 22);
  80. */
  81. TaintedDiamondTool = EnumHelper.addToolMaterial("Tainted Diamond", 3, 1003, 8.0F, 4, 15);
  82. TaintedGoldTool = EnumHelper.addToolMaterial("Tainted Gold", 2, 20, 12.0F, 1, 27);
  83. TaintedIronTool = EnumHelper.addToolMaterial("Tainted Iron", 2, 58, 8.0F, 3, 19);
  84. TaintedStoneTool = EnumHelper.addToolMaterial("Tainted Stone", 1, 88, 4.0F, 2, 10 );
  85. TaintedWoodTool = EnumHelper.addToolMaterial("Tainted Wood", 0, 40, 2.0F, 1, 20);
  86.  
  87. // Blessed tool Material Properties (Subject to Change)
  88. BlessedDiamondTool = EnumHelper.addToolMaterial("Blessed Diamond", 3, 2850, 10.0F, 3, 22);
  89. BlessedGoldTool = EnumHelper.addToolMaterial("Blessed Gold", 2, 32, 14.00F, 0, 22);
  90. BlessedIronTool = EnumHelper.addToolMaterial("Blessed Iron", 2, 250, 8.0F, 2, 14);
  91. BlessedStoneTool = EnumHelper.addToolMaterial("Blessed Stone", 1, 131, 6.0F, 1, 5);
  92. BlessedWoodTool = EnumHelper.addToolMaterial("Blessed Wood", 0, 59, 4.0F, 0, 15);
  93. }
  94. // Ender Materials
  95.  
  96. public void registerItems(){
  97. //Telling forge that we are creating stuff
  98. // Sigils
  99.  
  100. BlankSigil = new Sigil(config.BlankSigil, "Blank_Sigil", "divine_equipment:Blank_Sigil");
  101. LanguageRegistry.addName(BlankSigil, "Blank Sigil");
  102. GameRegistry.addRecipe(new ItemStack(BlankSigil), " s ", "sgs", " s ", 's', Block.stone, 'g', Item.gunpowder);
  103.  
  104. TaintedSigil = new Sigil(config.TaintedSigil, "Tainted_Sigil", "divine_equipment:Tainted_Sigil");
  105. LanguageRegistry.addName(TaintedSigil, "Tainted Sigil");
  106. GameRegistry.addRecipe(new ItemStack(TaintedSigil), "rrr", "rbr", "rrr", 'b', BlankSigil , 'r', Item.blazeRod);
  107.  
  108. BlessedSigil = new Sigil(config.BlessedSigil, "Blessed_Sigil", "divine_equipment:Blessed_Sigil");
  109. LanguageRegistry.addName(BlessedSigil, "Blessed Sigil");
  110. GameRegistry.addRecipe(new ItemStack(BlessedSigil), "ggg", "gbg", "ggg", 'b', BlankSigil, 'g', Item.ingotGold);
  111.  
  112. EnderSigil = new Sigil(config.EnderSigil, "Ender_Sigil", "divine_equipment:Ender_Sigil");
  113. LanguageRegistry.addName(EnderSigil, "Ender Sigil");
  114. GameRegistry.addRecipe(new ItemStack(EnderSigil), "eee", "ebe", "eee", 'b', BlankSigil , 'e', Item.eyeOfEnder);
  115.  
  116. HiddenSigil = new Sigil(config.HiddenSigil, "Hidden_Sigil", "Hidden_Sigil");
  117. LanguageRegistry.addName(HiddenSigil, "Hidden Sigil");
  118. GameRegistry.addRecipe(new ItemStack(HiddenSigil), "beb", "ene", "tet", 'b', BlessedSigil, 'n', Item.netherStar, 'e', EnderSigil, 't', TaintedSigil );
  119. // Tainted Items
  120. // Tainted Swords
  121. TaintedDiamondSword = new TaintedSword(config.TaintedDiamondSword, TaintedDiamondTool).setUnlocalizedName("Tainted_Sword_Diamond").setTextureName("divine_equipment:Tainted_Sword_Diamond");
  122. LanguageRegistry.addName(TaintedDiamondSword, "Tainted Diamond Sword");
  123. GameRegistry.addRecipe(new ItemStack(TaintedDiamondSword), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick);
  124.  
  125. TaintedGoldSword = new TaintedSword(config.TaintedGoldSword, TaintedGoldTool).setUnlocalizedName("Tainted_Sword_Gold").setTextureName("divine_equipment:Tainted_Sword_Gold");
  126. LanguageRegistry.addName(TaintedGoldSword, "Tainted Gold Sword");
  127. GameRegistry.addRecipe(new ItemStack(TaintedGoldSword), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick);
  128.  
  129. TaintedIronSword = new TaintedSword(config.TaintedIronSword, TaintedIronTool).setUnlocalizedName("Tainted_Sword_Iron").setTextureName("divine_equipment:Tainted_Sword_Iron");
  130. LanguageRegistry.addName(TaintedIronSword, "Tainted Iron Sword");
  131. GameRegistry.addRecipe(new ItemStack(TaintedIronSword), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Item.ingotIron, 's', Item.stick);
  132.  
  133. TaintedStoneSword = new TaintedSword(config.TaintedStoneSword, TaintedStoneTool).setUnlocalizedName("Tainted_Sword_Stone").setTextureName("divine_equipment:Tainted_Sword_Stone");
  134. LanguageRegistry.addName(TaintedStoneSword, "Tainted Stone Sword");
  135. GameRegistry.addRecipe(new ItemStack(TaintedStoneSword), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick);
  136.  
  137. TaintedWoodSword = new TaintedSword(config.TaintedWoodSword, TaintedWoodTool).setUnlocalizedName("Tainted_Sword_Wood").setTextureName("divine_equipment:Tainted_Sword_Wood");
  138. LanguageRegistry.addName(TaintedWoodSword, "Tainted Wooden Sword");
  139. GameRegistry.addRecipe(new ItemStack(TaintedWoodSword), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick);
  140.  
  141. // Pickaxes
  142.  
  143. TaintedDiamondPickaxe = new TaintedPickaxe(config.TaintedDiamondPickaxe, TaintedDiamondTool).setUnlocalizedName("Tainted_Pickaxe_Diamond").setTextureName("divine_equipment:Tainted_Pickaxe_Diamond");
  144. LanguageRegistry.addName(TaintedDiamondPickaxe, "Tainted Diamond Pickaxe");
  145. GameRegistry.addRecipe(new ItemStack(TaintedDiamondPickaxe), "mSm", " s ", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick);
  146.  
  147. TaintedGoldPickaxe = new TaintedPickaxe(config.TaintedGoldPickaxe, TaintedGoldTool).setUnlocalizedName("Tainted_Pickaxe_Gold").setTextureName("divine_equipment:Tainted_Pickaxe_Gold");
  148. LanguageRegistry.addName(TaintedGoldPickaxe, "Tainted Gold Pickaxe");
  149. GameRegistry.addRecipe(new ItemStack(TaintedGoldPickaxe), "mSm", " s ", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick);
  150.  
  151. TaintedIronPickaxe = new TaintedPickaxe(config.TaintedIronPickaxe, TaintedIronTool).setUnlocalizedName("Tainted_Pickaxe_Iron").setTextureName("divine_equipment:Tainted_Pickaxe_Iron");
  152. LanguageRegistry.addName(TaintedIronPickaxe, "Tainted Iron Pickaxe");
  153. GameRegistry.addRecipe(new ItemStack(TaintedIronPickaxe), "mSm", " s ", " s ", 'S', TaintedSigil, 'm', Item.ingotIron, 's', Item.stick);
  154.  
  155. TaintedStonePickaxe = new TaintedPickaxe(config.TaintedStonePickaxe, TaintedStoneTool).setUnlocalizedName("Tainted_Pickaxe_Stone").setTextureName("divine_equipment:Tainted_Pickaxe_Stone");
  156. LanguageRegistry.addName(TaintedStonePickaxe, "Tainted Stone Pickaxe");
  157. GameRegistry.addRecipe(new ItemStack(TaintedStonePickaxe), "mSm", " s ", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick);
  158.  
  159. TaintedWoodPickaxe = new TaintedPickaxe(config.TaintedWoodPickaxe, TaintedWoodTool).setUnlocalizedName("Tainted_Pickaxe_Wood").setTextureName("divine_equipment:Tainted_Pickaxe_Wood");
  160. LanguageRegistry.addName(TaintedWoodPickaxe, "Tainted Wooden Pickaxe");
  161. GameRegistry.addRecipe(new ItemStack(TaintedWoodPickaxe), "mSm", " s ", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick);
  162.  
  163. // Axes
  164.  
  165. TaintedDiamondAxe = new TaintedAxe(config.TaintedDiamondAxe, TaintedDiamondTool).setUnlocalizedName("Tainted_Axe_Diamond").setTextureName("divine_equipment:Tainted_Axe_Diamond");
  166. LanguageRegistry.addName(TaintedDiamondAxe, "Tainted Diamond Axe");
  167. GameRegistry.addRecipe(new ItemStack(TaintedDiamondAxe), "mS ", "ms ", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick);
  168. GameRegistry.addRecipe(new ItemStack(TaintedDiamondAxe), " Sm", " sm", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick);
  169.  
  170. TaintedGoldAxe = new TaintedAxe(config.TaintedGoldAxe, TaintedGoldTool).setUnlocalizedName("Tainted_Axe_Gold").setTextureName("divine_equipment:Tainted_Axe_Gold");
  171. LanguageRegistry.addName(TaintedGoldAxe, "Tainted Gold Axe");
  172. GameRegistry.addRecipe(new ItemStack(TaintedGoldAxe), "mS ", "ms ", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick);
  173.  
  174. TaintedIronAxe = new TaintedAxe(config.TaintedIronAxe, TaintedIronTool).setUnlocalizedName("Tainted_Axe_Iron").setTextureName("divine_equipment:Tainted_Axe_Iron");
  175. LanguageRegistry.addName(TaintedIronAxe, "Tainted Iron Axe");
  176. GameRegistry.addRecipe(new ItemStack(TaintedIronAxe), "mS ", "ms ", " s ", 'S', TaintedSigil, 'm', Item.ingotIron, 's', Item.stick);
  177. GameRegistry.addRecipe(new ItemStack(TaintedGoldAxe), " Sm", " sm", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick);
  178.  
  179. TaintedStoneAxe = new TaintedAxe(config.TaintedStoneAxe, TaintedStoneTool).setUnlocalizedName("Tainted_Axe_Stone").setTextureName("divine_equipment:Tainted_Axe_Stone");
  180. LanguageRegistry.addName(TaintedStoneAxe, "Tainted Stone Axe");
  181. GameRegistry.addRecipe(new ItemStack(TaintedStoneAxe), "mS ", "ms ", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick);
  182. GameRegistry.addRecipe(new ItemStack(TaintedStoneAxe), " Sm", " sm", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick);
  183.  
  184. TaintedWoodAxe = new TaintedAxe(config.TaintedWoodAxe, TaintedWoodTool).setUnlocalizedName("Tainted_Axe_Wood").setTextureName("divine_equipment:Tainted_Axe_Wood");
  185. LanguageRegistry.addName(TaintedWoodAxe, "Tainted Wooden Axe");
  186. GameRegistry.addRecipe(new ItemStack(TaintedWoodAxe), "mS ", "ms ", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick);
  187. GameRegistry.addRecipe(new ItemStack(TaintedWoodAxe), " Sm", " sm", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick);
  188.  
  189. // Shovels
  190.  
  191. TaintedDiamondShovel = new TaintedShovel(config.TaintedDiamondShovel, TaintedDiamondTool).setUnlocalizedName("Tainted_Shovel_Diamond").setTextureName("divine_equipment:Tainted_Shovel_Diamond");
  192. LanguageRegistry.addName(TaintedDiamondShovel, "Tainted Diamond Shovel");
  193. GameRegistry.addRecipe(new ItemStack(TaintedDiamondShovel), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick);
  194.  
  195. TaintedGoldShovel = new TaintedShovel(config.TaintedGoldShovel, TaintedGoldTool).setUnlocalizedName("Tainted_Shovel_Gold").setTextureName("divine_equipment:Tainted_Shovel_Gold");
  196. LanguageRegistry.addName(TaintedGoldShovel, "Tainted Gold Shovel");
  197. GameRegistry.addRecipe(new ItemStack(TaintedGoldShovel), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick);
  198.  
  199. TaintedIronShovel = new TaintedShovel(config.TaintedIronShovel, TaintedIronTool).setUnlocalizedName("Tainted_Shovel_Iron").setTextureName("divine_equipment:Tainted_Shovel_Iron");
  200. LanguageRegistry.addName(TaintedIronShovel, "Tainted Iron Shovel");
  201. GameRegistry.addRecipe(new ItemStack(TaintedIronShovel), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Item.ingotIron, 's', Item.stick);
  202.  
  203. TaintedStoneShovel = new TaintedShovel(config.TaintedStoneShovel, TaintedStoneTool).setUnlocalizedName("Tainted_Shovel_Stone").setTextureName("divine_equipment:Tainted_Shovel_Stone");
  204. LanguageRegistry.addName(TaintedStoneShovel, "Tainted Stone Shovel");
  205. GameRegistry.addRecipe(new ItemStack(TaintedStoneShovel), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick);
  206.  
  207. TaintedWoodShovel = new TaintedShovel(config.TaintedWoodShovel, TaintedWoodTool).setUnlocalizedName("Tainted_Shovel_Wood").setTextureName("divine_equipment:Tainted_Shovel_Wood");
  208. LanguageRegistry.addName(TaintedWoodShovel, "Tainted Wooden Shovel");
  209. GameRegistry.addRecipe(new ItemStack(TaintedWoodShovel), " m ", " S ", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick);
  210.  
  211. // Tainted Hoes
  212.  
  213. TaintedDiamondHoe = new TaintedHoe(config.TaintedDiamondHoe, TaintedDiamondTool).setUnlocalizedName("Tainted_Hoe_Diamond").setTextureName("divine_equipment:Tainted_Hoe_Diamond");
  214. LanguageRegistry.addName(TaintedDiamondHoe, "Tainted Diamond Hoe");
  215. GameRegistry.addRecipe(new ItemStack(TaintedDiamondHoe), "mS ", " s ", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick);
  216. GameRegistry.addRecipe(new ItemStack(TaintedDiamondHoe), " Sm", " s ", " s ", 'S', TaintedSigil, 'm', Item.diamond, 's', Item.stick);
  217.  
  218. TaintedGoldHoe = new TaintedHoe(config.TaintedGoldHoe, TaintedGoldTool).setUnlocalizedName("Tainted_Hoe_Gold").setTextureName("divine_equipment:Tainted_Hoe_Gold");
  219. LanguageRegistry.addName(TaintedGoldHoe, "Tainted Gold Hoe");
  220. GameRegistry.addRecipe(new ItemStack(TaintedGoldHoe), "mS ", " s ", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick);
  221.  
  222. TaintedIronHoe = new TaintedHoe(config.TaintedIronHoe, TaintedIronTool).setUnlocalizedName("Tainted_Hoe_Iron").setTextureName("divine_equipment:Tainted_Hoe_Iron");
  223. LanguageRegistry.addName(TaintedIronHoe, "Tainted Iron Hoe");
  224. GameRegistry.addRecipe(new ItemStack(TaintedIronHoe), "mS ", " s ", " s ", 'S', TaintedSigil, 'm', Item.ingotIron, 's', Item.stick);
  225. GameRegistry.addRecipe(new ItemStack(TaintedGoldHoe), " Sm", " s ", " s ", 'S', TaintedSigil, 'm', Item.ingotGold, 's', Item.stick);
  226.  
  227. TaintedStoneHoe = new TaintedHoe(config.TaintedStoneHoe, TaintedStoneTool).setUnlocalizedName("Tainted_Hoe_Stone").setTextureName("divine_equipment:Tainted_Hoe_Stone");
  228. LanguageRegistry.addName(TaintedStoneHoe, "Tainted Stone Hoe");
  229. GameRegistry.addRecipe(new ItemStack(TaintedStoneHoe), "mS ", " s ", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick);
  230. GameRegistry.addRecipe(new ItemStack(TaintedStoneHoe), " Sm", " s ", " s ", 'S', TaintedSigil, 'm', Block.stone, 's', Item.stick);
  231.  
  232. TaintedWoodHoe = new TaintedHoe(config.TaintedWoodHoe, TaintedWoodTool).setUnlocalizedName("Tainted_Hoe_Wood").setTextureName("divine_equipment:Tainted_Hoe_Wood");
  233. LanguageRegistry.addName(TaintedWoodHoe, "Tainted Wooden Hoe");
  234. GameRegistry.addRecipe(new ItemStack(TaintedWoodHoe), "mS ", " s ", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick);
  235. GameRegistry.addRecipe(new ItemStack(TaintedWoodHoe), " Sm", " s ", " s ", 'S', TaintedSigil, 'm', Block.planks, 's', Item.stick);
  236.  
  237. // Blessed Items
  238.  
  239. // Blessed Swords
  240.  
  241. BlessedDiamondSword = new BlessedSword(config.BlessedDiamondSword, BlessedDiamondTool).setUnlocalizedName("Blessed_Sword_Diamond").setTextureName("divine_equipment:Blessed_Sword_Diamond");
  242. LanguageRegistry.addName(BlessedDiamondSword, "Blessed Diamond Sword");
  243. GameRegistry.addRecipe(new ItemStack(BlessedDiamondSword), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick);
  244.  
  245. BlessedGoldSword = new BlessedSword(config.BlessedGoldSword, BlessedGoldTool).setUnlocalizedName("Blessed_Sword_Gold").setTextureName("divine_equipment:Blessed_Sword_Gold");
  246. LanguageRegistry.addName(BlessedGoldSword, "Blessed Gold Sword");
  247. GameRegistry.addRecipe(new ItemStack(BlessedGoldSword), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick);
  248.  
  249. BlessedIronSword = new BlessedSword(config.BlessedIronSword, BlessedIronTool).setUnlocalizedName("Blessed_Sword_Iron").setTextureName("divine_equipment:Blessed_Sword_Iron");
  250. LanguageRegistry.addName(BlessedIronSword, "Blessed Iron Sword");
  251. GameRegistry.addRecipe(new ItemStack(BlessedIronSword), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Item.ingotIron, 's', Item.stick);
  252.  
  253. BlessedStoneSword = new BlessedSword(config.BlessedStoneSword, BlessedStoneTool).setUnlocalizedName("Blessed_Sword_Stone").setTextureName("divine_equipment:Blessed_Sword_Stone");
  254. LanguageRegistry.addName(BlessedStoneSword, "Blessed Stone Sword");
  255. GameRegistry.addRecipe(new ItemStack(BlessedStoneSword), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick);
  256.  
  257. BlessedWoodSword = new BlessedSword(config.BlessedWoodSword, BlessedWoodTool).setUnlocalizedName("Blessed_Sword_Wood").setTextureName("divine_equipment:Blessed_Sword_Wood");
  258. LanguageRegistry.addName(BlessedWoodSword, "Blessed Wooden Sword");
  259. GameRegistry.addRecipe(new ItemStack(BlessedWoodSword), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick);
  260.  
  261. // Pickaxes
  262.  
  263. BlessedDiamondPickaxe = new BlessedPickaxe(config.BlessedDiamondPickaxe, BlessedDiamondTool).setUnlocalizedName("Blessed_Pickaxe_Diamond").setTextureName("divine_equipment:Blessed_Pickaxe_Diamond");
  264. LanguageRegistry.addName(BlessedDiamondPickaxe, "Blessed Diamond Pickaxe");
  265. GameRegistry.addRecipe(new ItemStack(BlessedDiamondPickaxe), "mSm", " s ", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick);
  266.  
  267. BlessedGoldPickaxe = new BlessedPickaxe(config.BlessedGoldPickaxe, BlessedGoldTool).setUnlocalizedName("Blessed_Pickaxe_Gold").setTextureName("divine_equipment:Blessed_Pickaxe_Gold");
  268. LanguageRegistry.addName(BlessedGoldPickaxe, "Blessed Gold Pickaxe");
  269. GameRegistry.addRecipe(new ItemStack(BlessedGoldPickaxe), "mSm", " s ", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick);
  270.  
  271. BlessedIronPickaxe = new BlessedPickaxe(config.BlessedIronPickaxe, BlessedIronTool).setUnlocalizedName("Blessed_Pickaxe_Iron").setTextureName("divine_equipment:Blessed_Pickaxe_Iron");
  272. LanguageRegistry.addName(BlessedIronPickaxe, "Blessed Iron Pickaxe");
  273. GameRegistry.addRecipe(new ItemStack(BlessedIronPickaxe), "mSm", " s ", " s ", 'S', BlessedSigil, 'm', Item.ingotIron, 's', Item.stick);
  274.  
  275. BlessedStonePickaxe = new BlessedPickaxe(config.BlessedStonePickaxe, BlessedStoneTool).setUnlocalizedName("Blessed_Pickaxe_Stone").setTextureName("divine_equipment:Blessed_Pickaxe_Stone");
  276. LanguageRegistry.addName(BlessedStonePickaxe, "Blessed Stone Pickaxe");
  277. GameRegistry.addRecipe(new ItemStack(BlessedStonePickaxe), "mSm", " s ", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick);
  278.  
  279. BlessedWoodPickaxe = new BlessedPickaxe(config.BlessedWoodPickaxe, BlessedWoodTool).setUnlocalizedName("Blessed_Pickaxe_Wood").setTextureName("divine_equipment:Blessed_Pickaxe_Wood");
  280. LanguageRegistry.addName(BlessedWoodPickaxe, "Blessed Wooden Pickaxe");
  281. GameRegistry.addRecipe(new ItemStack(BlessedWoodPickaxe), "mSm", " s ", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick);
  282.  
  283. // Axes
  284.  
  285. BlessedDiamondAxe = new BlessedAxe(config.BlessedDiamondAxe, BlessedDiamondTool).setUnlocalizedName("Blessed_Axe_Diamond").setTextureName("divine_equipment:Blessed_Axe_Diamond");
  286. LanguageRegistry.addName(BlessedDiamondAxe, "Blessed Diamond Axe");
  287. GameRegistry.addRecipe(new ItemStack(BlessedDiamondAxe), "mS ", "ms ", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick);
  288. GameRegistry.addRecipe(new ItemStack(BlessedDiamondAxe), " Sm", " sm", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick);
  289.  
  290. BlessedGoldAxe = new BlessedAxe(config.BlessedGoldAxe, BlessedGoldTool).setUnlocalizedName("Blessed_Axe_Gold").setTextureName("divine_equipment:Blessed_Axe_Gold");
  291. LanguageRegistry.addName(BlessedGoldAxe, "Blessed Gold Axe");
  292. GameRegistry.addRecipe(new ItemStack(BlessedGoldAxe), "mS ", "ms ", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick);
  293. GameRegistry.addRecipe(new ItemStack(BlessedGoldAxe), " Sm", " sm", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick);
  294.  
  295.  
  296. BlessedIronAxe = new BlessedAxe(config.BlessedIronAxe, BlessedIronTool).setUnlocalizedName("Blessed_Axe_Iron").setTextureName("divine_equipment:Blessed_Axe_Iron");
  297. LanguageRegistry.addName(BlessedIronAxe, "Blessed Iron Axe");
  298. GameRegistry.addRecipe(new ItemStack(BlessedIronAxe), "mS ", "ms ", " s ", 'S', BlessedSigil, 'm', Item.ingotIron, 's', Item.stick);
  299. GameRegistry.addRecipe(new ItemStack(BlessedGoldAxe), " Sm", " sm", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick);
  300.  
  301. BlessedStoneAxe = new BlessedAxe(config.BlessedStoneAxe, BlessedStoneTool).setUnlocalizedName("Blessed_Axe_Stone").setTextureName("divine_equipment:Blessed_Axe_Stone");
  302. LanguageRegistry.addName(BlessedStoneAxe, "Blessed Stone Axe");
  303. GameRegistry.addRecipe(new ItemStack(BlessedStoneAxe), "mS ", "ms ", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick);
  304. GameRegistry.addRecipe(new ItemStack(BlessedStoneAxe), " Sm", " sm", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick);
  305.  
  306. BlessedWoodAxe = new BlessedAxe(config.BlessedWoodAxe, BlessedWoodTool).setUnlocalizedName("Blessed_Axe_Wood").setTextureName("divine_equipment:Blessed_Axe_Wood");
  307. LanguageRegistry.addName(BlessedWoodAxe, "Blessed Wooden Axe");
  308. GameRegistry.addRecipe(new ItemStack(BlessedWoodAxe), "mS ", "ms ", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick);
  309. GameRegistry.addRecipe(new ItemStack(BlessedWoodAxe), " Sm", " sm", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick);
  310.  
  311. // Shovels
  312.  
  313. BlessedDiamondShovel = new BlessedShovel(config.BlessedDiamondShovel, BlessedDiamondTool).setUnlocalizedName("Blessed_Shovel_Diamond").setTextureName("divine_equipment:Blessed_Shovel_Diamond");
  314. LanguageRegistry.addName(BlessedDiamondShovel, "Blessed Diamond Shovel");
  315. GameRegistry.addRecipe(new ItemStack(BlessedDiamondShovel), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick);
  316.  
  317. BlessedGoldShovel = new BlessedShovel(config.BlessedGoldShovel, BlessedGoldTool).setUnlocalizedName("Blessed_Shovel_Gold").setTextureName("divine_equipment:Blessed_Shovel_Gold");
  318. LanguageRegistry.addName(BlessedGoldShovel, "Blessed Gold Shovel");
  319. GameRegistry.addRecipe(new ItemStack(BlessedGoldShovel), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick);
  320.  
  321. BlessedIronShovel = new BlessedShovel(config.BlessedIronShovel, BlessedIronTool).setUnlocalizedName("Blessed_Shovel_Iron").setTextureName("divine_equipment:Blessed_Shovel_Iron");
  322. LanguageRegistry.addName(BlessedIronShovel, "Blessed Iron Shovel");
  323. GameRegistry.addRecipe(new ItemStack(BlessedIronShovel), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Item.ingotIron, 's', Item.stick);
  324.  
  325. BlessedStoneShovel = new BlessedShovel(config.BlessedStoneShovel, BlessedStoneTool).setUnlocalizedName("Blessed_Shovel_Stone").setTextureName("divine_equipment:Blessed_Shovel_Stone");
  326. LanguageRegistry.addName(BlessedStoneShovel, "Blessed Stone Shovel");
  327. GameRegistry.addRecipe(new ItemStack(BlessedStoneShovel), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick);
  328.  
  329. BlessedWoodShovel = new BlessedShovel(config.BlessedWoodShovel, BlessedWoodTool).setUnlocalizedName("Blessed_Shovel_Wood").setTextureName("divine_equipment:Blessed_Shovel_Wood");
  330. LanguageRegistry.addName(BlessedWoodShovel, "Blessed Wooden Shovel");
  331. GameRegistry.addRecipe(new ItemStack(BlessedWoodShovel), " m ", " S ", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick);
  332.  
  333. // Blessed Hoes
  334.  
  335. BlessedDiamondHoe = new BlessedHoe(config.BlessedDiamondHoe, BlessedDiamondTool).setUnlocalizedName("Blessed_Hoe_Diamond").setTextureName("divine_equipment:Blessed_Hoe_Diamond");
  336. LanguageRegistry.addName(BlessedDiamondHoe, "Blessed Diamond Hoe");
  337. GameRegistry.addRecipe(new ItemStack(BlessedDiamondHoe), "mS ", " s ", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick);
  338. GameRegistry.addRecipe(new ItemStack(BlessedDiamondHoe), " Sm", " s ", " s ", 'S', BlessedSigil, 'm', Item.diamond, 's', Item.stick);
  339.  
  340. BlessedGoldHoe = new BlessedHoe(config.BlessedGoldHoe, BlessedGoldTool).setUnlocalizedName("Blessed_Hoe_Gold").setTextureName("divine_equipment:Blessed_Hoe_Gold");
  341. LanguageRegistry.addName(BlessedGoldHoe, "Blessed Gold Hoe");
  342. GameRegistry.addRecipe(new ItemStack(BlessedGoldHoe), "mS ", " s ", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick);
  343.  
  344. BlessedIronHoe = new BlessedHoe(config.BlessedIronHoe, BlessedIronTool).setUnlocalizedName("Blessed_Hoe_Iron").setTextureName("divine_equipment:Blessed_Hoe_Iron");
  345. LanguageRegistry.addName(BlessedIronHoe, "Blessed Iron Hoe");
  346. GameRegistry.addRecipe(new ItemStack(BlessedIronHoe), "mS ", " s ", " s ", 'S', BlessedSigil, 'm', Item.ingotIron, 's', Item.stick);
  347. GameRegistry.addRecipe(new ItemStack(BlessedGoldHoe), " Sm", " s ", " s ", 'S', BlessedSigil, 'm', Item.ingotGold, 's', Item.stick);
  348.  
  349. BlessedStoneHoe = new BlessedHoe(config.BlessedStoneHoe, BlessedStoneTool).setUnlocalizedName("Blessed_Hoe_Stone").setTextureName("divine_equipment:Blessed_Hoe_Stone");
  350. LanguageRegistry.addName(BlessedStoneHoe, "Blessed Stone Hoe");
  351. GameRegistry.addRecipe(new ItemStack(BlessedStoneHoe), "mS ", " s ", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick);
  352. GameRegistry.addRecipe(new ItemStack(BlessedStoneHoe), " Sm", " s ", " s ", 'S', BlessedSigil, 'm', Block.stone, 's', Item.stick);
  353.  
  354. BlessedWoodHoe = new BlessedHoe(config.BlessedWoodHoe, BlessedWoodTool).setUnlocalizedName("Blessed_Hoe_Wood").setTextureName("divine_equipment:Blessed_Hoe_Wood");
  355. LanguageRegistry.addName(BlessedWoodHoe, "Blessed Wooden Hoe");
  356. GameRegistry.addRecipe(new ItemStack(BlessedWoodHoe), "mS ", " s ", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick);
  357. GameRegistry.addRecipe(new ItemStack(BlessedWoodHoe), " Sm", " s ", " s ", 'S', BlessedSigil, 'm', Block.planks, 's', Item.stick);
  358.  
  359. // Ender Items
  360.  
  361. EnderSword = new items.ender.EnderSword(config.EnderSword, EnumToolMaterial.EMERALD).setUnlocalizedName("Ender_Sword").setTextureName("divine_equipment:EnderSword");
  362. LanguageRegistry.addName(EnderSword, "Ender Sword");
  363. GameRegistry.addRecipe(new ItemStack(EnderSword), " s ", " s ", " S ", 's', EnderSigil, 'S', Item.stick);
  364. }
  365. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement