Advertisement
Guest User

Untitled

a guest
Mar 1st, 2015
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.54 KB | None | 0 0
  1. package mymod.main;
  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.armor.orcanArmor;
  12. import mymod.biome.MyBiome_1;
  13. import mymod.biome.NioBiome;
  14. import mymod.blocks.MyBlock;
  15. import mymod.blocks.MyBlockGen;
  16. import mymod.blocks.MyBlockGenRuby;
  17. import mymod.blocks.MyBlock_2;
  18. import mymod.blocks.orcanBlock;
  19. import mymod.blocks.orcanBlockGen;
  20. import mymod.entity.BeardedDragon.EntityBeardedDragon;
  21. import mymod.entity.EntityRifleBolt.EntityRifleBolt;
  22. import mymod.entity.ape.MyEntityApe;
  23. import mymod.entity.ogre.MyEntityOgre;
  24. import mymod.items.MyAxe;
  25. import mymod.items.MyFood;
  26. import mymod.items.MyItem;
  27. import mymod.items.MyPickaxe;
  28. import mymod.items.MyShovel;
  29. import mymod.items.MySword;
  30. import mymod.proxies.CommonProxy;
  31. import net.minecraft.block.Block;
  32. import net.minecraft.block.material.Material;
  33. import net.minecraft.client.Minecraft;
  34. import net.minecraft.creativetab.CreativeTabs;
  35. import net.minecraft.entity.Entity;
  36. import net.minecraft.entity.EntityList;
  37. import net.minecraft.entity.EntityList.EntityEggInfo;
  38. import net.minecraft.entity.EnumCreatureType;
  39. import net.minecraft.init.Blocks;
  40. import net.minecraft.init.Items;
  41. import net.minecraft.item.Item;
  42. import net.minecraft.item.Item.ToolMaterial;
  43. import net.minecraft.item.ItemArmor.ArmorMaterial;
  44. import net.minecraft.item.ItemStack;
  45. import net.minecraft.stats.Achievement;
  46. import net.minecraft.stats.AchievementList;
  47. import net.minecraft.world.biome.BiomeGenBase;
  48. import net.minecraftforge.common.AchievementPage;
  49. import net.minecraftforge.common.BiomeManager;
  50. import net.minecraftforge.common.BiomeManager.BiomeEntry;
  51. import net.minecraftforge.common.MinecraftForge;
  52. import net.minecraftforge.common.util.EnumHelper;
  53. import net.minecraftforge.oredict.OreDictionary;
  54. import net.minecraftforge.oredict.ShapedOreRecipe;
  55. import cpw.mods.fml.common.Mod;
  56. import cpw.mods.fml.common.Mod.EventHandler;
  57. import cpw.mods.fml.common.Mod.Instance;
  58. import cpw.mods.fml.common.SidedProxy;
  59. import cpw.mods.fml.common.event.FMLInitializationEvent;
  60. import cpw.mods.fml.common.event.FMLPostInitializationEvent;
  61. import cpw.mods.fml.common.event.FMLPreInitializationEvent;
  62. import cpw.mods.fml.common.registry.EntityRegistry;
  63. import cpw.mods.fml.common.registry.GameRegistry;
  64. import cpw.mods.fml.common.registry.LanguageRegistry;
  65. import cpw.mods.fml.relauncher.Side;
  66.  
  67.  
  68. /* MOD INFO */
  69. @Mod(modid = mymod.main.Main.MODID, version = Main.VERSION)
  70. public class Main {
  71. /* PROXY INFO */
  72. @SidedProxy(clientSide="mymod.proxies.ClientProxy", serverSide="mymod.proxies.CommonProxy")
  73. public static CommonProxy proxy;
  74. /**
  75. * DECLARATION SECTION
  76. * *********************************************************** */
  77. public static final String MODID = "InfiniCraft";
  78. public static final String VERSION = "1.1";
  79.  
  80. public static Block MyBlock_1 = (Block)Block.blockRegistry.getObject("MyBlock_1");
  81. public static Block MyBlock_2 = (Block)Block.blockRegistry.getObject("MyBlock_2");
  82. public static Block MyBlock_3 = (Block)Block.blockRegistry.getObject("MyBlock_3");
  83.  
  84. public static final BiomeGenBase.Height height_Nio = new BiomeGenBase.Height(0.9F, 1.3F);
  85.  
  86. public static Item pulseRifle;
  87. public static Item pulseAmmo;
  88. public static Item pulseBullet;
  89. public static Item fireStaff;
  90. public static Item lightningStaff;
  91. public static BiomeGenBase MyBiome_1;
  92. public static BiomeGenBase NioBiome;
  93. public static Item orcanAxe;
  94. public static Item orcanShovel;
  95. public static Item orcanPickaxe;
  96. public static Item orcanIngot;
  97. public static Block orcanBlock;
  98. public static Item orcanSword;
  99. public static Item MyArmor_1;
  100. public static Item MyAxe_4;
  101. public static Item MyAxe_6;
  102. public static Item MyItem_6;
  103. public static Item MySword_2;
  104. public static Item MySword_7;
  105. public static Item MySword_1;
  106. public static Item MyPickaxe_1;
  107. public static Item MyShovel6;
  108. public static Item MyShovel7;
  109. public static Item MyPickaxe_3;
  110. public static Item MyPickaxe_2;
  111. public static Item MyAxe_3;
  112. public static Item MyAxe;
  113. public static Item MySword_6;
  114. public static Item MySword_5;
  115. public static Item MyItem_4;
  116. public static Item MyAxe_5;
  117. public static Item MyItem_1;
  118. public static Item MyItem_2;
  119. public static Item MySword_8;
  120. public static Item MyItem_3;
  121. public static Item MyFood_1;
  122. public static Item MyFood_2;
  123. public static Item orcanHelmet;
  124. public static Item orcanChestplate;
  125. public static Item orcanLeggings;
  126. public static Item orcanBoots;
  127. public static Item MyHelmet_1;
  128. public static Item MyChest_1;
  129. public static Item MyLeggings_1;
  130. public static Item MyBoots_1;
  131. public static Item MyHelmet_6;
  132. public static Item MyChest_6;
  133. public static Item MyLeggings_6;
  134. public static Item MyBoots_6;
  135. public static Item MyHelmet_2;
  136. public static Item MyChest_2;
  137. public static Item MyLeggings_2;
  138. public static Item MyBoots_2;
  139. public static Item MyHelmet_3;
  140. public static Item MyChest_3;
  141. public static Item MyLeggings_3;
  142. public static Item MyBoots_3;
  143. public static Item MyHelmet_4;
  144. public static Item MyChest_4;
  145. public static Item MyLeggings_4;
  146. public static Item MyBoots_4;
  147. public static Item MyHelmet_5;
  148. public static Item MyChest_5;
  149. public static Item MyLeggings_5;
  150. public static Item MyBoots_5;
  151. public static Item MyEnderStaff;
  152. public static Item MyItem_5;
  153. public static Item MySword_4;
  154. public static Item MyShovel2;
  155. public static Item MyShovel5;
  156. public static Item MyShovel;
  157. public static Item MyAxe2;
  158. public static Item MyShovel3;
  159. public static Item MyPickaxe_4;
  160. public static Item MyFood_3;
  161. public static Item MySword_3;
  162. public static Item MyShovel4;
  163. public static Item MyPickaxe_5;
  164. public static Item MyPickaxe_6;
  165. public static Achievement MyAchievement_1;
  166. public static Achievement MyAchievement_2;
  167. public static Achievement MyAchievement_3;
  168. public static CreativeTabs infinicraftMain;
  169. public static CreativeTabs infinicraftTech;
  170. public static CreativeTabs infinicraftMagic;
  171.  
  172. int modEntityID = 0;
  173. static int MyEntityID = 300;
  174. public static int getUniqueEntityId() {
  175. do {
  176. MyEntityID++;
  177. }
  178. while (EntityList.getStringFromID(MyEntityID) != null);
  179. return MyEntityID++;
  180. }
  181. public static void registerEntityEgg(Class <? extends Entity> entity, int PrimaryColor, int secondaryColor) {
  182. int id = getUniqueEntityId();
  183. EntityList.IDtoClassMapping.put(id, entity);
  184. EntityList.entityEggs.put(id, new EntityEggInfo(id, PrimaryColor, secondaryColor));
  185. }
  186.  
  187. /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  188. public static ToolMaterial MyToolMaterial = EnumHelper.addToolMaterial("Sapphire", 3, 10000, 20.0F, 50.0F, 15);
  189. /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  190. public static ToolMaterial MyToolMaterial5 = EnumHelper.addToolMaterial("Ruby", 3, 1568, 16.0F, 7.0F, 15);
  191. /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  192. public static ToolMaterial MyToolMaterial2 = EnumHelper.addToolMaterial("Mega Stone", 3, 5000, 150.0F, 500.0F, 12);
  193. /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  194. public static ToolMaterial orcanToolMaterial = EnumHelper.addToolMaterial("Orcan", 2, 325, 6.0F, 4.0F, 7);
  195. /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  196. public static ToolMaterial MyToolMaterial6 = EnumHelper.addToolMaterial("Night Shard", 3, 500, 150.0F, 36.0F, 21);
  197. /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  198. public static ToolMaterial MyToolMaterial10 = EnumHelper.addToolMaterial("Take em'", 3, 750, 15.0F, 4.0F, 21);
  199. /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  200. public static ToolMaterial MyToolMaterial7 = EnumHelper.addToolMaterial("netherrack", 2, 158, 10.0F, 1.0F, 6);
  201. /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability*/
  202. public static ToolMaterial MyToolMaterial4 = EnumHelper.addToolMaterial("Ruby", 1, 136, 8.0F,2.0F, 15);
  203. /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability*/
  204. public static ToolMaterial MyToolMaterial9 = EnumHelper.addToolMaterial("End", 2, 854, 12.0F,2.5F, 18);
  205. /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  206. public static ToolMaterial MyToolMaterial3 = EnumHelper.addToolMaterial("GlowStone", 1, 136, 8.0F, 2.0F, 15);
  207. /** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  208. public static ToolMaterial MyToolMaterial8 = EnumHelper.addToolMaterial("NOPE", 3, 9999, 500.0F, 46.0F, 15);
  209. /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  210. public static ArmorMaterial MyArmorMaterial_1 = EnumHelper.addArmorMaterial("Sapphire", 500, new int[]{5, 10, 8, 5}, 50);
  211. /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  212. public static ArmorMaterial MyArmorMaterial_2 = EnumHelper.addArmorMaterial("Mega Stone", 5000, new int[]{25, 30, 30, 25}, 100);
  213. /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  214. public static ArmorMaterial MyArmorMaterial_6 = EnumHelper.addArmorMaterial("End", 25, new int[]{3, 6, 5, 4}, 14);
  215. /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  216. public static ArmorMaterial MyArmorMaterial_3 = EnumHelper.addArmorMaterial("GlowStone Shard", 50, new int[]{2, 3, 3, 2}, 30);
  217. /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  218. public static ArmorMaterial MyArmorMaterial_4 = EnumHelper.addArmorMaterial("Ruby", 100, new int[]{4, 8, 7, 5}, 10);
  219. /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  220. public static ArmorMaterial MyArmorMaterial_5 = EnumHelper.addArmorMaterial("netherrack", 8, new int[]{1, 4, 3, 1}, 15);/** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
  221. /** maxDamageFactor, damageReductionAmountArray, enchantability*/
  222. public static ArmorMaterial orcanArmorMaterial = EnumHelper.addArmorMaterial("orcan", 200, new int[]{3, 9, 8, 3}, 10);public static ToolMaterial PulseBowToolMaterial = EnumHelper.addToolMaterial("Pulse Bow Material", 3, 9999, 500.0F, 10.0F, 15);
  223. /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
  224.  
  225.  
  226. @EventHandler
  227. public void preInit( FMLPreInitializationEvent event)
  228. {
  229. EntityRegistry.registerModEntity(EntityRifleBolt.class, "rifleBolt", 4, this, 128, 1, true);
  230. MyBiome_1 = new MyBiome_1(100);
  231. BiomeManager.desertBiomes.add(new BiomeEntry(MyBiome_1, 100));
  232. NioBiome = new NioBiome(101);
  233. BiomeManager.desertBiomes.add(new BiomeEntry(NioBiome, 101));
  234. }
  235. /**
  236. * OreDictionary
  237. */
  238. @Instance(value="InfiniCraft")
  239. public static mymod.main.Main instance;
  240. @EventHandler
  241. //1.3.2 @Init
  242. public void load(FMLInitializationEvent event)
  243. {
  244. addNames();
  245. oreRegistration();
  246. addOreRecipes();
  247. }
  248. public static void addNames()
  249. {
  250. LanguageRegistry.addName(MyItem_1, "Sapphire");
  251. LanguageRegistry.addName(MyItem_3, "Ruby");
  252. LanguageRegistry.addName(MyBlock_3, "Ruby Ore");
  253. LanguageRegistry.addName(MyBlock_1, "Sapphire Ore");
  254. }
  255. public static void oreRegistration()
  256. {
  257. OreDictionary.registerOre("gemSapphire", MyItem_1);
  258. OreDictionary.registerOre("oreSapphire", MyBlock_1);
  259. OreDictionary.registerOre("oreRuby", MyBlock_3);
  260. OreDictionary.registerOre("gemRuby", MyItem_3);
  261. }
  262. public static void addOreRecipes()
  263. {
  264. GameRegistry.addRecipe(new ShapedOreRecipe(MyHelmet_4, true, new Object[]{
  265. "FFF",
  266. "F F", Character.valueOf('F'), "gemRuby"}));
  267. GameRegistry.addRecipe(new ShapedOreRecipe(MyChest_4, true, new Object[]{
  268. "F F",
  269. "FFF",
  270. "FFF", Character.valueOf('F'), "gemRuby"}));
  271. GameRegistry.addRecipe(new ShapedOreRecipe(MyLeggings_4, true, new Object[]{
  272. "FFF", Character.valueOf('F'), "gemRuby"}));
  273. GameRegistry.addRecipe(new ShapedOreRecipe(MyBoots_4, true, new Object[]{
  274. "FF", Character.valueOf('F'), "gemRuby"}));
  275. GameRegistry.addRecipe(new ShapedOreRecipe(MySword_4, true, new Object[]{
  276. "FF", Character.valueOf('F'), "gemRuby"}));
  277. GameRegistry.addRecipe(new ShapedOreRecipe(MyShovel4, true, new Object[]{
  278. "FF", Character.valueOf('F'), "gemRuby"}));
  279. GameRegistry.addRecipe(new ShapedOreRecipe(MyHelmet_1, true, new Object[]{
  280. "FF", Character.valueOf('F'), "gemSapphire"}));
  281. GameRegistry.addRecipe(new ShapedOreRecipe(MyChest_1, true, new Object[]{
  282. "FF", Character.valueOf('F'), "gemSapphire"}));
  283. GameRegistry.addRecipe(new ShapedOreRecipe(MyLeggings_1, true, new Object[]{
  284. "FF", Character.valueOf('F'), "gemSapphire"}));
  285. GameRegistry.addRecipe(new ShapedOreRecipe(MyBoots_1, true, new Object[]{
  286. "FF", Character.valueOf('F'), "gemSapphire"}));
  287. }
  288. {
  289. /**
  290. * LOAD SECTION
  291. * *********************************************************** */
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298. // LOAD THE CREATIVE TAB
  299. infinicraftMain = new CreativeTabs("infinicraftMain") {
  300. public ItemStack getIconItemStack() {
  301. return new ItemStack(MyBlock_1, 1, 0); // Icon, Stack Size, Tab Position
  302. }
  303.  
  304. @Override
  305. public Item getTabIconItem() {
  306.  
  307. return null;
  308. }
  309. };
  310.  
  311. // LOAD THE CREATIVE TAB
  312. infinicraftTech = new CreativeTabs("infinicraftTech") {
  313. public ItemStack getIconItemStack() {
  314. return new ItemStack(pulseRifle, 1, 1); // Icon, Stack Size, Tab Position
  315. }
  316.  
  317. @Override
  318. public Item getTabIconItem() {
  319.  
  320. return null;
  321. }
  322. };
  323.  
  324. // LOAD THE CREATIVE TAB
  325. infinicraftMagic = new CreativeTabs("infinicraftMagic") {
  326. public ItemStack getIconItemStack() {
  327. return new ItemStack(lightningStaff, 1, 2); // Icon, Stack Size, Tab Position
  328. }
  329.  
  330. @Override
  331. public Item getTabIconItem() {
  332.  
  333. return null;
  334. }
  335. };
  336.  
  337.  
  338.  
  339. // LOAD THE BOW
  340. pulseRifle = new mymod.items.pulseRifle(0, "pulseRifle").setCreativeTab(infinicraftTech).setMaxStackSize(1).setTextureName("pulseRifle.png");
  341. GameRegistry.registerItem(pulseRifle, "pulseRifle");
  342. LanguageRegistry.addName(pulseRifle, "Pulse Rifle");
  343.  
  344. // LOAD THE BOW
  345. pulseAmmo = new mymod.items.MyItem(0, "pulseAmmo").setCreativeTab(infinicraftTech).setMaxStackSize(16).setTextureName("pulseAmmo.png");
  346. GameRegistry.registerItem(pulseAmmo, "pulseAmmo");
  347. LanguageRegistry.addName(pulseAmmo, "Pulse Ammo");
  348. // LOAD THE BOW
  349. pulseBullet = new mymod.items.MyItem(0, "pulseBullet").setCreativeTab(infinicraftTech).setMaxStackSize(16).setTextureName("pulseBullet.png");
  350. GameRegistry.registerItem(pulseBullet, "pulseBullet");
  351. LanguageRegistry.addName(pulseBullet, "Pulse Bullet");
  352.  
  353.  
  354. // LOAD THE PICKAXE 4
  355. MyPickaxe_4 = new MyPickaxe( 0, MyToolMaterial5, "MyPickaxe_4").setCreativeTab(infinicraftMain);
  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( 0, MyToolMaterial9, "MyPickaxe_6").setCreativeTab(infinicraftMain);
  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( 0, MyToolMaterial7, "MyPickaxe_5").setCreativeTab(infinicraftMain);
  366. GameRegistry.registerItem(MyPickaxe_5, "MyPickaxe_5");
  367. LanguageRegistry.addName(MyPickaxe_5, "Netherrack Pickaxe");
  368.  
  369. // LOAD THE SHOVEL 2
  370. MyShovel2 = new MyShovel( 0, MyToolMaterial, "MyShovel2").setCreativeTab(infinicraftMain);
  371. GameRegistry.registerItem(MyShovel2, "MyShovel2");
  372. LanguageRegistry.addName(MyShovel2, "Sapphire Shovel");
  373.  
  374. // LOAD THE SHOVEL 2
  375. MyShovel5 = new MyShovel( 0, MyToolMaterial7, "MyShovel5").setCreativeTab(infinicraftMain);
  376. GameRegistry.registerItem(MyShovel5, "MyShovel5");
  377. LanguageRegistry.addName(MyShovel5, "Netherrack Shovel");
  378.  
  379. // LOAD THE SHOVEL 4
  380. MyShovel4 = new MyShovel( 0, MyToolMaterial5, "MyShovel4").setCreativeTab(infinicraftMain);
  381. GameRegistry.registerItem(MyShovel4, "MyShovel4");
  382. LanguageRegistry.addName(MyShovel4, "Ruby Shovel");
  383.  
  384. // LOAD THE SWORD 7
  385. MySword_7 = new MySword( 0, MyToolMaterial9, "MySword_7").setCreativeTab(infinicraftMain);
  386. GameRegistry.registerItem(MySword_7, "MySword_7");
  387. LanguageRegistry.addName(MySword_7, "Endstone Sword");
  388.  
  389. // LOAD ORCAN PICKAXE
  390. orcanPickaxe = new MyPickaxe( 0, orcanToolMaterial, "orcanPickaxe").setCreativeTab(infinicraftMain);
  391. GameRegistry.registerItem(orcanPickaxe, "orcanPickaxe");
  392. LanguageRegistry.addName(orcanPickaxe, "Orcan Pickaxe");
  393.  
  394. // LOAD THE ITEM
  395. orcanIngot = new MyItem( 0, "orcanIngot").setCreativeTab(infinicraftMain).setMaxStackSize(64);
  396. GameRegistry.registerItem(orcanIngot, "orcanIngot");
  397. LanguageRegistry.addName(orcanIngot, "Orcan Ingot");
  398.  
  399. // LOAD THE BLOCK
  400. orcanBlock = new orcanBlock( 0, Material.rock, "orcanBlock").setLightLevel(0.1F).setResistance(7.0F).setHardness(2.0F).setStepSound(Block.soundTypeStone).setCreativeTab(infinicraftMain);
  401. GameRegistry.registerBlock(orcanBlock, "orcanBlock");
  402. LanguageRegistry.addName(orcanBlock, "Orcan Block");
  403.  
  404. // LOAD THE SWORD 7
  405. orcanSword = new MySword( 0, orcanToolMaterial, "orcanSword").setCreativeTab(infinicraftMain);
  406. GameRegistry.registerItem(orcanSword, "orcanSword");
  407. LanguageRegistry.addName(orcanSword, "Orcan Sword");
  408.  
  409. // LOAD THE SHOVEL 4
  410. orcanShovel = new MyShovel( 0, orcanToolMaterial, "orcanShovel").setCreativeTab(infinicraftMain);
  411. GameRegistry.registerItem(orcanShovel, "orcanShovel");
  412. LanguageRegistry.addName(orcanShovel, "Orcan Shovel");
  413.  
  414. // LOAD THE SHOVEL 4
  415. orcanAxe = new MyAxe( 0, orcanToolMaterial, "orcanAxe").setCreativeTab(infinicraftMain);
  416. GameRegistry.registerItem(orcanAxe, "orcanAxe");
  417. LanguageRegistry.addName(orcanAxe, "Orcan Axe");
  418.  
  419. orcanHelmet = new orcanArmor(0, orcanArmorMaterial, 0, 0, "orcanArmor").setCreativeTab(infinicraftMain);
  420. GameRegistry.registerItem(orcanHelmet, "orcanHelmet");
  421. LanguageRegistry.addName(orcanHelmet, "Orcan Helmet");
  422.  
  423. orcanChestplate = new orcanArmor(0, orcanArmorMaterial, 0, 1, "orcanArmor").setCreativeTab(infinicraftMain);
  424. GameRegistry.registerItem(orcanChestplate, "orcanChestplate");
  425. LanguageRegistry.addName(orcanChestplate, "Orcan Chestplate");
  426.  
  427. orcanLeggings = new orcanArmor(0, orcanArmorMaterial, 0, 2, "orcanArmor").setCreativeTab(infinicraftMain);
  428. GameRegistry.registerItem(orcanLeggings, "orcanLeggings");
  429. LanguageRegistry.addName(orcanLeggings, "Orcan Leggings");
  430.  
  431. orcanBoots = new orcanArmor(0, orcanArmorMaterial, 0, 3, "orcanArmor").setCreativeTab(infinicraftMain);
  432. GameRegistry.registerItem(orcanBoots, "orcanBoots");
  433. LanguageRegistry.addName(orcanBoots, "Orcan Boots");
  434.  
  435.  
  436.  
  437.  
  438. // LOAD THE SHOVEL 4
  439. MyShovel6 = new MyShovel( 0, MyToolMaterial8, "MyShovel6").setCreativeTab(infinicraftMain);
  440. GameRegistry.registerItem(MyShovel6, "MyShovel6");
  441. LanguageRegistry.addName(MyShovel6, "The NOPE Shovel");
  442.  
  443. // LOAD THE SHOVEL 4
  444. MyShovel7 = new MyShovel( 0, MyToolMaterial9, "MyShovel7").setCreativeTab(infinicraftMain);
  445. GameRegistry.registerItem(MyShovel7, "MyShovel7");
  446. LanguageRegistry.addName(MyShovel7, "End Shovel");
  447.  
  448.  
  449. // LOAD THE SHOVEL 3
  450. MyShovel3 = new MyShovel( 0, MyToolMaterial3, "MyShovel3").setCreativeTab(infinicraftMain);
  451. GameRegistry.registerItem(MyShovel3, "MyShovel3");
  452. LanguageRegistry.addName(MyShovel3, "GlowStone Shovel");
  453.  
  454.  
  455.  
  456. // LOAD THE ITEM
  457. MyItem_6 = new MyItem( 0, "MyItem_6").setCreativeTab(infinicraftMain).setMaxStackSize(64);
  458. GameRegistry.registerItem(MyItem_6, "MyItem_6");
  459. LanguageRegistry.addName(MyItem_6, "End Shard");
  460.  
  461. // LOAD THE AXE 2
  462.  
  463. MyAxe2 = new MyAxe( 0, MyToolMaterial, "MyAxe2").setCreativeTab(infinicraftMain);
  464. GameRegistry.registerItem(MyAxe2, "MyAxe2");
  465. LanguageRegistry.addName(MyAxe2, "Sapphire Axe");
  466.  
  467. // LOAD THE AXE 4
  468. MyAxe_4 = new MyAxe(0, MyToolMaterial5, "MyAxe_4").setCreativeTab(infinicraftMain);
  469. GameRegistry.registerItem(MyAxe_4, "MyAxe_4");
  470. LanguageRegistry.addName(MyAxe_4, "Ruby Axe");
  471.  
  472. // LOAD THE AXE 2
  473.  
  474. MyAxe_5 = new MyAxe(0, MyToolMaterial7, "MyAxe_5").setCreativeTab(infinicraftMain);
  475. GameRegistry.registerItem(MyAxe_5, "MyAxe_5");
  476. LanguageRegistry.addName(MyAxe_5, "Netherrack Axe");
  477.  
  478. // LOAD THE AXE 2
  479.  
  480. MyAxe_3 = new MyAxe(0, MyToolMaterial3, "MyAxe_3").setCreativeTab(infinicraftMain);
  481. GameRegistry.registerItem(MyAxe_3, "MyAxe_3");
  482. LanguageRegistry.addName(MyAxe_3, "GlowStone Axe");
  483.  
  484. // LOAD THE AXE
  485. MyAxe = new MyAxe(0, MyToolMaterial2, "MyAxe").setCreativeTab(infinicraftMain);
  486. GameRegistry.registerItem(MyAxe, "MyAxe");
  487. LanguageRegistry.addName(MyAxe, "Mega Axe");
  488.  
  489. // LOAD PICKAXE 3
  490. MyPickaxe_3 = new MyPickaxe(0, MyToolMaterial3, "MyPickaxe_3").setCreativeTab(infinicraftMain);
  491. GameRegistry.registerItem(MyPickaxe_3, "MyPickaxe_3");
  492. LanguageRegistry.addName(MyPickaxe_3, "GlowStone Pickaxe");
  493.  
  494.  
  495. // LOAD THE SWORD 2
  496. MySword_2 = new MySword(0, MyToolMaterial2, "MySword_2").setCreativeTab(infinicraftMain);
  497. GameRegistry.registerItem(MySword_2, "MySword_2");
  498. LanguageRegistry.addName(MySword_2, "MegaKiller");
  499.  
  500. // LOAD THE SWORD 6
  501. MySword_6 = new MySword(0, MyToolMaterial7, "MySword_6").setCreativeTab(infinicraftMain);
  502. GameRegistry.registerItem(MySword_6, "MySword_6");
  503. LanguageRegistry.addName(MySword_6, "Netherrack Sword");
  504.  
  505. // LOAD THE SWORD 3
  506. MySword_3 = new MySword(0, MyToolMaterial3, "MySword_3").setCreativeTab(infinicraftMain);
  507. GameRegistry.registerItem(MySword_3, "MySword_3");
  508. LanguageRegistry.addName(MySword_3, "Glowstone Sword");
  509.  
  510. // LOAD THE SWORD
  511. MySword_1 = new MySword(0, MyToolMaterial, "MySword_1").setCreativeTab(infinicraftMain);
  512. GameRegistry.registerItem(MySword_1, "MySword_1");
  513. LanguageRegistry.addName(MySword_1, "A Baccas Dream");
  514.  
  515. // LOAD THE SWORD 8
  516. MySword_8 = new mymod.items.MySword2(0, MyToolMaterial10, "MySword_8").setCreativeTab(infinicraftMain);
  517. GameRegistry.registerItem(MySword_8, "MySword_8");
  518. LanguageRegistry.addName(MySword_8, "Take em' Sword");
  519.  
  520. // LOAD THE SWORD
  521. MySword_4 = new MySword(0, MyToolMaterial5, "MySword_4").setCreativeTab(infinicraftMain);
  522. GameRegistry.registerItem(MySword_4, "MySword_4");
  523. LanguageRegistry.addName(MySword_4, "Ruby Sword");
  524.  
  525. // LOAD THE SWORD
  526. MySword_5 = new MySword(0, MyToolMaterial6, "MySword_5").setCreativeTab(infinicraftMain);
  527. GameRegistry.registerItem(MySword_5, "MySword_5");
  528. LanguageRegistry.addName(MySword_5, "Nights Edge");
  529.  
  530. // LOAD THE SWORD
  531. MyAxe_6 = new MyAxe(0, MyToolMaterial9, "MyAxe_6").setCreativeTab(infinicraftMain);
  532. GameRegistry.registerItem(MyAxe_6, "MyAxe_6");
  533. LanguageRegistry.addName(MyAxe_6, "EndStone Axe");
  534.  
  535. // LOAD THE PICKAXE
  536. MyPickaxe_1 = new MyPickaxe(0, MyToolMaterial, "MyPickaxe_1").setCreativeTab(infinicraftMain);
  537. GameRegistry.registerItem(MyPickaxe_1, "MyPickaxe_1");
  538. LanguageRegistry.addName(MyPickaxe_1, "Sapphire Pickaxe");
  539.  
  540. // LOAD THE PICKAXE 2
  541. MyPickaxe_2 = new MyPickaxe(0, MyToolMaterial2, "MyPickaxe_2").setCreativeTab(infinicraftMain);
  542. GameRegistry.registerItem(MyPickaxe_2, "MyPickaxe_2");
  543. LanguageRegistry.addName(MyPickaxe_2, "Mega Pickaxe");
  544.  
  545. // LOAD THE ITEM
  546. MyItem_5 = new MyItem(0, "MyItem_5").setCreativeTab(infinicraftMain).setMaxStackSize(64);
  547. GameRegistry.registerItem(MyItem_5, "MyItem_5");
  548. LanguageRegistry.addName(MyItem_5, "Nether Shard");
  549.  
  550.  
  551. // LOAD THE ITEM
  552. MyItem_1 = new MyItem(0, "MyItem_1").setCreativeTab(infinicraftMain).setMaxStackSize(64);
  553. GameRegistry.registerItem(MyItem_1, "MyItem_1");
  554. LanguageRegistry.addName(MyItem_1, "Sapphire");
  555.  
  556. // LOAD THE ITEM 4
  557. MyItem_4 = new MyItem(0, "MyItem_4").setCreativeTab(infinicraftMain).setMaxStackSize(64);
  558. GameRegistry.registerItem(MyItem_4, "MyItem_4");
  559. LanguageRegistry.addName(MyItem_4, "Night Shard");
  560.  
  561. // LOAD THE ITEM 2
  562. MyItem_2 = new MyItem(0, "MyItem_2").setCreativeTab(infinicraftMain).setMaxStackSize(64);
  563. GameRegistry.registerItem(MyItem_2, "MyItem_2");
  564. LanguageRegistry.addName(MyItem_2, "Mega Stone");
  565.  
  566. // LOAD THE ITEM 2
  567. MyItem_3 = new MyItem(0, "MyItem_3").setCreativeTab(infinicraftMain).setMaxStackSize(64);
  568. GameRegistry.registerItem(MyItem_3, "MyItem_3");
  569. LanguageRegistry.addName(MyItem_3, "Ruby");
  570.  
  571.  
  572. // LOAD THE ITEM 2
  573. MyEnderStaff = new mymod.items.MyEnderStaff(0, "MyEnderStaff").setCreativeTab(infinicraftMagic).setMaxStackSize(1);
  574. GameRegistry.registerItem(MyEnderStaff, "MyEnderStaff");
  575. LanguageRegistry.addName(MyEnderStaff, "Ender Staff");
  576.  
  577. //LOAD FIRE STAFF
  578. fireStaff = new mymod.items.fireStaff(0, "fireStaff").setCreativeTab(infinicraftMagic).setMaxStackSize(1);
  579. GameRegistry.registerItem(fireStaff, "fireStaff");
  580. LanguageRegistry.addName(fireStaff, "Fire Staff");
  581.  
  582. lightningStaff = new mymod.items.lightningStaff(0, "lightningStaff").setCreativeTab(infinicraftMagic).setMaxStackSize(1);
  583. GameRegistry.registerItem(lightningStaff, "lightningStaff");
  584. LanguageRegistry.addName(lightningStaff, "Lightning Staff");
  585.  
  586. // LOAD THE FOOD
  587. /** itemID, healAmount, SaturationModifier (F) isWolfsFavoriteMeat, Texture Name */
  588. MyFood_1 = new MyFood(0, 12, 6.0F, true, "MyFood_1").setCreativeTab(infinicraftMain);
  589. GameRegistry.registerItem(MyFood_1, "MyFood_1");
  590. LanguageRegistry.addName(MyFood_1, "Burger");
  591.  
  592. // LOAD THE FOOD 2
  593. /** itemID, healAmount, SaturationModifier (F) isWolfsFavoriteMeat, Texture Name */
  594. MyFood_2 = new MyFood(0, 4, 2.0F, false, "MyFood_2").setCreativeTab(infinicraftMain);
  595. GameRegistry.registerItem(MyFood_2, "MyFood_2");
  596. LanguageRegistry.addName(MyFood_2, "Bacon Cupcake");
  597.  
  598. // LOAD THE FOOD 2
  599. /** itemID, healAmount, SaturationModifier (F) isWolfsFavoriteMeat, Texture Name */
  600. MyFood_3 = new MyFood(0, 6, 3.0F, true, "MyFood_3").setCreativeTab(infinicraftMain);
  601. GameRegistry.registerItem(MyFood_3, "MyFood_3");
  602. LanguageRegistry.addName(MyFood_3, "Bacon");
  603.  
  604.  
  605.  
  606. // LOAD THE BLOCK
  607. MyBlock_1 = new MyBlock( 0, Material.rock, "MyBlock_1").setLightLevel(0.8F).setResistance(10.0F).setHardness(3.0F).setStepSound(Block.soundTypeStone).setCreativeTab(infinicraftMain);
  608. GameRegistry.registerBlock(MyBlock_1, "MyBlock_1");
  609. LanguageRegistry.addName(MyBlock_1, "Sapphire Ore");
  610.  
  611.  
  612. // LOAD THE BLOCK 2
  613. MyBlock_2 = new MyBlock_2( 0, Material.rock, "MyBlock_2").setLightLevel(0.8F).setResistance(10.0F).setHardness(3.0F).setStepSound(Block.soundTypeStone).setCreativeTab(infinicraftMain);
  614. GameRegistry.registerBlock(MyBlock_2, "MyBlock_2");
  615. LanguageRegistry.addName(MyBlock_2, "Nio Block");
  616.  
  617.  
  618. // LOAD THE BLOCK 2
  619. MyBlock_3 = new mymod.blocks.MyBlock_3( 0, Material.rock, "MyBlock_3").setLightLevel(0.8F).setResistance(10.0F).setHardness(3.0F).setStepSound(Block.soundTypeStone).setCreativeTab(infinicraftMain).setBlockTextureName("MyBlock_3");
  620. GameRegistry.registerBlock(MyBlock_3, "MyBlock_3");
  621. LanguageRegistry.addName(MyBlock_3, "Ruby Ore");
  622.  
  623.  
  624. // LOAD CHESTPLATE
  625. MyChest_3 = new MyArmor_3(0, MyArmorMaterial_3, 0, 1, "myarmor3").setCreativeTab(infinicraftMain);
  626. GameRegistry.registerItem(MyChest_3, "MyChest_3");
  627. LanguageRegistry.addName(MyChest_3, "GlowStone Chestplate");
  628.  
  629. // LOAD CHESTPLATE
  630. MyChest_5 = new MyArmor_5(0, MyArmorMaterial_5, 0, 1, "myarmor5").setCreativeTab(infinicraftMain);
  631. GameRegistry.registerItem(MyChest_5, "MyChest_5");
  632. LanguageRegistry.addName(MyChest_5, "Netherrack Chestplate");
  633.  
  634. // LOAD LEGGINGS
  635. MyLeggings_5 = new MyArmor_5(0, MyArmorMaterial_5, 0, 2, "myarmor5").setCreativeTab(infinicraftMain);
  636. GameRegistry.registerItem(MyLeggings_5, "MyLeggings_5");
  637. LanguageRegistry.addName(MyLeggings_5, "Netherrack Leggings");
  638.  
  639. // LOAD BOOTS
  640. MyBoots_5 = new MyArmor_5 (0, MyArmorMaterial_3, 0, 3, "myarmor5").setCreativeTab(infinicraftMain);
  641. GameRegistry.registerItem(MyBoots_5, "MyBoots_5");
  642. LanguageRegistry.addName(MyBoots_5, "Netherrack Boots");
  643.  
  644. // LOAD LEGGINGS
  645. MyLeggings_3 = new MyArmor_3(0, MyArmorMaterial_3, 0, 2, "myarmor3").setCreativeTab(infinicraftMain);
  646. GameRegistry.registerItem(MyLeggings_3, "MyLeggings_3");
  647. LanguageRegistry.addName(MyLeggings_3, "GlowStone Leggings");
  648.  
  649. // LOAD BOOTS
  650. MyBoots_3 = new MyArmor_3 (0, MyArmorMaterial_3, 0, 3, "myarmor3").setCreativeTab(infinicraftMain);
  651. GameRegistry.registerItem(MyBoots_3, "MyBoots_3");
  652. LanguageRegistry.addName(MyBoots_3, "GlowStone Boots");
  653.  
  654. // LOAD HELMET 2
  655. MyHelmet_2 = new MyArmor_2(0, MyArmorMaterial_2, 0, 0, "myarmor2").setCreativeTab(infinicraftMain);
  656. GameRegistry.registerItem(MyHelmet_2, "MyHelmet_2");
  657. LanguageRegistry.addName(MyHelmet_2, "Mega Helmet");
  658.  
  659. // LOAD HELMET 2
  660. MyHelmet_5 = new MyArmor_5(0, MyArmorMaterial_5, 0, 0, "myarmor5").setCreativeTab(infinicraftMain);
  661. GameRegistry.registerItem(MyHelmet_5, "MyHelmet_5");
  662. LanguageRegistry.addName(MyHelmet_5, "Netherrack Helmet");
  663.  
  664. // LOAD HELMET 2
  665. MyHelmet_6 = new MyArmor_6(0, MyArmorMaterial_6, 0, 0, "myarmor6").setCreativeTab(infinicraftMain);
  666. GameRegistry.registerItem(MyHelmet_6, "MyHelmet_6");
  667. LanguageRegistry.addName(MyHelmet_6, "Ender Helmet");
  668.  
  669. // LOAD CHESTPLATE 2
  670. MyChest_6 = new MyArmor_6(0, MyArmorMaterial_6, 0, 1, "myarmor6").setCreativeTab(infinicraftMain);
  671. GameRegistry.registerItem(MyChest_6, "MyChest_6");
  672. LanguageRegistry.addName(MyChest_6, "Ender Chestplate");
  673.  
  674. // LOAD LEGGINGS 2
  675. MyLeggings_6 = new MyArmor_6(0, MyArmorMaterial_6, 0, 2, "myarmor6").setCreativeTab(infinicraftMain);
  676. GameRegistry.registerItem(MyLeggings_6, "MyLeggings_6");
  677. LanguageRegistry.addName(MyLeggings_6, "Ender Leggings");
  678.  
  679. // LOAD BOOTS
  680. MyBoots_6 = new MyArmor_6(0, MyArmorMaterial_6, 0, 3, "myarmor6").setCreativeTab(infinicraftMain);
  681. GameRegistry.registerItem(MyBoots_6, "MyBoots_6");
  682. LanguageRegistry.addName(MyBoots_6, "Ender Boots");
  683.  
  684. // LOAD HELMET 3
  685. MyHelmet_3 = new MyArmor_3(0, MyArmorMaterial_3, 0, 0, "myarmor3").setCreativeTab(infinicraftMain);
  686. GameRegistry.registerItem(MyHelmet_3, "MyHelmet_3");
  687. LanguageRegistry.addName(MyHelmet_3, "GlowStone Helmet");
  688.  
  689.  
  690. // LOAD CHESTPLATE 2
  691. MyChest_2 = new MyArmor_2(0, MyArmorMaterial_2, 0, 1, "myarmor2").setCreativeTab(infinicraftMain);
  692. GameRegistry.registerItem(MyChest_2, "MyChest_2");
  693. LanguageRegistry.addName(MyChest_2, "Mega Chestplate");
  694.  
  695. // LOAD LEGGINGS 2
  696. MyLeggings_2 = new MyArmor_2(0, MyArmorMaterial_2, 0, 2, "myarmor2").setCreativeTab(infinicraftMain);
  697. GameRegistry.registerItem(MyLeggings_2, "MyLeggings_2");
  698. LanguageRegistry.addName(MyLeggings_2, "Mega Leggings");
  699.  
  700. // LOAD BOOTS
  701. MyBoots_2 = new MyArmor_2(0, MyArmorMaterial_2, 0, 3, "myarmor2").setCreativeTab(infinicraftMain);
  702. GameRegistry.registerItem(MyBoots_2, "MyBoots_2");
  703. LanguageRegistry.addName(MyBoots_2, "Mega Boots");
  704.  
  705. // LOAD SHOVEL
  706. MyShovel = new MyShovel(0, MyToolMaterial2, "MyShovel").setCreativeTab(infinicraftMain);
  707. GameRegistry.registerItem(MyShovel, "MyShovel");
  708. LanguageRegistry.addName(MyShovel, "Mega Shovel");
  709.  
  710.  
  711. // LOAD HELMET
  712. MyHelmet_1 = new MyArmor(0, MyArmorMaterial_1, 0, 0, "myarmor").setCreativeTab(infinicraftMain);
  713. GameRegistry.registerItem(MyHelmet_1, "MyHelmet_1");
  714. LanguageRegistry.addName(MyHelmet_1, "Sapphire Helmet");
  715.  
  716.  
  717. // LOAD CHESTPLATE
  718. MyChest_1 = new MyArmor(0, MyArmorMaterial_1, 0, 1, "myarmor").setCreativeTab(infinicraftMain);
  719. GameRegistry.registerItem(MyChest_1, "MyChest_1");
  720. LanguageRegistry.addName(MyChest_1, "Sapphire Chestplate");
  721.  
  722. // LOAD LEGGINGS
  723. MyLeggings_1 = new MyArmor(0, MyArmorMaterial_1, 0, 2, "myarmor").setCreativeTab(infinicraftMain);
  724. GameRegistry.registerItem(MyLeggings_1, "MyLeggings_1");
  725. LanguageRegistry.addName(MyLeggings_1, "Sapphire Leggings");
  726.  
  727. // LOAD BOOTS
  728. MyBoots_1 = new MyArmor(0, MyArmorMaterial_1, 0, 3, "myarmor").setCreativeTab(infinicraftMain);
  729. GameRegistry.registerItem(MyBoots_1, "MyBoots_1");
  730. LanguageRegistry.addName(MyBoots_1, "Sapphire Boots");
  731.  
  732.  
  733. // LOAD HELMET
  734. MyHelmet_4 = new MyArmor_4(0, MyArmorMaterial_4, 0, 0, "myarmor4").setCreativeTab(infinicraftMain);
  735. GameRegistry.registerItem(MyHelmet_4, "MyHelmet_4");
  736. LanguageRegistry.addName(MyHelmet_4, "Ruby Helmet");
  737.  
  738. // LOAD CHESTPLATE
  739. MyChest_4 = new MyArmor_4(0, MyArmorMaterial_4, 0, 1, "myarmor4").setCreativeTab(infinicraftMain);
  740. GameRegistry.registerItem(MyChest_4, "MyChest_4");
  741. LanguageRegistry.addName(MyChest_4, "Ruby Chestplate");
  742.  
  743. // LOAD LEGGINGS
  744. MyLeggings_4 = new MyArmor_4(0, MyArmorMaterial_4, 0, 2, "myarmor4").setCreativeTab(infinicraftMain);
  745. GameRegistry.registerItem(MyLeggings_4, "MyLeggings_4");
  746. LanguageRegistry.addName(MyLeggings_4, "Ruby Leggings");
  747.  
  748. // LOAD BOOTS
  749. MyBoots_4 = new MyArmor_4(0, MyArmorMaterial_4, 0, 3, "myarmor4").setCreativeTab(infinicraftMain);
  750. GameRegistry.registerItem(MyBoots_4, "MyBoots_4");
  751. LanguageRegistry.addName(MyBoots_4, "Ruby Boots");
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759. // REGISTER YOUR ENTITY
  760. EntityRegistry.registerGlobalEntityID(MyEntityOgre.class, "Golem Of Death", EntityRegistry.findGlobalUniqueEntityId());
  761. EntityRegistry.addSpawn(MyEntityOgre.class, 15, 1, 4, EnumCreatureType.monster, BiomeGenBase.desert);
  762. EntityRegistry.addSpawn(MyEntityOgre.class, 15, 1, 4, EnumCreatureType.monster, BiomeGenBase.forest);
  763. EntityRegistry.addSpawn(MyEntityOgre.class, 15, 1, 4, EnumCreatureType.monster, BiomeGenBase.plains);
  764. EntityRegistry.addSpawn(MyEntityOgre.class, 15, 1, 4, EnumCreatureType.monster);
  765. registerEntityEgg(MyEntityOgre.class, (new Color(255, 255, 255)).getRGB(), (new Color(0, 0, 0)).getRGB());
  766.  
  767.  
  768.  
  769. // REGISTER YOUR ENTITY
  770. EntityRegistry.registerGlobalEntityID(MyEntityApe.class, "Ape", EntityRegistry.findGlobalUniqueEntityId(),(new Color(97, 71, 52)).getRGB(), (new Color(151, 137, 111)).getRGB());
  771. EntityRegistry.addSpawn(MyEntityApe.class, 88, 6, 12, EnumCreatureType.ambient, BiomeGenBase.jungle);
  772. EntityRegistry.addSpawn(MyEntityApe.class, 88, 6, 12, EnumCreatureType.ambient, BiomeGenBase.jungleHills);
  773. EntityRegistry.addSpawn(MyEntityApe.class, 5, 1, 5, EnumCreatureType.ambient);
  774.  
  775.  
  776.  
  777.  
  778. // REGISTER YOUR ENTITY 3
  779. EntityRegistry.registerGlobalEntityID(EntityBeardedDragon.class, "Bearded Dragon", EntityRegistry.findGlobalUniqueEntityId());
  780. EntityRegistry.addSpawn(EntityBeardedDragon.class, 24, 6, 12, EnumCreatureType.ambient, BiomeGenBase.desert);
  781. EntityRegistry.addSpawn(EntityBeardedDragon.class, 24, 6, 12, EnumCreatureType.ambient);
  782. registerEntityEgg(EntityBeardedDragon.class, (new Color(99, 74, 57)).getRGB(), (new Color(249, 255, 0)).getRGB());
  783.  
  784.  
  785.  
  786. MyAchievement_1 = new Achievement("achievement.megastone", "MyItem_2", 8 , 12, new ItemStack(MyItem_2), AchievementList.theEnd2).registerStat();
  787. MyAchievement_2 = new Achievement("achievement.nio", "MyBlock_2", -3 , 3, mymod.main.Main.MyBlock_2, AchievementList.acquireIron).registerStat();
  788. MyAchievement_3 = new Achievement("achievement.bacon", "MyFood_2", -3 , -5, new ItemStack(MyFood_2), AchievementList.bakeCake).registerStat();
  789.  
  790.  
  791.  
  792.  
  793. /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
  794.  
  795. }
  796.  
  797. @EventHandler
  798. public static void init( FMLInitializationEvent event ) {
  799. if (event.getSide() == Side.CLIENT)
  800. Minecraft.getMinecraft().refreshResources();
  801. proxy.registerRenderInformation();
  802.  
  803. }
  804. {
  805.  
  806. /**
  807. * RECIPES SECTION
  808. * *********************************************************** */
  809. //Fire Staff Recipe
  810. GameRegistry.addRecipe(new ItemStack(fireStaff,1), new Object[]
  811. {
  812. "XYX",
  813. "XYX",
  814. "NPN",
  815. 'X', Items.fire_charge,
  816. 'Y', MyItem_2,
  817. 'N', Items.nether_star,
  818. 'P', Items.stick
  819.  
  820.  
  821. });
  822.  
  823.  
  824.  
  825. // AXE RECIPE 3
  826. GameRegistry.addRecipe(new ItemStack(MyAxe_3,1), new Object[]
  827. {
  828. "XX",
  829. "SX",
  830. "S ",
  831. 'S', Items.stick,
  832. 'X', Items.glowstone_dust,
  833. });
  834.  
  835. // AXE RECIPE 3
  836. GameRegistry.addRecipe(new ItemStack(MyShovel6,1), new Object[]
  837. {
  838. "XAX",
  839. "ABA",
  840. "XAX",
  841. 'B', MyShovel,
  842. 'X', MyShovel5,
  843. 'A', Blocks.diamond_block,
  844. });
  845.  
  846. // AXE RECIPE 5
  847. GameRegistry.addRecipe(new ItemStack(MyAxe_5,1), new Object[]
  848. {
  849. "XX",
  850. "SX",
  851. "S ",
  852. 'S', Items.stick,
  853. 'X', MyItem_5,
  854. });
  855.  
  856.  
  857.  
  858.  
  859. // SWORD RECIPE 2
  860. GameRegistry.addRecipe(new ItemStack(MySword_2, 1), new Object[]
  861. {
  862. "X",
  863. "X",
  864. "S",
  865. 'S', Items.stick,
  866. 'X', MyItem_2,
  867. });
  868.  
  869. // SWORD RECIPE 2
  870. GameRegistry.addRecipe(new ItemStack(MySword_4, 1), new Object[]
  871. {
  872. "X",
  873. "X",
  874. "S",
  875. 'S', Items.stick,
  876. 'X', MyItem_3,
  877. });
  878.  
  879. //SWORD RECIPE 3
  880. GameRegistry.addRecipe(new ItemStack(MySword_3, 1), new Object[]
  881. {
  882. "X",
  883. "X",
  884. "S",
  885. 'S', Items.stick,
  886. 'X', Items.glowstone_dust,
  887. });
  888.  
  889. // AXE RECIPE
  890. GameRegistry.addRecipe(new ItemStack(MyAxe, 1), new Object[]
  891. {
  892. " XX",
  893. " SX",
  894. " S ",
  895. 'S', Items.stick,
  896. 'X', MyItem_2,
  897. });
  898.  
  899. // MEGA STONE RECIPE
  900. GameRegistry.addRecipe(new ItemStack(MyItem_2, 1), new Object[]
  901. {
  902. "YYY",
  903. "YXY",
  904. "YYY",
  905. 'X', MyBlock_2,
  906. 'Y', Items.nether_star
  907. });
  908.  
  909. // MEGA STONE RECIPE
  910. GameRegistry.addRecipe(new ItemStack(MyPickaxe_6, 1), new Object[]
  911. {
  912. "XXX",
  913. " Y ",
  914. " Y ",
  915. 'X', MyItem_6,
  916. 'Y', Items.stick
  917. });
  918.  
  919. // MEGA STONE RECIPE
  920. GameRegistry.addRecipe(new ItemStack(MyAxe_6, 1), new Object[]
  921. {
  922. "XX",
  923. "YX",
  924. "Y ",
  925. 'X', MyItem_6,
  926. 'Y', Items.stick
  927. });
  928.  
  929. // NIGHTS EDGE RECIPE
  930. GameRegistry.addRecipe(new ItemStack(MySword_5, 1), new Object[]
  931. {
  932. "X",
  933. "X",
  934. "Y",
  935. 'X', MyItem_4,
  936. 'Y', Items.stick,
  937. });
  938.  
  939. // NIGHT SHARD RECIPE
  940. GameRegistry.addRecipe(new ItemStack(MyItem_4, 1), new Object[]
  941. {
  942. "XXX",
  943. "XYX",
  944. "XXX",
  945. 'X', Items.ender_pearl,
  946. 'Y', Items.ender_eye,
  947. });
  948. // SWORD RECIPE
  949. GameRegistry.addRecipe(new ItemStack(MySword_1, 1), new Object[]
  950. {
  951. " X ",
  952. "XXX",
  953. " S ",
  954. 'S', Items.stick,
  955. 'X', MyItem_1,
  956. });
  957.  
  958. // NETHER SHARD RECIPE
  959. GameRegistry.addRecipe(new ItemStack(MyItem_5, 1), new Object[]
  960. {
  961. "S",
  962. 'S', Blocks.netherrack
  963. });
  964.  
  965. // PICKAXE RECIPE
  966. GameRegistry.addRecipe(new ItemStack(MyPickaxe_1, 1), new Object[]
  967. {
  968. "XXX",
  969. " S ",
  970. " S ",
  971. 'S', Items.stick,
  972. 'X', MyItem_1,
  973. });
  974.  
  975.  
  976.  
  977. // PICKAXE RECIPE
  978. GameRegistry.addRecipe(new ItemStack(MyPickaxe_5, 1), new Object[]
  979. {
  980. "XXX",
  981. " S ",
  982. " S ",
  983. 'S', Items.stick,
  984. 'X', MyItem_5,
  985. });
  986.  
  987. // PICKAXE RECIPE 2
  988. GameRegistry.addRecipe(new ItemStack(MyPickaxe_2, 1), new Object[]
  989. {
  990. "XXX",
  991. " S ",
  992. " S ",
  993. 'S', Items.stick,
  994. 'X', MyItem_2,
  995. });
  996.  
  997. // ENDER STAFF RECIPE
  998. GameRegistry.addRecipe(new ItemStack(MyEnderStaff, 1), new Object[]
  999. {
  1000. "ZZZ",
  1001. "XXX",
  1002. "OSO",
  1003. 'S', Items.nether_star,
  1004. 'X', Items.ender_pearl,
  1005. 'Z', Items.ender_eye,
  1006. 'O', Blocks.obsidian,
  1007. });
  1008.  
  1009.  
  1010. // Sword RECIPE 6
  1011. GameRegistry.addRecipe(new ItemStack(MySword_6, 1), new Object[]
  1012. {
  1013. "X",
  1014. "X",
  1015. "S",
  1016. 'S', Items.stick,
  1017. 'X', MyItem_5,
  1018. });
  1019.  
  1020.  
  1021. // FOOD RECIPE
  1022. GameRegistry.addRecipe(new ItemStack(MyFood_1, 1), new Object[]
  1023. {
  1024. " X ",
  1025. " S ",
  1026. " X ",
  1027. 'S', Items.cooked_beef,
  1028. 'X', Items.bread
  1029. });
  1030.  
  1031.  
  1032. // FOOD RECIPE
  1033. GameRegistry.addRecipe(new ItemStack(MyItem_6, 1), new Object[]
  1034. {
  1035. "X",
  1036. 'X', Blocks.end_stone
  1037. });
  1038.  
  1039. // FOOD RECIPE
  1040. GameRegistry.addRecipe(new ItemStack(MyFood_2, 1), new Object[]
  1041. {
  1042. " Y ",
  1043. " S ",
  1044. " X ",
  1045. 'S', MyFood_3,
  1046. 'X', Items.bread,
  1047. 'Y', Items.sugar
  1048. });
  1049.  
  1050. // FOOD RECIPE
  1051. GameRegistry.addRecipe(new ItemStack(MySword_8, 1), new Object[]
  1052. {
  1053. "S",
  1054. "S",
  1055. "X",
  1056. 'S', Items.nether_star,
  1057. 'X', Items.stick,
  1058. });
  1059.  
  1060. // FOOD RECIPE
  1061. GameRegistry.addRecipe(new ItemStack(MyFood_3, 1), new Object[]
  1062. {
  1063. " X ",
  1064. " S ",
  1065. " X ",
  1066. 'S', Items.cooked_porkchop,
  1067. 'X', Items.porkchop
  1068. });
  1069.  
  1070. // SMELTING RECIPE
  1071. GameRegistry.addSmelting(MyBlock_1, (new ItemStack(MyItem_1, 1)), 20);
  1072.  
  1073. // SMELTING RECIPE 2
  1074. GameRegistry.addSmelting(MyBlock_3, (new ItemStack(MyItem_3, 1)), 21);
  1075.  
  1076. //Smelting Recipse
  1077. GameRegistry.addSmelting(orcanBlock, (new ItemStack(orcanIngot)), 20);
  1078.  
  1079. // HELMET RECIPE
  1080. GameRegistry.addRecipe(new ItemStack(MyHelmet_1, 1), new Object[]
  1081. {
  1082. "XXX",
  1083. "X X",
  1084. 'X', MyItem_1,
  1085. });
  1086.  
  1087. // HELMET RECIPE
  1088. GameRegistry.addRecipe(new ItemStack(MyHelmet_6, 1), new Object[]
  1089. {
  1090. "XXX",
  1091. "X X",
  1092. 'X', MyItem_6,
  1093. });
  1094.  
  1095. // HELMET RECIPE
  1096. GameRegistry.addRecipe(new ItemStack(MyChest_6, 1), new Object[]
  1097. {
  1098. "X X",
  1099. "XXX",
  1100. "XXX",
  1101. 'X', MyItem_6,
  1102. });
  1103.  
  1104. // HELMET RECIPE
  1105. GameRegistry.addRecipe(new ItemStack(MyLeggings_6, 1), new Object[]
  1106. {
  1107. "XXX",
  1108. "X X",
  1109. "X X",
  1110. 'X', MyItem_6,
  1111. });
  1112.  
  1113. // HELMET RECIPE
  1114. GameRegistry.addRecipe(new ItemStack(MyBoots_6, 1), new Object[]
  1115. {
  1116. "X X",
  1117. "X X",
  1118. 'X', MyItem_6,
  1119. });
  1120.  
  1121. // HELMET RECIPE
  1122. GameRegistry.addRecipe(new ItemStack(MyHelmet_5, 1), new Object[]
  1123. {
  1124. "XXX",
  1125. "X X",
  1126. 'X', MyItem_5,
  1127. });
  1128.  
  1129. // HELMET RECIPE
  1130. GameRegistry.addRecipe(new ItemStack(MyHelmet_4, 1), new Object[]
  1131. {
  1132. "XXX",
  1133. "X X",
  1134. 'X', MyItem_3,
  1135. });
  1136.  
  1137. // HELMET RECIPE
  1138. GameRegistry.addRecipe(new ItemStack(MyChest_4, 1), new Object[]
  1139. {
  1140. "X X",
  1141. "XXX",
  1142. "XXX",
  1143. 'X', MyItem_3,
  1144. });
  1145.  
  1146. // HELMET RECIPE
  1147. GameRegistry.addRecipe(new ItemStack(MyChest_5, 1), new Object[]
  1148. {
  1149. "X X",
  1150. "XXX",
  1151. "XXX",
  1152. 'X', MyItem_5,
  1153. });
  1154.  
  1155. // HELMET RECIPE
  1156. GameRegistry.addRecipe(new ItemStack(MyLeggings_5, 1), new Object[]
  1157. {
  1158. "XXX",
  1159. "X X",
  1160. "X X",
  1161. 'X', MyItem_5,
  1162. });
  1163.  
  1164. // HELMET RECIPE
  1165. GameRegistry.addRecipe(new ItemStack(MyLeggings_4, 1), new Object[]
  1166. {
  1167. "XXX",
  1168. "X X",
  1169. "X X",
  1170. 'X', MyItem_3,
  1171. });
  1172. // PICKAXE RECIPE
  1173. GameRegistry.addRecipe(new ItemStack(MyAxe_4, 1), new Object[]
  1174. {
  1175. "XX",
  1176. "SX",
  1177. "S ",
  1178. 'S', Items.stick,
  1179. 'X', MyItem_3,
  1180. });
  1181. // HELMET RECIPE
  1182. GameRegistry.addRecipe(new ItemStack(MyBoots_5, 1), new Object[]
  1183. {
  1184. "X X",
  1185. "X X",
  1186. 'X', MyItem_5,
  1187. });
  1188.  
  1189. // HELMET RECIPE
  1190. GameRegistry.addRecipe(new ItemStack(MyBoots_4, 1), new Object[]
  1191. {
  1192. "X X",
  1193. "X X",
  1194. 'X', MyItem_3,
  1195. });
  1196.  
  1197. // NIO BLOCK RECIPE
  1198. GameRegistry.addRecipe(new ItemStack(MyBlock_2, 1), new Object[]
  1199. {
  1200. "CIC",
  1201. "IMI",
  1202. "CIC",
  1203. 'M', Blocks.glass,
  1204. 'I', Blocks.redstone_lamp,
  1205. 'C', Items.redstone
  1206. });
  1207.  
  1208.  
  1209. // CHESTPLATE RECIPE
  1210. GameRegistry.addRecipe(new ItemStack(MyChest_1, 1), new Object[]
  1211. {
  1212. "X X",
  1213. "XXX",
  1214. "XXX",
  1215. 'X', MyItem_1,
  1216. });
  1217.  
  1218. // LEGGINGS RECIPE
  1219. GameRegistry.addRecipe(new ItemStack(MyLeggings_1, 1), new Object[]
  1220. {
  1221. "XXX",
  1222. "X X",
  1223. "X X",
  1224. 'X', MyItem_1,
  1225. });
  1226.  
  1227. // BOOTS RECIPE
  1228. GameRegistry.addRecipe(new ItemStack(MyBoots_1, 1), new Object[]
  1229. {
  1230. "X X",
  1231. "X X",
  1232. 'X', MyItem_1,
  1233. });
  1234.  
  1235. // CHESTPLATE 2 RECIPE
  1236. GameRegistry.addRecipe(new ItemStack(MyChest_2, 1), new Object[]
  1237. {
  1238. "X X",
  1239. "XXX",
  1240. "XXX",
  1241. 'X', MyItem_2,
  1242. });
  1243.  
  1244. // HELMET 2 RECIPE
  1245. GameRegistry.addRecipe(new ItemStack(MyHelmet_2, 1), new Object[]
  1246. {
  1247. "XXX",
  1248. "X X",
  1249. 'X', MyItem_2,
  1250. });
  1251.  
  1252. // LEGGINGS RECIPE
  1253. GameRegistry.addRecipe(new ItemStack(MyLeggings_2, 1), new Object[]
  1254. {
  1255. "XXX",
  1256. "X X",
  1257. "X X",
  1258. 'X', MyItem_2,
  1259. });
  1260.  
  1261. // BOOTS RECIPE
  1262. GameRegistry.addRecipe(new ItemStack(MyBoots_2, 1), new Object[]
  1263. {
  1264. "X X",
  1265. "X X",
  1266. 'X', MyItem_2,
  1267. });
  1268.  
  1269. // SHOVEL RECIPE
  1270. GameRegistry.addRecipe(new ItemStack(MyShovel, 1), new Object[]
  1271. {
  1272. "X",
  1273. "Y",
  1274. "Y",
  1275. 'X', MyItem_2,
  1276. 'Y', Items.stick
  1277. });
  1278.  
  1279. // SHOVEL RECIPE
  1280. GameRegistry.addRecipe(new ItemStack(MyShovel5, 1), new Object[]
  1281. {
  1282. "X",
  1283. "Y",
  1284. "Y",
  1285. 'X', MyItem_5,
  1286. 'Y', Items.stick
  1287. });
  1288.  
  1289. // SHOVEL RECIPE 2
  1290. GameRegistry.addRecipe(new ItemStack(MyShovel2, 1), new Object[]
  1291. {
  1292. "X",
  1293. "Y",
  1294. "Y",
  1295. 'X', MyItem_1,
  1296. 'Y', Items.stick
  1297. });
  1298.  
  1299. // SHOVEL RECIPE 3
  1300. GameRegistry.addRecipe(new ItemStack(MyShovel3, 1), new Object[]
  1301. {
  1302. "X",
  1303. "Y",
  1304. "Y",
  1305. 'X', Items.glowstone_dust,
  1306. 'Y', Items.stick
  1307. });
  1308.  
  1309.  
  1310. // SHOVEL RECIPE 4
  1311. GameRegistry.addRecipe(new ItemStack(MyShovel4, 1), new Object[]
  1312. {
  1313. "X",
  1314. "Y",
  1315. "Y",
  1316. 'X', MyItem_3,
  1317. 'Y', Items.stick
  1318. });
  1319.  
  1320. // AXE RECIPE
  1321. GameRegistry.addRecipe(new ItemStack(MyAxe2, 1), new Object[]
  1322. {
  1323. "XX",
  1324. "SX",
  1325. "S ",
  1326. 'S', Items.stick,
  1327. 'X', MyItem_1,
  1328. });
  1329.  
  1330.  
  1331.  
  1332. // HELMET 3 RECIPE
  1333. GameRegistry.addRecipe(new ItemStack(MyHelmet_3, 1), new Object[]
  1334. {
  1335. "XXX",
  1336. "X X",
  1337. 'X', Items.glowstone_dust,
  1338. });
  1339.  
  1340. // CHEST 3 RECIPE
  1341. GameRegistry.addRecipe(new ItemStack(MyChest_3, 1), new Object[]
  1342. {
  1343. "X X",
  1344. "XXX",
  1345. "XXX",
  1346. 'X', Items.glowstone_dust,
  1347. });
  1348.  
  1349. // LEGGINGS 3 RECIPE
  1350. GameRegistry.addRecipe(new ItemStack(MyLeggings_3, 1), new Object[]
  1351. {
  1352. "XXX",
  1353. "X X",
  1354. "X X",
  1355. 'X', Items.glowstone_dust,
  1356. });
  1357.  
  1358. // BOOTS 3 RECIPE
  1359. GameRegistry.addRecipe(new ItemStack(MyBoots_3, 1), new Object[]
  1360. {
  1361. "X X",
  1362. "X X",
  1363. 'X', Items.glowstone_dust,
  1364. });
  1365.  
  1366. // PICKAXE 3 RECIPE
  1367. GameRegistry.addRecipe(new ItemStack(MyPickaxe_3, 1), new Object[]
  1368. {
  1369. "XXX",
  1370. " S ",
  1371. " S ",
  1372. 'S', Items.stick,
  1373. 'X', Items.glowstone_dust,
  1374. });
  1375.  
  1376.  
  1377. // PICKAXE 3 RECIPE
  1378. GameRegistry.addRecipe(new ItemStack(MySword_7, 1), new Object[]
  1379. {
  1380. "X",
  1381. "X",
  1382. "S",
  1383. 'S', Items.stick,
  1384. 'X', MyItem_6,
  1385.  
  1386. });
  1387.  
  1388.  
  1389. // PICKAXE 3 RECIPE
  1390. GameRegistry.addRecipe(new ItemStack(orcanSword, 1), new Object[]
  1391. {
  1392. "X",
  1393. "X",
  1394. "S",
  1395. 'S', Items.stick,
  1396. 'X', orcanIngot,
  1397.  
  1398. });
  1399.  
  1400. // Orcan Pickaxe Recipe
  1401. GameRegistry.addRecipe(new ItemStack(orcanPickaxe, 1), new Object[]
  1402. {
  1403. "XXX",
  1404. " S ",
  1405. " S ",
  1406. 'S', Items.stick,
  1407. 'X', orcanIngot,
  1408.  
  1409. });
  1410.  
  1411. // Orcan Pickaxe Recipe
  1412. GameRegistry.addRecipe(new ItemStack(orcanAxe, 1), new Object[]
  1413. {
  1414. "XX",
  1415. "SX",
  1416. "S ",
  1417. 'S', Items.stick,
  1418. 'X', orcanIngot,
  1419.  
  1420. });
  1421.  
  1422. // Orcan Pickaxe Recipe
  1423. GameRegistry.addRecipe(new ItemStack(orcanShovel, 1), new Object[]
  1424. {
  1425. "X",
  1426. "S",
  1427. "S",
  1428. 'S', Items.stick,
  1429. 'X', orcanIngot,
  1430.  
  1431. });
  1432. // Pulse Rifle Recipe
  1433. GameRegistry.addRecipe(new ItemStack(pulseRifle, 1), new Object[]
  1434. {
  1435. " LS",
  1436. "ZXL",
  1437. "XZ ",
  1438. 'S', Items.redstone,
  1439. 'X', MyItem_1,
  1440. 'Z', pulseBullet,
  1441. 'L', new ItemStack(Items.dye, 1, 4)
  1442. });
  1443.  
  1444.  
  1445. // Ammo Recipe
  1446. GameRegistry.addRecipe(new ItemStack(pulseAmmo, 4), new Object[]
  1447. {
  1448. "GXG",
  1449. "YXY",
  1450. "YSY",
  1451. 'S', Items.redstone,
  1452. 'X', pulseBullet,
  1453. 'Y', Blocks.stone,
  1454. 'G', Items.gunpowder
  1455.  
  1456. });
  1457.  
  1458.  
  1459. /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
  1460.  
  1461.  
  1462. /**
  1463. * EXTRA METHODS SECTION
  1464. * *********************************************************** */
  1465. AchievementPage.registerAchievementPage(new AchievementPage("InfiniAchievementPage", new Achievement[]{MyAchievement_1, MyAchievement_2, MyAchievement_3}));
  1466.  
  1467.  
  1468. GameRegistry.registerWorldGenerator(new MyBlockGen(), 1);
  1469. GameRegistry.registerWorldGenerator(new MyBlockGenRuby(), 2);
  1470. GameRegistry.registerWorldGenerator(new orcanBlockGen(), 3);
  1471. // CHANGE THE TEXT OF THE ACHIEVEMENT
  1472.  
  1473.  
  1474.  
  1475.  
  1476. // REGISTER PICKUP HANDLER
  1477. // MyPickupHandler MyPickupHandler_1 = new MyPickupHandler();
  1478. // GameRegistry.registerPickupHandler(MyPickupHandler_1);
  1479.  
  1480. // REGISTER CRAFTING HANDLER
  1481. // MyCraftingHandler MyCraftingHandler_1 = new MyCraftingHandler();
  1482. //GameRegistry.RegisterCraftingHandler(MyCraftingHandler_1);
  1483.  
  1484. // REGISTER CRAFTING HANDLER
  1485. //MyCraftingHandler MyCraftingHandler_2 = new MyCraftingHandler();
  1486. // GameRegistry.registerCraftingHandler(MyCraftingHandler_2);
  1487.  
  1488. // CHANGE TAB NAME
  1489. LanguageRegistry.instance().addStringLocalization("itemGroup.infinicraftMain", "en_US", "InfiniCraft Main");
  1490. LanguageRegistry.instance().addStringLocalization("itemGroup.infinicraftTech", "en_US", "InfiniCraft Tech");
  1491. LanguageRegistry.instance().addStringLocalization("itemGroup.infinicraftMagic", "en_US", "InfiniCraft Magic");
  1492. // CHANGE THE TEXT OF THE ACHIEVEMENT
  1493. LanguageRegistry.instance().addStringLocalization("achievement.MyAchievement_1", "en_US", "Dude, How Did You Get This Far?");
  1494. LanguageRegistry.instance().addStringLocalization("achievement.MyAchievement_1.desc", "en_US", "Aquire Mega Stone with 8 Nether Stars and 1 Nio Block");
  1495.  
  1496. // CHANGE THE TEXT OF THE ACHIEVEMENT
  1497. LanguageRegistry.instance().addStringLocalization("achievement.MyAchievement_2", "en_US", "The Nio");
  1498. LanguageRegistry.instance().addStringLocalization("achievement.MyAchievement_2.desc", "en_US", "Aquire A Nio Block");
  1499. // CHANGE THE TEXT OF THE ACHIEVEMENT
  1500. LanguageRegistry.instance().addStringLocalization("achievement.MyAchievement_3", "en_US", "BACON! HECK YEAH!");
  1501. LanguageRegistry.instance().addStringLocalization("achievement.MyAchievement_3.desc", "en_US", "Aquire Bacon");
  1502.  
  1503. /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
  1504.  
  1505.  
  1506. }
  1507.  
  1508.  
  1509.  
  1510.  
  1511. @EventHandler
  1512. public static void postInit( FMLPostInitializationEvent event ) {
  1513.  
  1514.  
  1515. }
  1516.  
  1517. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement