SHARE
TWEET

Main Class

a guest Jul 23rd, 2014 220 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package mymod;
  2.  
  3. import java.awt.Color;
  4.  
  5. import mymod.armor.MyArmor;
  6. import mymod.armor.MyArmor_2;
  7. import mymod.armor.MyArmor_3;
  8. import mymod.armor.MyArmor_4;
  9. import mymod.armor.MyArmor_5;
  10. import mymod.armor.MyArmor_6;
  11. import mymod.biome.MyBiome;
  12. import mymod.blocks.MyBlock;
  13. import mymod.blocks.MyBlockGen;
  14. import mymod.entity.BeardedDragon.EntityBeardedDragon;
  15. import mymod.entity.BeardedDragon.ModelBeardedDragon;
  16. import mymod.entity.BeardedDragon.RenderBeardedDragon;
  17. import mymod.entity.abe.MyEntityAbe;
  18. import mymod.entity.abe.MyModelAbe;
  19. import mymod.entity.abe.MyRenderAbe;
  20. import mymod.entity.ogre.MyEntityOgre;
  21. import mymod.entity.ogre.MyModelOgre;
  22. import mymod.entity.ogre.MyRenderOgre;
  23. import mymod.handlers.MyCraftingHandler;
  24. import mymod.handlers.MyPickupHandler;
  25. import mymod.items.MyAxe;
  26. import mymod.items.MyFood;
  27. import mymod.items.MyItem;
  28. import mymod.items.MyPickaxe;
  29. import mymod.items.MySword;
  30. import mymod.proxies.ClientProxy;
  31. import net.minecraft.block.Block;
  32. import net.minecraft.block.material.Material;
  33. import net.minecraft.creativetab.CreativeTabs;
  34. import net.minecraft.entity.Entity;
  35. import net.minecraft.entity.EntityEggInfo;
  36. import net.minecraft.entity.EntityList;
  37. import net.minecraft.entity.EnumCreatureType;
  38. import net.minecraft.item.EnumArmorMaterial;
  39. import net.minecraft.item.EnumToolMaterial;
  40. import net.minecraft.item.Item;
  41. import net.minecraft.item.ItemStack;
  42. import net.minecraft.src.ModLoader;
  43. import net.minecraft.stats.Achievement;
  44. import net.minecraft.stats.AchievementList;
  45. import net.minecraft.world.biome.BiomeGenBase;
  46. import net.minecraftforge.common.EnumHelper;
  47. import net.minecraftforge.common.MinecraftForge;
  48. import cpw.mods.fml.client.registry.RenderingRegistry;
  49. import cpw.mods.fml.common.Mod;
  50. import cpw.mods.fml.common.Mod.EventHandler;
  51. import cpw.mods.fml.common.SidedProxy;
  52. import cpw.mods.fml.common.event.FMLInitializationEvent;
  53. import cpw.mods.fml.common.event.FMLPostInitializationEvent;
  54. import cpw.mods.fml.common.event.FMLPreInitializationEvent;
  55. import cpw.mods.fml.common.network.NetworkMod;
  56. import cpw.mods.fml.common.registry.EntityRegistry;
  57. import cpw.mods.fml.common.registry.GameRegistry;
  58. import cpw.mods.fml.common.registry.LanguageRegistry;
  59.  
  60.  
  61. /*      MOD INFO */
  62.         @Mod( modid = "mymod", name = "InfiniCraft", version = "0.4")
  63.         @NetworkMod(clientSideRequired=true, serverSideRequired=false) 
  64.  
  65.  
  66. public class Main {
  67.  
  68. /*      PROXY INFO */
  69.         @SidedProxy(clientSide="tutorial.client.ClientProxy", serverSide="tutorial.common.CommonProxy")
  70. public static ClientProxy proxy = new ClientProxy();
  71.  
  72.                
  73.        
  74. /**    
  75.  * DECLARATION SECTION
  76.  * *********************************************************** */
  77. //DECLARE RUBY AXE
  78.  public static Item MyAxe_4;
  79.  
  80.  //DECLARE END AXE
  81.  public static Item MyAxe_6;
  82.  
  83.  // DECLARE END SHARD
  84.  public static Item MyItem_6;
  85.  
  86. //  DECLARE THE SWORD 2
  87.         public static Item MySword_2;
  88.        
  89.         //DECLARE NEW TOOL MATERIAL 4
  90.         /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability*/
  91.         public static EnumToolMaterial MyToolMaterial4 = EnumHelper.addToolMaterial("Ruby", 1, 136, 8.0F,2.0F, 15);
  92.        
  93.         //DECLARE NEW TOOL MATERIAL 4
  94.         /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability*/
  95.         public static EnumToolMaterial MyToolMaterial9 = EnumHelper.addToolMaterial("End", 2, 854, 12.0F,2.5F, 18);
  96.        
  97. //DECLARE THE SWORD 3
  98. public static Item MySword_3;
  99.  
  100. //  DECLARE NEW TOOL MATERIAL 3
  101.         /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  102.         public static EnumToolMaterial MyToolMaterial3 = EnumHelper.addToolMaterial("GlowStone", 1, 136, 8.0F, 2.0F, 15);
  103.        
  104.         //  DECLARE NEW TOOL MATERIAL 3
  105.         /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  106.         public static EnumToolMaterial MyToolMaterial8 = EnumHelper.addToolMaterial("NOPE", 3, 9999, 500.0F, 46.0F, 15);
  107.  
  108. //DECLARE TAH SWORD
  109. public static Item MySword_7;
  110.  
  111. //  DECLARE THE SWORD
  112.         public static Item MySword_1;
  113.  
  114. //  DECLARE THE PICKAXE
  115.         public static Item MyPickaxe_1;
  116.  
  117. //DECLARE NEW SHOVEl
  118. public static Item MyShovel6;
  119.  
  120. //DECLARE NEW SHOVEl
  121. public static Item MyShovel7;
  122.  
  123. //DECLARE THE PICKAXE 3
  124.  public static Item MyPickaxe_3;
  125.  
  126. //  DECLARE THE PICKAXE
  127.         public static Item MyPickaxe_2;
  128.  
  129. // DECLARE AXE 3
  130.  public static Item MyAxe_3;
  131.  
  132. //  DECLARE THE AXE
  133.         public static Item MyAxe;
  134.  
  135. //  DECLARE NEW TOOL MATERIAL
  136.         /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  137.         public static EnumToolMaterial MyToolMaterial = EnumHelper.addToolMaterial("Sapphire", 3, 10000, 20.0F, 50.0F, 15);
  138.        
  139.         //  DECLARE NEW TOOL MATERIAL
  140.         /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  141.         public static EnumToolMaterial MyToolMaterial5 = EnumHelper.addToolMaterial("Ruby", 3, 1568, 16.0F, 7.0F, 15);
  142.        
  143.         //  DECLARE NEW TOOL MATERIAL 2
  144.         /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  145.         public static EnumToolMaterial MyToolMaterial2 = EnumHelper.addToolMaterial("Mega Stone", 3, 5000, 150.0F, 500.0F, 12);
  146.  
  147.  
  148. // DECLARE NEW TOOL MATERIAL 2
  149.         /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  150.         public static EnumToolMaterial MyToolMaterial6 = EnumHelper.addToolMaterial("Night Shard", 3, 500, 150.0F, 36.0F, 21);
  151.        
  152.         // DECLARE NEW TOOL MATERIAL 2
  153.         /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  154.         public static EnumToolMaterial MyToolMaterial10 = EnumHelper.addToolMaterial("Take em'", 3, 750, 15.0F, 4.0F, 21);
  155.        
  156.         // DECLARE NEW TOOL MATERIAL 2
  157.         /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  158.         public static EnumToolMaterial MyToolMaterial7 = EnumHelper.addToolMaterial("netherrack", 2, 158, 10.0F, 1.0F, 6);
  159.  
  160. //DECLARE NEW SWORD 6
  161. public static Item MySword_6;
  162.  
  163. // DECLARE THE SWORD 5
  164.  public static Item MySword_5;
  165.  
  166. // DECLARE THE ITEM
  167. public static Item MyItem_4;
  168.  
  169. //DECLARE NEW AXE
  170.  public static Item MyAxe_5;
  171.  
  172. //  DECLARE THE ITEM
  173.         public static Item MyItem_1;
  174.        
  175.         //  DECLARE THE ITEM 2
  176.         public static Item MyItem_2;
  177.        
  178.         // DECLARE THE SWORD 8
  179.         public static Item MySword_8;
  180.        
  181.         //  DECLARE THE ITEM 2
  182.         public static Item MyItem_3;
  183.        
  184.  //  DECLARE THE FOOD
  185.         public static Item MyFood_1;
  186.        
  187.         //DECLARE THE FOOD 2
  188.         public static Item MyFood_2;
  189.        
  190.  //  DECLARE THE BLOCK
  191.         public static Block MyBlock_1;
  192.        
  193.       //  DECLARE THE BLOCK
  194.         public static Block MyBlock_2;  
  195.      
  196.       //  DECLARE THE BLOCK
  197.         public static Block MyBlock_3;  
  198.      
  199.         //  DECLARE THE ARMOR
  200.         public static Item MyHelmet_1;
  201.         public static Item MyChest_1;
  202.         public static Item MyLeggings_1;
  203.         public static Item MyBoots_1;
  204.        
  205.         //  DECLARE THE ARMOR
  206.         public static Item MyHelmet_6;
  207.         public static Item MyChest_6;
  208.         public static Item MyLeggings_6;
  209.         public static Item MyBoots_6;
  210.        
  211.         //  DECLARE THE ARMOR
  212.         public static Item MyHelmet_2;
  213.         public static Item MyChest_2;
  214.         public static Item MyLeggings_2;
  215.         public static Item MyBoots_2;
  216.  
  217. //  DECLARE THE ARMOR
  218.         public static Item MyHelmet_3;
  219.         public static Item MyChest_3;
  220.         public static Item MyLeggings_3;
  221.         public static Item MyBoots_3;
  222.        
  223.         //  DECLARE THE ARMOR
  224.         public static Item MyHelmet_4;
  225.         public static Item MyChest_4;
  226.         public static Item MyLeggings_4;
  227.         public static Item MyBoots_4;
  228.  
  229.      //  DECLARE THE ARMOR
  230.         public static Item MyHelmet_5;
  231.         public static Item MyChest_5;
  232.         public static Item MyLeggings_5;
  233.         public static Item MyBoots_5;
  234.  
  235.                 //  DECLARE THE ARMOR MATERIAL
  236.                                                                                                                                         /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  237.         public static EnumArmorMaterial MyArmorMaterial_1 = EnumHelper.addArmorMaterial("Sapphire", 500, new int[]{5, 10, 8, 5}, 50);
  238.  
  239. //  DECLARE THE ARMOR MATERIAL
  240.                                                                                                                                         /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  241.         public static EnumArmorMaterial MyArmorMaterial_2 = EnumHelper.addArmorMaterial("Mega Stone", 5000, new int[]{25, 30, 30, 25}, 100);
  242.  
  243. //  DECLARE THE ARMOR MATERIAL
  244.                                                                                                                                         /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  245.         public static EnumArmorMaterial MyArmorMaterial_6 = EnumHelper.addArmorMaterial("End", 25, new int[]{3, 6, 5, 4}, 14);
  246.  
  247. //  DECLARE THE ARMOR MATERIAL
  248.                                                                                                                                         /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  249.         public static EnumArmorMaterial MyArmorMaterial_3 = EnumHelper.addArmorMaterial("GlowStone Shard", 50, new int[]{2, 3, 3, 2}, 30);
  250.        
  251.        
  252.        
  253.         //  DECLARE THE ARMOR MATERIAL
  254.                                                                                                                                         /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  255.         public static EnumArmorMaterial MyArmorMaterial_4 = EnumHelper.addArmorMaterial("Ruby", 100, new int[]{4, 8, 7, 5}, 10);
  256.        
  257.         //  DECLARE THE ARMOR MATERIAL
  258.                                                                                                                                         /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  259.         public static EnumArmorMaterial MyArmorMaterial_5 = EnumHelper.addArmorMaterial("netherrack", 8, new int[]{1, 4, 3, 1}, 15);
  260.        
  261.        
  262. // DECLARE ENDER STAFF
  263.         public static Item MyEnderStaff;
  264.  
  265. //  DECLARE THE BIOME
  266.         public static  BiomeGenBase MyBiome_1;
  267.        
  268.         //  DECLARE THE BIOME
  269.         public static  BiomeGenBase MyNioBiome;
  270.        
  271.        
  272.         //  DECLARE THE MOD ID
  273.         static int MyEntityID = 300;
  274.    
  275.     //  SEARCH FOR UNIQUE ID    
  276.         public static int getUniqueEntityId() {
  277.             do {
  278.                 MyEntityID++;
  279.             }
  280.             while (EntityList.getStringFromID(MyEntityID) != null);
  281.             return MyEntityID++;
  282.         }
  283.    
  284.     //  DECLARE A NEW EGG
  285.         public static void registerEntityEgg(Class <? extends Entity> entity, int primaryColor, int secondaryColor) {
  286.             int id = getUniqueEntityId();
  287.             EntityList.IDtoClassMapping.put(id, entity);
  288.             EntityList.entityEggs.put(id, new EntityEggInfo(id, primaryColor, secondaryColor));
  289.         }
  290.  
  291. //DECLARE NETHER SHARD
  292. public static Item MyItem_5;
  293.  
  294. // DECLARE RUBY SWORD
  295. public static Item MySword_4;
  296.  
  297. // DECLARE SHOVEL 2
  298.  public static Item MyShovel2;
  299.  
  300.  
  301. //DECLARE N SHOVEL
  302. public static Item MyShovel5;
  303.  
  304. // DECLARE SHOVEL
  305.    public static Item MyShovel;
  306.    
  307.    // DECLARE AXE 2
  308.       public static Item MyAxe2;
  309.  
  310. // DECLARE SHOVEL 3
  311.  public static Item MyShovel3;
  312.  
  313. // DECLARE PICKAXE 4
  314. public static Item MyPickaxe_4;
  315.  
  316. //DECLARE FOOD 3
  317.  public static Item MyFood_3;
  318.  
  319. //DECLARE SHOVEL 4
  320. public static Item MyShovel4;
  321.  
  322. //DECLARE NEW PICKAXE
  323. public static Item MyPickaxe_5;
  324.  
  325. //declare new pick
  326. public static Item MyPickaxe_6;
  327.  
  328. //      DECLARE THE NEW ACHIEVEMENTS
  329.         public static Achievement MyAchievement_1;
  330.        
  331. //      DECLARE THE NEW ACHIEVEMENTS
  332.         public static Achievement MyAchievement_2;
  333.         public static Achievement MyAchievement_3;
  334.        
  335.         //  DECLARE A NEW CREATIVE TAB  
  336.         public static CreativeTabs MyCreativeTab_1;
  337. /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */      
  338.  
  339.  
  340. @EventHandler  
  341.         public void preInit( FMLPreInitializationEvent event)
  342.         {
  343. /**    
  344.  * LOAD SECTION
  345.  * *********************************************************** */
  346.  
  347.  //  LOAD THE CREATIVE TAB
  348.         MyCreativeTab_1 = new CreativeTabs("MyCreativeTab_1") {
  349.             public ItemStack getIconItemStack() {
  350.                 return new ItemStack(MyBlock_1, 1, 0);   // Icon, Stack Size, Tab Position
  351.             }
  352.         };
  353.  
  354.  // LOAD THE PICKAXE 4
  355.   MyPickaxe_4 = new MyPickaxe(1748, MyToolMaterial5, "MyPickaxe_4").setCreativeTab(MyCreativeTab_1);
  356.  GameRegistry.registerItem(MyPickaxe_4, "MyPickaxe_4");
  357.  LanguageRegistry.addName(MyPickaxe_4, "Ruby Pickaxe");
  358.  
  359.  // LOAD THE PICKAXE 6
  360.   MyPickaxe_6 = new MyPickaxe(1213, MyToolMaterial9, "MyPickaxe_6").setCreativeTab(MyCreativeTab_1);
  361.  GameRegistry.registerItem(MyPickaxe_6, "MyPickaxe_6");
  362.  LanguageRegistry.addName(MyPickaxe_6, "Endstone Pickaxe");
  363.  
  364.   // LOAD THE PICKAXE 5
  365.   MyPickaxe_5 = new MyPickaxe(1212, MyToolMaterial7, "MyPickaxe_5").setCreativeTab(MyCreativeTab_1);
  366.  GameRegistry.registerItem(MyPickaxe_5, "MyPickaxe_5");
  367.  LanguageRegistry.addName(MyPickaxe_5, "Netherrack Pickaxe");
  368.  
  369. // LOAD THE SHOVEL 2
  370.    MyShovel2 = new MyShovel(29513, MyToolMaterial, "MyShovel2").setCreativeTab(MyCreativeTab_1);
  371.    GameRegistry.registerItem(MyShovel2, "MyShovel2");
  372.    LanguageRegistry.addName(MyShovel2, "Sapphire Shovel");
  373.    
  374.    // LOAD THE SHOVEL 2
  375.    MyShovel5 = new MyShovel(1121, MyToolMaterial7, "MyShovel5").setCreativeTab(MyCreativeTab_1);
  376.    GameRegistry.registerItem(MyShovel5, "MyShovel5");
  377.    LanguageRegistry.addName(MyShovel5, "Netherrack Shovel");
  378.    
  379.   // LOAD THE SHOVEL 4
  380.    MyShovel4 = new MyShovel(1141, MyToolMaterial5, "MyShovel4").setCreativeTab(MyCreativeTab_1);
  381.    GameRegistry.registerItem(MyShovel4, "MyShovel4");
  382.    LanguageRegistry.addName(MyShovel4, "Ruby Shovel");
  383.  
  384.   // LOAD THE SWORD 7
  385.    MySword_7 = new MySword(1131, MyToolMaterial9, "MySword_7").setCreativeTab(MyCreativeTab_1);
  386.    GameRegistry.registerItem(MySword_7, "MySword_7");
  387.    LanguageRegistry.addName(MySword_7, "Endstone Sword");
  388.  
  389.   // LOAD THE SHOVEL 4
  390.    MyShovel6 = new MyShovel(9999, MyToolMaterial8, "MyShovel6").setCreativeTab(MyCreativeTab_1);
  391.    GameRegistry.registerItem(MyShovel6, "MyShovel6");
  392.    LanguageRegistry.addName(MyShovel6, "The NOPE Shovel");
  393.  
  394.   // LOAD THE SHOVEL 4
  395.    MyShovel7 = new MyShovel(1138, MyToolMaterial9, "MyShovel7").setCreativeTab(MyCreativeTab_1);
  396.    GameRegistry.registerItem(MyShovel7, "MyShovel7");
  397.    LanguageRegistry.addName(MyShovel7, "End Shovel");
  398.  
  399.  
  400. // LOAD THE SHOVEL 3
  401.    MyShovel3 = new MyShovel(1589, MyToolMaterial3, "MyShovel3").setCreativeTab(MyCreativeTab_1);
  402.    GameRegistry.registerItem(MyShovel3, "MyShovel3");
  403.    LanguageRegistry.addName(MyShovel3, "GlowStone Shovel");
  404.  
  405.  
  406. //  LOAD THE ITEM
  407.         MyItem_6 = new MyItem(1088, "MyItem_6").setCreativeTab(MyCreativeTab_1).setMaxStackSize(64);
  408.         GameRegistry.registerItem(MyItem_6, "MyItem_6");
  409.         LanguageRegistry.addName(MyItem_6, "End Shard");
  410.  
  411. // LOAD THE AXE 2
  412.  
  413.     MyAxe2 = new MyAxe(1945, MyToolMaterial, "MyAxe2").setCreativeTab(MyCreativeTab_1);
  414.     GameRegistry.registerItem(MyAxe2, "MyAxe2");
  415.     LanguageRegistry.addName(MyAxe2, "Sapphire Axe");
  416.  
  417. // LOAD THE AXE 4
  418.     MyAxe_4 = new MyAxe(992, MyToolMaterial5, "MyAxe_4").setCreativeTab(MyCreativeTab_1);
  419.     GameRegistry.registerItem(MyAxe_4, "MyAxe_4");
  420.     LanguageRegistry.addName(MyAxe_4, "Ruby Axe");
  421.  
  422. // LOAD THE AXE 2
  423.  
  424.     MyAxe_5 = new MyAxe(1222, MyToolMaterial7, "MyAxe_5").setCreativeTab(MyCreativeTab_1);
  425.     GameRegistry.registerItem(MyAxe_5, "MyAxe_5");
  426.     LanguageRegistry.addName(MyAxe_5, "Netherrack Axe");
  427.  
  428. // LOAD THE AXE 2
  429.  
  430.     MyAxe_3 = new MyAxe(5381, MyToolMaterial3, "MyAxe_3").setCreativeTab(MyCreativeTab_1);
  431.     GameRegistry.registerItem(MyAxe_3, "MyAxe_3");
  432.     LanguageRegistry.addName(MyAxe_3, "GlowStone Axe");
  433.  
  434. // LOAD THE AXE
  435.      MyAxe = new MyAxe(29512, MyToolMaterial2, "MyAxe").setCreativeTab(MyCreativeTab_1);
  436.      GameRegistry.registerItem(MyAxe, "MyAxe");
  437.      LanguageRegistry.addName(MyAxe, "Mega Axe");
  438.  
  439. // LOAD PICKAXE 3
  440. MyPickaxe_3 = new MyPickaxe(936, MyToolMaterial3, "MyPickaxe_3").setCreativeTab(MyCreativeTab_1);
  441. GameRegistry.registerItem(MyPickaxe_3, "MyPickaxe_3");
  442. LanguageRegistry.addName(MyPickaxe_3, "GlowStone Pickaxe");
  443.  
  444.  
  445. //  LOAD THE SWORD 2
  446.         MySword_2 = new MySword(2592, MyToolMaterial2, "MySword_2").setCreativeTab(MyCreativeTab_1);
  447.         GameRegistry.registerItem(MySword_2, "MySword_2");
  448.         LanguageRegistry.addName(MySword_2, "MegaKiller");
  449.  
  450. //  LOAD THE SWORD 6
  451.         MySword_6 = new MySword(9512, MyToolMaterial7, "MySword_6").setCreativeTab(MyCreativeTab_1);
  452.         GameRegistry.registerItem(MySword_6, "MySword_6");
  453.         LanguageRegistry.addName(MySword_6, "Netherrack Sword");
  454.  
  455. // LOAD THE SWORD 3
  456.      MySword_3 = new MySword(20214, MyToolMaterial3, "MySword_3").setCreativeTab(MyCreativeTab_1);
  457.      GameRegistry.registerItem(MySword_3, "MySword_3");
  458.      LanguageRegistry.addName(MySword_3, "Glowstone Sword");
  459.  
  460. //  LOAD THE SWORD
  461.         MySword_1 = new MySword(2021, MyToolMaterial, "MySword_1").setCreativeTab(MyCreativeTab_1);
  462.         GameRegistry.registerItem(MySword_1, "MySword_1");
  463.         LanguageRegistry.addName(MySword_1, "A Baccas Dream");
  464.        
  465.         //  LOAD THE SWORD 8
  466.         MySword_8 = new mymod.items.MySword2(1948, MyToolMaterial10, "MySword_8").setCreativeTab(MyCreativeTab_1);
  467.         GameRegistry.registerItem(MySword_8, "MySword_8");
  468.         LanguageRegistry.addName(MySword_8, "Take em' Sword");
  469.        
  470.         //  LOAD THE SWORD
  471.         MySword_4 = new MySword(1345, MyToolMaterial5, "MySword_4").setCreativeTab(MyCreativeTab_1);
  472.         GameRegistry.registerItem(MySword_4, "MySword_4");
  473.         LanguageRegistry.addName(MySword_4, "Ruby Sword");
  474.  
  475. //  LOAD THE SWORD
  476.         MySword_5 = new MySword(1224, MyToolMaterial6, "MySword_5").setCreativeTab(MyCreativeTab_1);
  477.         GameRegistry.registerItem(MySword_5, "MySword_5");
  478.         LanguageRegistry.addName(MySword_5, "Nights Edge");
  479.        
  480.         //  LOAD THE SWORD
  481.         MyAxe_6 = new MyAxe(1337, MyToolMaterial9, "MyAxe_6").setCreativeTab(MyCreativeTab_1);
  482.         GameRegistry.registerItem(MyAxe_6, "MyAxe_6");
  483.         LanguageRegistry.addName(MyAxe_6, "EndStone Axe");
  484.  
  485. //  LOAD THE PICKAXE
  486.         MyPickaxe_1 = new MyPickaxe(2022, MyToolMaterial, "MyPickaxe_1").setCreativeTab(MyCreativeTab_1);
  487.         GameRegistry.registerItem(MyPickaxe_1, "MyPickaxe_1");
  488.         LanguageRegistry.addName(MyPickaxe_1, "Sapphire Pickaxe");
  489.        
  490.         //  LOAD THE PICKAXE 2
  491.         MyPickaxe_2 = new MyPickaxe(2023, MyToolMaterial2, "MyPickaxe_2").setCreativeTab(MyCreativeTab_1);
  492.         GameRegistry.registerItem(MyPickaxe_2, "MyPickaxe_2");
  493.         LanguageRegistry.addName(MyPickaxe_2, "Mega Pickaxe");
  494.        
  495.         //  LOAD THE ITEM
  496.         MyItem_5 = new MyItem(2034, "MyItem_5").setCreativeTab(MyCreativeTab_1).setMaxStackSize(64);
  497.         GameRegistry.registerItem(MyItem_5, "MyItem_5");
  498.         LanguageRegistry.addName(MyItem_5, "Nether Shard");
  499.        
  500.        
  501. //  LOAD THE ITEM
  502.         MyItem_1 = new MyItem(2030, "MyItem_1").setCreativeTab(MyCreativeTab_1).setMaxStackSize(64);
  503.         GameRegistry.registerItem(MyItem_1, "MyItem_1");
  504.         LanguageRegistry.addName(MyItem_1, "Sapphire");
  505.        
  506.         //  LOAD THE ITEM 4
  507.         MyItem_4 = new MyItem(1113, "MyItem_4").setCreativeTab(MyCreativeTab_1).setMaxStackSize(64);
  508.         GameRegistry.registerItem(MyItem_4, "MyItem_4");
  509.         LanguageRegistry.addName(MyItem_4, "Night Shard");
  510.        
  511.         //  LOAD THE ITEM 2
  512.         MyItem_2 = new MyItem(1034, "MyItem_2").setCreativeTab(MyCreativeTab_1).setMaxStackSize(64);
  513.         GameRegistry.registerItem(MyItem_2, "MyItem_2");
  514.         LanguageRegistry.addName(MyItem_2, "Mega Stone");
  515.        
  516.         //  LOAD THE ITEM 2
  517.         MyItem_3 = new MyItem(2031, "MyItem_3").setCreativeTab(MyCreativeTab_1).setMaxStackSize(64);
  518.         GameRegistry.registerItem(MyItem_3, "MyItem_3");
  519.         LanguageRegistry.addName(MyItem_3, "Ruby");
  520.        
  521.        
  522.         //  LOAD THE ITEM 2
  523.         MyEnderStaff = new mymod.items.MyEnderStaff(2032, "MyEnderStaff").setCreativeTab(MyCreativeTab_1).setMaxStackSize(1);
  524.         GameRegistry.registerItem(MyEnderStaff, "MyEnderStaff");
  525.         LanguageRegistry.addName(MyEnderStaff, "Ender Staff");
  526.        
  527.        
  528.         //  LOAD THE FOOD
  529.         /** itemID, healAmount, SaturationModifier (F) isWolfsFavoriteMeat, Texture Name */
  530.         MyFood_1 = new MyFood(2040, 12, 6.0F, true, "MyFood_1").setCreativeTab(MyCreativeTab_1);
  531.         GameRegistry.registerItem(MyFood_1, "MyFood_1");
  532.         LanguageRegistry.addName(MyFood_1, "Burger");
  533.        
  534.         //  LOAD THE FOOD 2
  535.         /** itemID, healAmount, SaturationModifier (F) isWolfsFavoriteMeat, Texture Name */
  536.         MyFood_2 = new MyFood(9991, 4, 2.0F, false, "MyFood_2").setCreativeTab(MyCreativeTab_1);
  537.         GameRegistry.registerItem(MyFood_2, "MyFood_2");
  538.         LanguageRegistry.addName(MyFood_2, "Bacon Cupcake");
  539.        
  540.         //  LOAD THE FOOD 2
  541.         /** itemID, healAmount, SaturationModifier (F) isWolfsFavoriteMeat, Texture Name */
  542.         MyFood_3 = new MyFood(9992, 6, 3.0F, true, "MyFood_3").setCreativeTab(MyCreativeTab_1);
  543.         GameRegistry.registerItem(MyFood_3, "MyFood_3");
  544.         LanguageRegistry.addName(MyFood_3, "Bacon");
  545.        
  546.         //  LOAD THE BLOCK
  547.         MyBlock_1 = new MyBlock(250, Material.rock, "MyBlock_1").setLightValue(0.4F).setResistance(10.0F).setHardness(2.0F).setStepSound(Block.soundStoneFootstep).setCreativeTab(MyCreativeTab_1);
  548.         GameRegistry.registerBlock(MyBlock_1, "MyBlock_1");
  549.         LanguageRegistry.addName(MyBlock_1, "Sapphire Ore");
  550.                 MinecraftForge.setBlockHarvestLevel(MyBlock_1, "pickaxe", 3);
  551.                
  552.                 //  LOAD THE BLOCK 2
  553.         MyBlock_2 = new MyBlock(251, Material.rock, "MyBlock_2").setLightValue(0.8F).setResistance(10.0F).setHardness(3.0F).setStepSound(Block.soundStoneFootstep).setCreativeTab(MyCreativeTab_1);
  554.         GameRegistry.registerBlock(MyBlock_2, "MyBlock_2");
  555.         LanguageRegistry.addName(MyBlock_2, "Nio Block");
  556.                 MinecraftForge.setBlockHarvestLevel(MyBlock_2, "pickaxe", 2);
  557.                
  558.                 //  LOAD THE BLOCK 3
  559.         MyBlock_3 = new mymod.blocks.MyBlock_3(1234, Material.rock, "MyBlock_3").setLightValue(0.0F).setResistance(10.0F).setHardness(3.0F).setStepSound(Block.soundStoneFootstep).setCreativeTab(MyCreativeTab_1);
  560.         GameRegistry.registerBlock(MyBlock_3, "MyBlock_3");
  561.         LanguageRegistry.addName(MyBlock_3, "Ruby Ore");
  562.                 MinecraftForge.setBlockHarvestLevel(MyBlock_3, "pickaxe", 2);
  563.                
  564.                 //  LOAD CHESTPLATE
  565.         MyChest_3 = new MyArmor_3(2148, MyArmorMaterial_3, 0, 1, "myarmor3").setCreativeTab(MyCreativeTab_1);
  566.         GameRegistry.registerItem(MyChest_3, "MyChest_3");
  567.         LanguageRegistry.addName(MyChest_3, "GlowStone Chestplate");
  568.                
  569.                 //  LOAD CHESTPLATE
  570.         MyChest_5 = new MyArmor_5(1110, MyArmorMaterial_5, 0, 1, "myarmor5").setCreativeTab(MyCreativeTab_1);
  571.         GameRegistry.registerItem(MyChest_5, "MyChest_5");
  572.         LanguageRegistry.addName(MyChest_5, "Netherrack Chestplate");
  573.                
  574.                         // LOAD LEGGINGS
  575.                 MyLeggings_5 = new MyArmor_5(1109, MyArmorMaterial_5, 0, 2, "myarmor5").setCreativeTab(MyCreativeTab_1);
  576.                 GameRegistry.registerItem(MyLeggings_5, "MyLeggings_5");
  577.                 LanguageRegistry.addName(MyLeggings_5, "Netherrack Leggings");
  578.                
  579.                 // LOAD BOOTS
  580.                 MyBoots_5 = new MyArmor_5 (1108, MyArmorMaterial_3, 0, 3, "myarmor5").setCreativeTab(MyCreativeTab_1);
  581.                 GameRegistry.registerItem(MyBoots_5, "MyBoots_5");
  582.                 LanguageRegistry.addName(MyBoots_5, "Netherrack Boots");
  583.                
  584.                 // LOAD LEGGINGS
  585.                 MyLeggings_3 = new MyArmor_3(1764, MyArmorMaterial_3, 0, 2, "myarmor3").setCreativeTab(MyCreativeTab_1);
  586.                 GameRegistry.registerItem(MyLeggings_3, "MyLeggings_3");
  587.                 LanguageRegistry.addName(MyLeggings_3, "GlowStone Leggings");
  588.                
  589.                 // LOAD BOOTS
  590.                 MyBoots_3 = new MyArmor_3 (1765, MyArmorMaterial_3, 0, 3, "myarmor3").setCreativeTab(MyCreativeTab_1);
  591.                 GameRegistry.registerItem(MyBoots_3, "MyBoots_3");
  592.                 LanguageRegistry.addName(MyBoots_3, "GlowStone Boots");
  593.                
  594.         //  LOAD HELMET 2
  595.        MyHelmet_2 = new MyArmor_2(2064, MyArmorMaterial_2, 0, 0, "myarmor2").setCreativeTab(MyCreativeTab_1);
  596. GameRegistry.registerItem(MyHelmet_2, "MyHelmet_2");
  597. LanguageRegistry.addName(MyHelmet_2, "Mega Helmet");  
  598.  
  599. //  LOAD HELMET 2
  600.        MyHelmet_5 = new MyArmor_5(1351, MyArmorMaterial_5, 0, 0, "myarmor5").setCreativeTab(MyCreativeTab_1);
  601. GameRegistry.registerItem(MyHelmet_5, "MyHelmet_5");
  602. LanguageRegistry.addName(MyHelmet_5, "Netherrack Helmet");  
  603.                
  604.                 //  LOAD HELMET 2
  605.        MyHelmet_6 = new MyArmor_6(9124, MyArmorMaterial_6, 0, 0, "myarmor6").setCreativeTab(MyCreativeTab_1);
  606. GameRegistry.registerItem(MyHelmet_6, "MyHelmet_6");
  607. LanguageRegistry.addName(MyHelmet_6, "Ender Helmet");  
  608.                
  609.                 //  LOAD CHESTPLATE 2
  610.         MyChest_6 = new MyArmor_6(9125, MyArmorMaterial_6, 0, 1, "myarmor6").setCreativeTab(MyCreativeTab_1);
  611.         GameRegistry.registerItem(MyChest_6, "MyChest_6");
  612.         LanguageRegistry.addName(MyChest_6, "Ender Chestplate");
  613.                
  614.                 //  LOAD LEGGINGS 2  
  615.         MyLeggings_6 = new MyArmor_6(9126, MyArmorMaterial_6, 0, 2, "myarmor6").setCreativeTab(MyCreativeTab_1);
  616.         GameRegistry.registerItem(MyLeggings_6, "MyLeggings_6");
  617.         LanguageRegistry.addName(MyLeggings_6, "Ender Leggings");
  618.                
  619.                 //  LOAD BOOTS  
  620.         MyBoots_6 = new MyArmor_6(9127, MyArmorMaterial_6, 0, 3, "myarmor6").setCreativeTab(MyCreativeTab_1);
  621.         GameRegistry.registerItem(MyBoots_6, "MyBoots_6");
  622.         LanguageRegistry.addName(MyBoots_6, "Ender Boots");
  623.                
  624.                 //  LOAD HELMET 3
  625.        MyHelmet_3 = new MyArmor_3(20641, MyArmorMaterial_3, 0, 0, "myarmor3").setCreativeTab(MyCreativeTab_1);
  626. GameRegistry.registerItem(MyHelmet_3, "MyHelmet_3");
  627. LanguageRegistry.addName(MyHelmet_3, "GlowStone Helmet");  
  628.                
  629.                
  630.                 //  LOAD CHESTPLATE 2
  631.         MyChest_2 = new MyArmor_2(20611, MyArmorMaterial_2, 0, 1, "myarmor2").setCreativeTab(MyCreativeTab_1);
  632.         GameRegistry.registerItem(MyChest_2, "MyChest_2");
  633.         LanguageRegistry.addName(MyChest_2, "Mega Chestplate");
  634.                
  635.                 //  LOAD LEGGINGS 2  
  636.         MyLeggings_2 = new MyArmor_2(20621, MyArmorMaterial_2, 0, 2, "myarmor2").setCreativeTab(MyCreativeTab_1);
  637.         GameRegistry.registerItem(MyLeggings_2, "MyLeggings_2");
  638.         LanguageRegistry.addName(MyLeggings_2, "Mega Leggings");
  639.                
  640.                 //  LOAD BOOTS  
  641.         MyBoots_2 = new MyArmor_2(20631, MyArmorMaterial_2, 0, 3, "myarmor2").setCreativeTab(MyCreativeTab_1);
  642.         GameRegistry.registerItem(MyBoots_2, "MyBoots_2");
  643.         LanguageRegistry.addName(MyBoots_2, "Mega Boots");
  644.                
  645.                 // LOAD SHOVEL
  646.                  MyShovel = new MyShovel(29519, MyToolMaterial2, "MyShovel").setCreativeTab(MyCreativeTab_1);
  647.      GameRegistry.registerItem(MyShovel, "MyShovel");
  648.      LanguageRegistry.addName(MyShovel, "Mega Shovel");
  649.                
  650.                
  651.                 //  LOAD HELMET
  652.         MyHelmet_1 = new MyArmor(2060, MyArmorMaterial_1, 0, 0, "myarmor").setCreativeTab(MyCreativeTab_1);
  653.         GameRegistry.registerItem(MyHelmet_1, "MyHelmet_1");
  654.         LanguageRegistry.addName(MyHelmet_1, "Sapphire Helmet");      
  655.    
  656.    
  657. //  LOAD CHESTPLATE
  658.         MyChest_1 = new MyArmor(2061, MyArmorMaterial_1, 0, 1, "myarmor").setCreativeTab(MyCreativeTab_1);
  659.         GameRegistry.registerItem(MyChest_1, "MyChest_1");
  660.         LanguageRegistry.addName(MyChest_1, "Sapphire Chestplate");
  661.  
  662. //  LOAD LEGGINGS    
  663.         MyLeggings_1 = new MyArmor(2062, MyArmorMaterial_1, 0, 2, "myarmor").setCreativeTab(MyCreativeTab_1);
  664.         GameRegistry.registerItem(MyLeggings_1, "MyLeggings_1");
  665.         LanguageRegistry.addName(MyLeggings_1, "Sapphire Leggings");
  666.  
  667. //  LOAD BOOTS  
  668.         MyBoots_1 = new MyArmor(2063, MyArmorMaterial_1, 0, 3, "myarmor").setCreativeTab(MyCreativeTab_1);
  669.         GameRegistry.registerItem(MyBoots_1, "MyBoots_1");
  670.         LanguageRegistry.addName(MyBoots_1, "Sapphire Boots");
  671.        
  672.        
  673.         //  LOAD HELMET
  674.         MyHelmet_4 = new MyArmor_4(854, MyArmorMaterial_4, 0, 0, "myarmor4").setCreativeTab(MyCreativeTab_1);
  675.         GameRegistry.registerItem(MyHelmet_4, "MyHelmet_4");
  676.         LanguageRegistry.addName(MyHelmet_4, "Ruby Helmet");      
  677.    
  678. //  LOAD CHESTPLATE
  679.         MyChest_4 = new MyArmor_4(853, MyArmorMaterial_4, 0, 1, "myarmor4").setCreativeTab(MyCreativeTab_1);
  680.         GameRegistry.registerItem(MyChest_4, "MyChest_4");
  681.         LanguageRegistry.addName(MyChest_4, "Ruby Chestplate");
  682.  
  683. //  LOAD LEGGINGS    
  684.         MyLeggings_4 = new MyArmor_4(852, MyArmorMaterial_4, 0, 2, "myarmor4").setCreativeTab(MyCreativeTab_1);
  685.         GameRegistry.registerItem(MyLeggings_4, "MyLeggings_4");
  686.         LanguageRegistry.addName(MyLeggings_4, "Ruby Leggings");
  687.  
  688. //  LOAD BOOTS  
  689.         MyBoots_4 = new MyArmor_4(851, MyArmorMaterial_4, 0, 3, "myarmor4").setCreativeTab(MyCreativeTab_1);
  690.         GameRegistry.registerItem(MyBoots_4, "MyBoots_4");
  691.         LanguageRegistry.addName(MyBoots_4, "Ruby Boots");
  692.        
  693.        
  694. //  LOAD BIOME
  695.         MyBiome_1 = new MyBiome(30);
  696.         GameRegistry.addBiome(MyBiome_1);
  697.        
  698.        
  699.      // LOAD NIO BIOME
  700.       MyNioBiome = new MyNioBiome(31);
  701.       GameRegistry.addBiome(MyNioBiome);  
  702.        
  703.        
  704.         //  REGISTER YOUR ENTITY
  705.         EntityRegistry.registerGlobalEntityID(MyEntityOgre.class, "Golem Of Death", EntityRegistry.findGlobalUniqueEntityId());
  706.         EntityRegistry.addSpawn(MyEntityOgre.class, 500, 10, 15, EnumCreatureType.monster, BiomeGenBase.desert);  
  707.         EntityRegistry.addSpawn(MyEntityOgre.class, 500, 10, 15, EnumCreatureType.monster, MyBiome_1);  
  708.         registerEntityEgg(MyEntityOgre.class, (new Color(255, 255, 255)).getRGB(), (new Color(0, 0, 0)).getRGB());
  709.         RenderingRegistry.registerEntityRenderingHandler(MyEntityOgre.class, new MyRenderOgre(new MyModelOgre(), 0.3F));
  710.         ModLoader.addLocalization("entity.Golem Of Death.name", "Golem Of Death");
  711.        
  712.          //  REGISTER YOUR ENTITY
  713.         EntityRegistry.registerGlobalEntityID(MyEntityAbe.class, "Ape", EntityRegistry.findGlobalUniqueEntityId());
  714.         EntityRegistry.addSpawn(MyEntityAbe.class, 88, 6, 12, EnumCreatureType.monster, BiomeGenBase.jungle);
  715.         EntityRegistry.addSpawn(MyEntityAbe.class, 88, 6, 12, EnumCreatureType.monster, BiomeGenBase.jungleHills);
  716.         EntityRegistry.addSpawn(MyEntityAbe.class, 5, 1, 5, EnumCreatureType.monster, MyBiome_1);    
  717.         registerEntityEgg(MyEntityAbe.class, (new Color(97, 71, 52)).getRGB(), (new Color(151, 137, 111)).getRGB());
  718.         RenderingRegistry.registerEntityRenderingHandler(MyEntityAbe.class, new MyRenderAbe(new MyModelAbe(), 0.3F));
  719.         ModLoader.addLocalization("entity.Ape.name", "Ape");
  720.  
  721.  
  722. //  REGISTER YOUR ENTITY 3
  723.         EntityRegistry.registerGlobalEntityID(EntityBeardedDragon.class, "Bearded Dragon", EntityRegistry.findGlobalUniqueEntityId());
  724.         EntityRegistry.addSpawn(EntityBeardedDragon.class, 88, 6, 12, EnumCreatureType.monster, BiomeGenBase.desert);
  725.         EntityRegistry.addSpawn(EntityBeardedDragon.class, 88, 6, 12, EnumCreatureType.monster, BiomeGenBase.desertHills);
  726.         EntityRegistry.addSpawn(EntityBeardedDragon.class, 5, 1, 5, EnumCreatureType.monster, MyBiome_1);    
  727.         registerEntityEgg(EntityBeardedDragon.class, (new Color(99, 74, 57)).getRGB(), (new Color(249, 255, 0)).getRGB());
  728.         RenderingRegistry.registerEntityRenderingHandler(EntityBeardedDragon.class, new RenderBeardedDragon(new ModelBeardedDragon(), 0.3F));
  729.         ModLoader.addLocalization("entity.Bearded Dragon.name", "Bearded Dragon");
  730.        
  731.        
  732.        
  733.        
  734.                 //      LOAD THE ACHIEVEMENTS
  735.                 MyAchievement_1 = new Achievement(2001, "MyAchievement_1", 8, 12, MyItem_2, AchievementList.theEnd2).registerAchievement();
  736.             MyAchievement_2 = new Achievement(2002, "MyAchievement_2", -3, 3, MyBlock_2, AchievementList.acquireIron).registerAchievement();
  737.             MyAchievement_3 = new Achievement(2003, "MyAchievement_3", -3, -5, MyFood_3, AchievementList.bakeCake).registerAchievement();
  738.                 //      (id, "NameOfAchievement", x, y coordinates on Achievement map, icon, Required Achievement to unlock)
  739.                 //      For no Pre-required achievement, use "(Achievement)null"
  740.                
  741.                
  742.        
  743.        
  744. /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */      
  745.  
  746.         }
  747.  
  748. @EventHandler
  749.         public static void init( FMLInitializationEvent event )
  750.         {
  751.        
  752. /**    
  753.  * RECIPES SECTION
  754.  * *********************************************************** */
  755.  // AXE RECIPE 3
  756.        GameRegistry.addRecipe(new ItemStack(MyAxe_3,1), new Object[]
  757.                    {
  758.                    "XX",
  759.                "SX",
  760.                "S ",
  761.           'S', Item.stick,
  762.           'X', Item.glowstone,
  763.                    });
  764.                    
  765.                     // AXE RECIPE 3
  766.        GameRegistry.addRecipe(new ItemStack(MyShovel6,1), new Object[]
  767.                    {
  768.                    "XAX",
  769.                "ABA",
  770.                "XAX",
  771.           'B', MyShovel,
  772.           'X', MyShovel5,
  773.           'A', Block.blockDiamond,
  774.                    });
  775.                    
  776.                    // AXE RECIPE 5
  777.        GameRegistry.addRecipe(new ItemStack(MyAxe_5,1), new Object[]
  778.                    {
  779.                    "XX",
  780.                "SX",
  781.                "S ",
  782.           'S', Item.stick,
  783.           'X', MyItem_5,
  784.                    });
  785.                    
  786.                
  787.                // AXE RECIPE 3
  788.        GameRegistry.addRecipe(new ItemStack(MyAxe_3,1), new Object[]
  789.                    {
  790.                    "XX",
  791.                "SX",
  792.                "S ",
  793.           'S', Item.stick,
  794.           'X', MyItem_3,
  795.                    });
  796.                
  797. //  SWORD RECIPE  2
  798.         GameRegistry.addRecipe(new ItemStack(MySword_2, 1), new Object[]
  799.         {
  800.                 "X",
  801.                 "X",
  802.                 "S",
  803.             'S', Item.stick,
  804.             'X', MyItem_2,
  805.         });
  806.  
  807. //  SWORD RECIPE  2
  808.         GameRegistry.addRecipe(new ItemStack(MySword_4, 1), new Object[]
  809.         {
  810.                 "X",
  811.                 "X",
  812.                 "S",
  813.             'S', Item.stick,
  814.             'X', MyItem_3,
  815.         });
  816.  
  817. //SWORD RECIPE 3
  818.     GameRegistry.addRecipe(new ItemStack(MySword_3, 1), new Object[]
  819.                 {
  820.                  "X",
  821.                  "X",
  822.                  "S",    
  823.        'S', Item.stick,
  824.        'X', Item.glowstone,
  825.                 });
  826.  
  827. //  AXE RECIPE
  828.         GameRegistry.addRecipe(new ItemStack(MyAxe, 1), new Object[]
  829.         {
  830.                 " XX",
  831.                 " SX",
  832.                 " S ",
  833.             'S', Item.stick,
  834.             'X', MyItem_2,
  835.         });
  836.  
  837. //  MEGA STONE RECIPE  
  838.         GameRegistry.addRecipe(new ItemStack(MyItem_2, 1), new Object[]
  839.         {
  840.                 "YYY",
  841.                 "YXY",
  842.                 "YYY",
  843.             'X', MyBlock_2,
  844.             'Y', Item.netherStar
  845.         });
  846.        
  847.         //  MEGA STONE RECIPE  
  848.         GameRegistry.addRecipe(new ItemStack(MyPickaxe_6, 1), new Object[]
  849.         {
  850.                 "XXX",
  851.                 " Y ",
  852.                 " Y ",
  853.             'X', MyItem_6,
  854.             'Y', Item.stick
  855.         });
  856.        
  857.         //  MEGA STONE RECIPE  
  858.         GameRegistry.addRecipe(new ItemStack(MyAxe_6, 1), new Object[]
  859.         {
  860.                 "XX",
  861.                 "YX",
  862.                 "Y ",
  863.             'X', MyItem_6,
  864.             'Y', Item.stick
  865.         });
  866.        
  867.         // NIGHTS EDGE RECIPE
  868.         GameRegistry.addRecipe(new ItemStack(MySword_5, 1), new Object[]
  869.                         {
  870.                         "X",
  871.                 "X",
  872.                 "Y",
  873.              'X', MyItem_4,
  874.              'Y', Item.stick,
  875.                         });
  876.                
  877.                 // NIGHT SHARD RECIPE
  878.                 GameRegistry.addRecipe(new ItemStack(MyItem_4, 1), new Object[]
  879.                                 {
  880.                                 "XXX",
  881.                         "XYX",
  882.                         "XXX",
  883.                         'X', Item.enderPearl,
  884.                         'Y', Item.eyeOfEnder,
  885.                                 });
  886. //  SWORD RECIPE  
  887.         GameRegistry.addRecipe(new ItemStack(MySword_1, 1), new Object[]
  888.         {
  889.                 " X ",
  890.                 "XXX",
  891.                 " S ",
  892.             'S', Item.stick,
  893.             'X', MyItem_1,
  894.         });
  895.        
  896.         // NETHER SHARD RECIPE
  897.         GameRegistry.addRecipe(new ItemStack(MyItem_5, 1), new Object[]
  898.                         {
  899.                         "S",
  900.                 'S', Block.netherrack
  901.                         });
  902.                
  903. //  PICKAXE RECIPE  
  904.         GameRegistry.addRecipe(new ItemStack(MyPickaxe_1, 1), new Object[]
  905.         {
  906.                 "XXX",
  907.                 " S ",
  908.                 " S ",
  909.             'S', Item.stick,
  910.             'X', MyItem_1,
  911.         });
  912.        
  913.         //  PICKAXE RECIPE  
  914.         GameRegistry.addRecipe(new ItemStack(MyPickaxe_5, 1), new Object[]
  915.         {
  916.                 "XXX",
  917.                 " S ",
  918.                 " S ",
  919.             'S', Item.stick,
  920.             'X', MyItem_5,
  921.         });
  922.        
  923.         //  PICKAXE RECIPE   2
  924.         GameRegistry.addRecipe(new ItemStack(MyPickaxe_2, 1), new Object[]
  925.         {
  926.                 "XXX",
  927.                 " S ",
  928.                 " S ",
  929.             'S', Item.stick,
  930.             'X', MyItem_2,
  931.         });
  932.        
  933.         //  ENDER STAFF RECIPE
  934.         GameRegistry.addRecipe(new ItemStack(MyEnderStaff, 1), new Object[]
  935.         {
  936.                 "ZZZ",
  937.                 "XXX",
  938.                 "OSO",
  939.             'S', Item.netherStar,
  940.             'X', Item.enderPearl,
  941.             'Z', Item.eyeOfEnder,
  942.             'O', Block.obsidian,
  943.         });
  944.        
  945.        
  946.          //  Sword RECIPE   6
  947.         GameRegistry.addRecipe(new ItemStack(MySword_6, 1), new Object[]
  948.         {
  949.                 "X",
  950.                 "X",
  951.                 "S",
  952.             'S', Item.stick,
  953.             'X', MyItem_5,
  954.         });
  955.        
  956.        
  957. //  FOOD RECIPE        
  958.         GameRegistry.addRecipe(new ItemStack(MyFood_1, 1), new Object[]
  959.         {
  960.                 " X ",
  961.                 " S ",
  962.                 " X ",
  963.             'S', Item.beefCooked,
  964.             'X', Item.bread        
  965.         });
  966.        
  967.        
  968.         //  FOOD RECIPE        
  969.         GameRegistry.addRecipe(new ItemStack(MyItem_6, 1), new Object[]
  970.         {
  971.                 "X",
  972.             'X', Block.whiteStone
  973.         });
  974.        
  975.         //  FOOD RECIPE        
  976.         GameRegistry.addRecipe(new ItemStack(MyFood_2, 1), new Object[]
  977.         {
  978.                 " Y ",
  979.                 " S ",
  980.                 " X ",
  981.             'S', MyFood_3,
  982.             'X', Item.bread,
  983.             'Y', Item.sugar      
  984.         });
  985.        
  986.         //  FOOD RECIPE        
  987.         GameRegistry.addRecipe(new ItemStack(MySword_8, 1), new Object[]
  988.         {
  989.                 "S",
  990.                 "S",
  991.                 "X",
  992.             'S', Item.netherStar,
  993.             'X', Item.stick,      
  994.         });
  995.        
  996.         //  FOOD RECIPE        
  997.         GameRegistry.addRecipe(new ItemStack(MyFood_3, 1), new Object[]
  998.         {
  999.                 " X ",
  1000.                 " S ",
  1001.                 " X ",
  1002.             'S', Item.porkCooked,
  1003.             'X', Item.porkRaw        
  1004.         });
  1005.        
  1006.         //  SMELTING RECIPE
  1007.         GameRegistry.addSmelting(MyBlock_1.blockID, (new ItemStack(MyItem_1, 1)), 20);
  1008.        
  1009.         // SMELTING RECIPE 2
  1010.         GameRegistry.addSmelting(MyBlock_3.blockID, (new ItemStack(MyItem_3, 1)), 21);
  1011.        
  1012.         //  HELMET RECIPE  
  1013.     GameRegistry.addRecipe(new ItemStack(MyHelmet_1, 1), new Object[]
  1014.     {
  1015.             "XXX",
  1016.             "X X",
  1017.         'X', MyItem_1,
  1018.     });        
  1019.    
  1020.        //  HELMET RECIPE  
  1021.     GameRegistry.addRecipe(new ItemStack(MyHelmet_6, 1), new Object[]
  1022.     {
  1023.             "XXX",
  1024.             "X X",
  1025.         'X', MyItem_6,
  1026.     });        
  1027.    
  1028.     //  HELMET RECIPE  
  1029.     GameRegistry.addRecipe(new ItemStack(MyChest_6, 1), new Object[]
  1030.     {
  1031.             "X X",
  1032.             "XXX",
  1033.             "XXX",
  1034.         'X', MyItem_6,
  1035.     });  
  1036.    
  1037.      //  HELMET RECIPE  
  1038.     GameRegistry.addRecipe(new ItemStack(MyLeggings_6, 1), new Object[]
  1039.     {
  1040.             "XXX",
  1041.             "X X",
  1042.             "X X",
  1043.         'X', MyItem_6,
  1044.     });
  1045.    
  1046.     //  HELMET RECIPE  
  1047.     GameRegistry.addRecipe(new ItemStack(MyBoots_6, 1), new Object[]
  1048.     {
  1049.             "X X",
  1050.             "X X",
  1051.         'X', MyItem_6,
  1052.     });        
  1053.    
  1054.            //  HELMET RECIPE  
  1055.     GameRegistry.addRecipe(new ItemStack(MyHelmet_5, 1), new Object[]
  1056.     {
  1057.             "XXX",
  1058.             "X X",
  1059.         'X', MyItem_5,
  1060.     });        
  1061.    
  1062.     //  HELMET RECIPE  
  1063.     GameRegistry.addRecipe(new ItemStack(MyHelmet_4, 1), new Object[]
  1064.     {
  1065.             "XXX",
  1066.             "X X",
  1067.         'X', MyItem_3,
  1068.     });        
  1069.    
  1070.     //  HELMET RECIPE  
  1071.     GameRegistry.addRecipe(new ItemStack(MyChest_4, 1), new Object[]
  1072.     {
  1073.             "X X",
  1074.             "XXX",
  1075.             "XXX",
  1076.         'X', MyItem_3,
  1077.     });    
  1078.    
  1079.     //  HELMET RECIPE  
  1080.     GameRegistry.addRecipe(new ItemStack(MyChest_5, 1), new Object[]
  1081.     {
  1082.             "X X",
  1083.             "XXX",
  1084.             "XXX",
  1085.         'X', MyItem_5,
  1086.     });        
  1087.    
  1088.      //  HELMET RECIPE  
  1089.     GameRegistry.addRecipe(new ItemStack(MyLeggings_5, 1), new Object[]
  1090.     {
  1091.             "XXX",
  1092.             "X X",
  1093.             "X X",
  1094.         'X', MyItem_5,
  1095.     });
  1096.    
  1097.     //  HELMET RECIPE  
  1098.     GameRegistry.addRecipe(new ItemStack(MyLeggings_4, 1), new Object[]
  1099.     {
  1100.             "XXX",
  1101.             "X X",
  1102.             "X X",
  1103.         'X', MyItem_3,
  1104.     });        
  1105.  
  1106. //  HELMET RECIPE  
  1107.     GameRegistry.addRecipe(new ItemStack(MyBoots_5, 1), new Object[]
  1108.     {
  1109.             "X X",
  1110.             "X X",
  1111.         'X', MyItem_5,
  1112.     });        
  1113.  
  1114. //  HELMET RECIPE  
  1115.     GameRegistry.addRecipe(new ItemStack(MyBoots_4, 1), new Object[]
  1116.     {
  1117.             "X X",
  1118.             "X X",
  1119.         'X', MyItem_3,
  1120.     });        
  1121.  
  1122. //  NIO BLOCK RECIPE  
  1123.     GameRegistry.addRecipe(new ItemStack(MyBlock_2, 1), new Object[]
  1124.     {
  1125.             "CIC",
  1126.             "IMI",
  1127.             "CIC",
  1128.         'M', Block.glass,  
  1129.         'I', Block.redstoneLampIdle,
  1130.         'C', Item.redstone
  1131.     });        
  1132.  
  1133.  
  1134. //  CHESTPLATE RECIPE  
  1135.     GameRegistry.addRecipe(new ItemStack(MyChest_1, 1), new Object[]
  1136.     {
  1137.             "X X",
  1138.             "XXX",
  1139.             "XXX",
  1140.         'X', MyItem_1,
  1141.     });        
  1142.  
  1143. //  LEGGINGS RECIPE
  1144.     GameRegistry.addRecipe(new ItemStack(MyLeggings_1, 1), new Object[]
  1145.     {
  1146.             "XXX",
  1147.             "X X",
  1148.             "X X",
  1149.         'X', MyItem_1,
  1150.     });        
  1151.  
  1152. //  BOOTS RECIPE    
  1153.     GameRegistry.addRecipe(new ItemStack(MyBoots_1, 1), new Object[]
  1154.     {
  1155.             "X X",
  1156.             "X X",
  1157.         'X', MyItem_1,
  1158.     });
  1159.        
  1160. //  CHESTPLATE 2 RECIPE    
  1161.     GameRegistry.addRecipe(new ItemStack(MyChest_2, 1), new Object[]
  1162.     {
  1163.             "X X",
  1164.             "XXX",
  1165.             "XXX",
  1166.         'X', MyItem_2,
  1167.     });
  1168.  
  1169. //  HELMET 2 RECIPE    
  1170.     GameRegistry.addRecipe(new ItemStack(MyHelmet_2, 1), new Object[]
  1171.     {
  1172.             "XXX",
  1173.             "X X",
  1174.         'X', MyItem_2,
  1175.     });
  1176.  
  1177. //  LEGGINGS RECIPE
  1178.     GameRegistry.addRecipe(new ItemStack(MyLeggings_2, 1), new Object[]
  1179.     {
  1180.             "XXX",
  1181.             "X X",
  1182.             "X X",
  1183.         'X', MyItem_2,
  1184.     });        
  1185.  
  1186. //  BOOTS RECIPE    
  1187.     GameRegistry.addRecipe(new ItemStack(MyBoots_2, 1), new Object[]
  1188.     {
  1189.             "X X",
  1190.             "X X",
  1191.         'X', MyItem_2,
  1192.     });
  1193.    
  1194. // SHOVEL RECIPE    
  1195.     GameRegistry.addRecipe(new ItemStack(MyShovel, 1), new Object[]
  1196.     {
  1197.             "X",
  1198.             "Y",
  1199.             "Y",
  1200.         'X', MyItem_2,
  1201.         'Y', Item.stick
  1202.     });
  1203.    
  1204.     // SHOVEL RECIPE    
  1205.     GameRegistry.addRecipe(new ItemStack(MyShovel5, 1), new Object[]
  1206.     {
  1207.             "X",
  1208.             "Y",
  1209.             "Y",
  1210.         'X', MyItem_5,
  1211.         'Y', Item.stick
  1212.     });
  1213.    
  1214.     // SHOVEL RECIPE    2
  1215.     GameRegistry.addRecipe(new ItemStack(MyShovel2, 1), new Object[]
  1216.     {
  1217.             "X",
  1218.             "Y",
  1219.             "Y",
  1220.         'X', MyItem_1,
  1221.         'Y', Item.stick
  1222.     });
  1223.    
  1224.     // SHOVEL RECIPE    3
  1225.     GameRegistry.addRecipe(new ItemStack(MyShovel3, 1), new Object[]
  1226.     {
  1227.             "X",
  1228.             "Y",
  1229.             "Y",
  1230.         'X', Item.glowstone,
  1231.         'Y', Item.stick
  1232.     });
  1233.    
  1234.    
  1235.     // SHOVEL RECIPE    4
  1236.     GameRegistry.addRecipe(new ItemStack(MyShovel4, 1), new Object[]
  1237.     {
  1238.             "X",
  1239.             "Y",
  1240.             "Y",
  1241.         'X', MyItem_3,
  1242.         'Y', Item.stick
  1243.     });
  1244.    
  1245.     //  AXE RECIPE
  1246.         GameRegistry.addRecipe(new ItemStack(MyAxe2, 1), new Object[]
  1247.         {
  1248.                 " XX",
  1249.                 " SX",
  1250.                 " S ",
  1251.             'S', Item.stick,
  1252.             'X', MyItem_1,
  1253.         });
  1254.    
  1255.     //  HELMET 3 RECIPE    
  1256.     GameRegistry.addRecipe(new ItemStack(MyHelmet_3, 1), new Object[]
  1257.     {
  1258.             "XXX",
  1259.             "X X",
  1260.         'X', Item.glowstone,
  1261.     });
  1262.    
  1263.     //  CHEST 3 RECIPE    
  1264.     GameRegistry.addRecipe(new ItemStack(MyChest_3, 1), new Object[]
  1265.     {
  1266.             "X X",
  1267.             "XXX",
  1268.             "XXX",
  1269.         'X', Item.glowstone,
  1270.     });
  1271.    
  1272.     //  LEGGINGS 3 RECIPE    
  1273.     GameRegistry.addRecipe(new ItemStack(MyLeggings_3, 1), new Object[]
  1274.     {
  1275.             "XXX",
  1276.             "X X",
  1277.             "X X",
  1278.         'X', Item.glowstone,
  1279.     });
  1280.    
  1281.     //  BOOTS 3 RECIPE    
  1282.     GameRegistry.addRecipe(new ItemStack(MyBoots_3, 1), new Object[]
  1283.     {
  1284.             "X X",
  1285.             "X X",
  1286.         'X', Item.glowstone,
  1287.     });
  1288.    
  1289.     //  PICKAXE 3 RECIPE
  1290.         GameRegistry.addRecipe(new ItemStack(MyPickaxe_3, 1), new Object[]
  1291.         {
  1292.                 "XXX",
  1293.                 " S ",
  1294.                 " S ",
  1295.             'S', Item.stick,
  1296.             'X', Item.glowstone,
  1297.         });
  1298.    
  1299.                  
  1300.                  //  PICKAXE 3 RECIPE
  1301.         GameRegistry.addRecipe(new ItemStack(MySword_7, 1), new Object[]
  1302.         {
  1303.                 " X ",
  1304.                 " X ",
  1305.                 " S ",
  1306.             'S', Item.stick,
  1307.             'X', MyItem_6,
  1308.         });
  1309.    
  1310. /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */      
  1311.  
  1312.        
  1313. /**    
  1314.  * EXTRA METHODS SECTION
  1315.  * *********************************************************** */
  1316.  
  1317.  
  1318.         //  REGISTER THE ORE GENERATION
  1319.     GameRegistry.registerWorldGenerator(new MyBlockGen());
  1320.    
  1321.     //  CHANGE THE TEXT OF THE ACHIEVEMENT     
  1322.         LanguageRegistry.instance().addStringLocalization("achievement.MyAchievement_1", "en_US", "You Have Been Playing For a While");
  1323.         LanguageRegistry.instance().addStringLocalization("achievement.MyAchievement_1.desc", "en_US", "Achieve Mega Stone");
  1324.         LanguageRegistry.instance().addStringLocalization("achievement.MyAchievement_2", "en_US", "Nio Goodness");
  1325.         LanguageRegistry.instance().addStringLocalization("achievement.MyAchievement_2.desc", "en_US", "Aquire a Nio Block");
  1326.         LanguageRegistry.instance().addStringLocalization("achievement.MyAchievement_3", "en_US", "Bacon, YEAH!");
  1327.         LanguageRegistry.instance().addStringLocalization("achievement.MyAchievement_3.desc", "en_US", "Get Bacon From 1 Cooked Porkchop and 2 Raw Porkchops");
  1328.  
  1329.  
  1330.  //  REGISTER PICKUP HANDLER
  1331.         MyPickupHandler MyPickupHandler_1 = new MyPickupHandler();
  1332.         GameRegistry.registerPickupHandler(MyPickupHandler_1);  
  1333.        
  1334.         //  REGISTER CRAFTING HANDLER
  1335.         MyCraftingHandler MyCraftingHandler_1 = new MyCraftingHandler();
  1336.         GameRegistry.registerCraftingHandler(MyCraftingHandler_1);  
  1337.  
  1338.           //  REGISTER CRAFTING HANDLER
  1339.         MyCraftingHandler MyCraftingHandler_2 = new MyCraftingHandler();
  1340.         GameRegistry.registerCraftingHandler(MyCraftingHandler_2);  
  1341.  
  1342. //  CHANGE TAB NAME
  1343.         LanguageRegistry.instance().addStringLocalization("itemGroup.MyCreativeTab_1", "en_US", "InfiniCraft");  
  1344.  
  1345. proxy.RegisterRandomStuff();
  1346. /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */      
  1347.  
  1348.        
  1349.         }
  1350.  
  1351. @EventHandler
  1352.         public static void postInit( FMLPostInitializationEvent event )
  1353.         {
  1354.  
  1355.         }
  1356.        
  1357. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top