SHARE
TWEET

Main_Jamiga

a guest Apr 12th, 2014 36 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package aJamigaPack1;
  2.  
  3. import java.util.Map;
  4.  
  5. import org.lwjgl.input.Keyboard;
  6.  
  7. import net.minecraft.client.Minecraft;
  8. import net.minecraft.client.renderer.entity.RenderLiving;
  9. import net.minecraft.creativetab.CreativeTabs;
  10. import net.minecraft.entity.Entity;
  11. import net.minecraft.entity.EntityLivingBase;
  12. import net.minecraft.entity.player.EntityPlayer;
  13. import net.minecraft.item.EnumArmorMaterial;
  14. import net.minecraft.item.Item;
  15. import net.minecraft.item.ItemStack;
  16. import net.minecraft.potion.Potion;
  17. import net.minecraft.potion.PotionEffect;
  18. import net.minecraft.src.ModLoader;
  19. import net.minecraft.util.ResourceLocation;
  20. import net.minecraft.world.World;
  21. import net.minecraftforge.common.EnumHelper;
  22. import cpw.mods.fml.common.Mod;
  23. import cpw.mods.fml.common.Mod.Instance;
  24. import cpw.mods.fml.common.SidedProxy;
  25. import cpw.mods.fml.common.Mod.EventHandler;
  26. import cpw.mods.fml.common.event.FMLInitializationEvent;
  27. import cpw.mods.fml.common.network.NetworkMod;
  28. import cpw.mods.fml.common.network.NetworkRegistry;
  29. import cpw.mods.fml.common.registry.LanguageRegistry;
  30.  
  31. @Mod(modid="JamigaPack1", name="JamigaPack1", version="1.6.4")
  32. @NetworkMod(clientSideRequired=true, serverSideRequired=false,
  33. channels={"GenericRandom"}, packetHandler = PacketHandler.class)
  34.  
  35. public class mod_Armor_main {
  36.  
  37.         public static Item Wing01;
  38.  
  39.        
  40.         private static int modGuiIndex = 0;
  41.         public static final int GUI_CUSTOM_INV = modGuiIndex++;
  42.  
  43.        
  44. @SidedProxy(serverSide="aJamigaPack1.CommonProxy", clientSide="aJamigaPack1.ClientProxy")
  45. public static CommonProxy proxy;
  46.  
  47. @Instance("mod_Armor_main")
  48. public static mod_Armor_main instance;
  49.  
  50.  
  51. @EventHandler
  52. public void init(FMLInitializationEvent event) {
  53.          NetworkRegistry.instance().registerGuiHandler(this, this.proxy);
  54.          proxy.registerRenderers();
  55.  
  56. }
  57.  
  58. @EventHandler
  59. public void load(FMLInitializationEvent e)
  60. {
  61.  
  62.      Wing01 = new MyCraftWing1(9118).setUnlocalizedName("Wing01").setTextureName("Wing01");
  63.  
  64.      LanguageRegistry.addName(Wing01, "Wing 001");
  65.  
  66. }
  67. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top