Advertisement
Superloup10

Bug2

Mar 17th, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 4.09 KB | None | 0 0
  1. package wolf_addons.common.item;
  2.  
  3. import cpw.mods.fml.common.registry.GameRegistry;
  4. import net.minecraft.item.Item;
  5. import net.minecraft.item.Item.ToolMaterial;
  6. import net.minecraft.item.ItemArmor.ArmorMaterial;
  7. import net.minecraftforge.common.util.EnumHelper;
  8.  
  9. public class WolfItemList
  10. {
  11.     public static Item redstoneIngot, lapisIngot, emeraldIngot;
  12.    
  13.     public static Item redstoneHelmet, redstoneChestplate, redstoneLeggings, redstoneBoots;
  14.     public static Item lapisHelmet, lapisChestplate, lapisLeggings, lapisBoots;
  15.     public static Item emeraldHelmet, emeraldChestplate, emeraldLeggings, emeraldBoots;
  16.    
  17.     public static Item redstoneSword, redstonePickaxe, redstoneAxe, redstoneShovel, redstoneHoe;
  18.     public static Item lapisSword, lapisPickaxe, lapisAxe, lapisShovel, lapisHoe;
  19.     public static Item emeraldSword, emeraldPickaxe, emeraldAxe, emeraldShovel, emeraldHoe;
  20.    
  21.     public static ArmorMaterial redstoneArmor = EnumHelper.addArmorMaterial("RedstoneArmor", 33, new int[]{3, 8, 6, 3}, 25);//TODO Add RedstoneArmor
  22.     public static ArmorMaterial lapisArmor = EnumHelper.addArmorMaterial("LapisArmor", 20, new int[]{2, 5, 3, 1}, 10);//TODO Add LapisArmor
  23.     public static ArmorMaterial emeraldArmor = EnumHelper.addArmorMaterial("EmeraldArmor", 40, new int[]{4, 9, 7, 4}, 5);//TODO Add EmeraldArmor
  24.     public static ToolMaterial redstoneTools = EnumHelper.addToolMaterial("RedstoneTools", 3, 1600, 8.0F, 3.0F, 22);//TODO Add RedstoneTools
  25.     public static ToolMaterial lapisTools = EnumHelper.addToolMaterial("LapisTools", 2, 300, 12.0F, 0.0F, 10);//TODO Add LapisTools
  26.     public static ToolMaterial emeraldTools = EnumHelper.addToolMaterial("EmeraldTools", 4, 2000, 16.0F, 6.0F, 5);//TODO Add EmeraldTools
  27.    
  28.     public static void loadItem()
  29.     {
  30.         redstoneHelmet = new RedstoneArmor(redstoneArmor, 0).setTextureName("wolf_addons:redstone_helmet").setUnlocalizedName("redstoneHelmet");
  31.         redstoneChestplate = new RedstoneArmor(redstoneArmor, 1).setTextureName("wolf_addons:redstone_chestplate").setUnlocalizedName("redstoneChestplate");
  32.         redstoneLeggings = new RedstoneArmor(redstoneArmor, 2).setTextureName("wolf_addons:redstone_leggings").setUnlocalizedName("redstoneLeggings");
  33.         redstoneBoots = new RedstoneArmor(redstoneArmor, 3).setTextureName("wolf_addons:redstone_boots").setUnlocalizedName("redstoneBoots");
  34.        
  35.         lapisHelmet = new LapisArmor(lapisArmor, 0).setTextureName("wolf_addons:lapis_helmet").setUnlocalizedName("lapisHelmet");
  36.         lapisChestplate = new LapisArmor(lapisArmor, 1).setTextureName("wolf_addons:lapis_chestplate").setUnlocalizedName("lapisChestplate");
  37.         lapisLeggings = new LapisArmor(lapisArmor, 2).setTextureName("wolf_addons:lapis_leggings").setUnlocalizedName("lapisLeggings");
  38.         lapisBoots = new LapisArmor(lapisArmor, 3).setTextureName("wolf_addons:lapis_boots").setUnlocalizedName("lapisBoots");
  39.        
  40.         emeraldHelmet = new EmeraldArmor(emeraldArmor, 0).setTextureName("wolf_addons:emerald_helmet").setUnlocalizedName("emeraldHelmet");
  41.         emeraldChestplate = new EmeraldArmor(emeraldArmor, 1).setTextureName("wolf_addons:emerald_chestplate").setUnlocalizedName("emeraldChestplate");
  42.         emeraldLeggings = new EmeraldArmor(emeraldArmor, 2).setTextureName("wolf_addons:emerald_leggings").setUnlocalizedName("emeraldLeggings");
  43.         emeraldBoots = new EmeraldArmor(emeraldArmor, 3).setTextureName("wolf_addons:emerald_boots").setUnlocalizedName("emeraldBoots");
  44.        
  45.         GameRegistry.registerItem(redstoneHelmet, "redstoneHelmet");
  46.         GameRegistry.registerItem(redstoneChestplate, "redstoneChestplate");
  47.         GameRegistry.registerItem(redstoneLeggings, "redstoneLeggings");
  48.         GameRegistry.registerItem(redstoneBoots, "redstoneBoots");
  49.         GameRegistry.registerItem(lapisHelmet, "lapisHelmet");
  50.         GameRegistry.registerItem(lapisChestplate, "lapisChestplate");
  51.         GameRegistry.registerItem(lapisLeggings, "lapisLeggings");
  52.         GameRegistry.registerItem(lapisBoots, "lapisBoots");
  53.         GameRegistry.registerItem(emeraldHelmet, "emeraldHelmet");
  54.         GameRegistry.registerItem(emeraldChestplate, "emeraldChestplate");
  55.         GameRegistry.registerItem(emeraldLeggings, "emeraldLeggings");
  56.         GameRegistry.registerItem(emeraldBoots, "emeraldBoots");
  57.     }
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement