Advertisement
McScavenger

Untitled

Feb 7th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. package net.minecraft.src;
  2. import java.util.Map;
  3. import java.util.Random;
  4. import java.util.*;
  5. public class mod_MoreArmour extends BaseMod
  6. {
  7. public static final Item Ingot_ShinyGold = new Item_IngotShinyGold(2000).setItemName("Shiny Gold Ingot");
  8. public static final Item Helmet_ShinyGold = (new ItemArmor(2006, EnumArmorMaterial.SHINYGOLD ,5,0 ).setItemName("Shiny Gold Helmet"));
  9. public static final Item ChestPlate_ShinyGold = (new ItemArmor(2007, EnumArmorMaterial.SHINYGOLD ,5,1 ).setItemName("Shiny Gold Chestplate"));
  10. public static final Item Pants_ShinyGold = (new ItemArmor(2008, EnumArmorMaterial.SHINYGOLD ,5,2 ).setItemName("Shiny Gold Leggings"));
  11. public static final Item Boots_ShinyGold = (new ItemArmor(2009, EnumArmorMaterial.SHINYGOLD ,5,3 ).setItemName("Shiny Gold Boots"));
  12.  
  13. public void load()
  14. {
  15. // Shiny Gold Ingot
  16. Ingot_ShinyGold.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/ItemIngot_ShinyGold.png");
  17. ModLoader.addName(Ingot_ShinyGold, "Shiny Gold Ingot");
  18. ModLoader.addRecipe(new ItemStack(Ingot_ShinyGold,1), new Object[]{"&&&", "&X&", "&&&", Character.valueOf('&'), Item.goldNugget, Character.valueOf('X'), Item.ingotIron});
  19.  
  20. // Shiny Gold Helmet
  21. Helmet_ShinyGold.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/ItemHelmet_ShinyGold.png");
  22. ModLoader.addName(Helmet_ShinyGold, "Shiny Gold Helmet");
  23. ModLoader.addRecipe(new ItemStack(Helmet_ShinyGold,1), new Object[]{"&&&", "& &", " ", Character.valueOf('&'), Ingot_ShinyGold});
  24.  
  25. // Shiny Gold ChestPlate
  26. ChestPlate_ShinyGold.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/ItemChestPlate_ShinyGold.png");
  27. ModLoader.addName(ChestPlate_ShinyGold, "Shiny Gold Chestplate");
  28. ModLoader.addRecipe(new ItemStack(ChestPlate_ShinyGold,1), new Object[]{"& &", "&&&", "&&&", Character.valueOf('&'), Ingot_ShinyGold});
  29.  
  30. // Shiny Gold Pants
  31. Pants_ShinyGold.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/ItemPants_ShinyGold.png");
  32. ModLoader.addName(Pants_ShinyGold, "Shiny Gold Pants");
  33. ModLoader.addRecipe(new ItemStack(Pants_ShinyGold,1), new Object[]{"&&&", "& &", "& &", Character.valueOf('&'), Ingot_ShinyGold});
  34.  
  35. // Shiny Gold Boots
  36. Boots_ShinyGold.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/ItemBoots_ShinyGold.png");
  37. ModLoader.addName(Boots_ShinyGold, "Shiny Gold Boots");
  38. ModLoader.addRecipe(new ItemStack(Boots_ShinyGold,1), new Object[]{" ", "& &", "& &", Character.valueOf('&'), Ingot_ShinyGold});
  39.  
  40.  
  41. }
  42.  
  43. public String getVersion()
  44. {
  45. return "ScavMods: MoreArmour";
  46. }
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement