Advertisement
kriNon

Untitled

Nov 6th, 2012
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.84 KB | None | 0 0
  1. package net.minecraft.src;
  2.  
  3. import net.minecraft.client.Minecraft;
  4. import cpw.mods.fml.common.Mod;
  5. import cpw.mods.fml.common.registry.LanguageRegistry;
  6. import net.minecraftforge.common.MinecraftForge;
  7.  
  8. public class mod_Armour extends BaseMod
  9. {
  10. public mod_Armour()
  11. {
  12.  
  13.     //Cape//
  14.     Item InvisibilityCloak = new ItemArmor(1005, EnumArmorMaterial.CLOAKE, 5, 1).setItemName("Cloak of Invisibility");
  15.    
  16.     //In-Game Names//
  17.     LanguageRegistry.addName(InvisibilityCloak, "Cloak of Invisibility");
  18.    
  19.     //Textures//   
  20.     InvisibilityCloak.iconIndex = ModLoader.addOverride("/gui/items.png", "/krinon/ITEMS.png");}
  21.    
  22.     //Potion-Effect//
  23.     InvisibilityCloak.onUpdate();
  24.    
  25.  
  26.     @Override
  27.     public String getVersion() {
  28.         // TODO Auto-generated method stub
  29.         return null;
  30.     }
  31.  
  32.     @Override
  33.     public void load() {
  34.         // TODO Auto-generated method stub
  35.        
  36.     }
  37.  
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement