Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package fr.zery59.modnawak.common;
- import net.minecraft.block.Block;
- import net.minecraft.block.material.Material;
- import net.minecraft.creativetab.CreativeTabs;
- import net.minecraft.init.Items;
- import net.minecraft.item.Item;
- import net.minecraft.item.Item.ToolMaterial;
- import net.minecraft.item.ItemArmor.ArmorMaterial;
- import net.minecraft.item.ItemStack;
- import net.minecraft.stats.Achievement;
- import net.minecraftforge.common.AchievementPage;
- import net.minecraftforge.common.util.EnumHelper;
- import net.minecraftforge.oredict.OreDictionary;
- import cpw.mods.fml.common.FMLCommonHandler;
- import cpw.mods.fml.common.Mod;
- import cpw.mods.fml.common.Mod.EventHandler;
- import cpw.mods.fml.common.Mod.Instance;
- import cpw.mods.fml.common.SidedProxy;
- import cpw.mods.fml.common.event.FMLInitializationEvent;
- import cpw.mods.fml.common.event.FMLPostInitializationEvent;
- import cpw.mods.fml.common.event.FMLPreInitializationEvent;
- import cpw.mods.fml.common.registry.GameRegistry;
- import fr.zery59.modnawak.proxy.CommonProxy;
- @Mod(modid = "nawak", name = "Mod Nawak", version = "DEV")
- public class Nawak
- {
- @Instance("nawak")
- public static Nawak instance;
- public static final String MODID = "nawak";
- @SidedProxy(clientSide = "fr.zery59.modnawak.proxy.ClientProxy", serverSide = "fr.zery59.modnawak.proxy.CommonProxy")
- public static CommonProxy proxy;
- //Déclarations des items/blocks/mobs etc...
- public static Item Rubis;
- public static Item Saphir;
- public static Item Amethyste;
- public static Item MorceauGrenat;
- public static Item Grenat;
- public static Item Andradite;
- public static Item Tanzanite;
- public static Item Axinite;
- public static Item Rhodonite;
- public static Item Almandin;
- public static Item Chrysocolle;
- public static Item PommeVerte;
- public static Item SucreColorant;
- public static Item TranchePain;
- public static Item Couteau;
- public static Item TabletteChoco;
- public static Item SandChoco;
- public static Item BolChocoDur;
- public static Item BolChocoChaud;
- public static Item SoupeEtrange;
- public static Item TestBouffe;
- public static Block RubisOre;
- public static Block SaphirOre;
- public static Block AmethysteOre;
- public static Block GrenatOre;
- public static Block AndraditeOre;
- public static Block TanzaniteOre;
- public static Block AxiniteOre;
- public static Block RhodoniteOre;
- public static Block AlmandinOre;
- public static Block ChrysocolleOre;
- public static Item helmetRubis, chestPlateRubis, leggingsRubis, bootsRubis;
- public static Item helmetAmethyste, chestPlateAmethyste, leggingsAmethyste, bootsAmethyste;
- public static Item helmetSaphir, chestPlateSaphir, leggingsSaphir, bootsSaphir;
- public static Item helmetAxinite, chestPlateAxinite, leggingsAxinite, bootsAxinite;
- public static Item helmetAlmandin, chestPlateAlmandin, leggingsAlmandin, bootsAlmandin;
- public static Item helmetChrysocolle, chestPlateChrysocolle, leggingsChrysocolle, bootsChrysocolle;
- public static Item PiocheRubis, HacheRubis, EpeeRubis, PelleRubis, FauxRubis;
- public static Item PiocheAme, HacheAme, EpeeAme, PelleAme, FauxAme;
- public static Item PiocheSaphir, HacheSaphir, EpeeSaphir, PelleSaphir, FauxSaphir;
- public static Item PiocheGrenat, HacheGrenat, EpeeGrenat, PelleGrenat, FauxGrenat;
- public static Item PiocheAndradite, HacheAndradite, EpeeAndradite, PelleAndradite, FauxAndradite;
- public static Item PiocheTanzanite, HacheTanzanite, EpeeTanzanite, PelleTanzanite, FauxTanzanite;
- public static Item PiocheAxinite, HacheAxinite, EpeeAxinite, PelleAxinite, FauxAxinite;
- public static Item PiocheRhodonite, HacheRhodonite, EpeeRhodonite, PelleRhodonite, FauxRhodonite;
- public static Item PiocheAlmandin, HacheAlmandin, EpeeAlmandin, PelleAlmandin, FauxAlmandin;
- public static Item PiocheChrysocolle, HacheChrysocolle, EpeeChrysocolle, PelleChrysocolle, FauxChrysocolle;
- public static AchievementPage NawakPageOre;
- public static AchievementPage NawakPageFood;
- public static Achievement obtenirGrenat;
- public static Achievement obtenirSaphir;
- public static Achievement crafterEpeeSaphir;
- public static Achievement obtenirRubis;
- public static Achievement obtenirAmethyste;
- public static Achievement crafterEpeeAmethyste;
- public static Achievement crafterPiocheAmethyste;
- public static Achievement obtenirRhodonite;
- public static Achievement crafterPiocheRhodonite;
- public static Achievement obtenirChrysocolle;
- public static Achievement crafterHelmetChrysocolle;
- public static Achievement crafterChestplateChrysocolle;
- public static Achievement crafterLeggingsChrysocolle;
- public static Achievement crafterBootsChrysocolle;
- public static Achievement crafterPommeVerte;
- public static ToolMaterial RubisMaterial = EnumHelper.addToolMaterial("Rubis", 2, 532, 7.5F, 1.5F, 16);
- public static ToolMaterial AmeMaterial = EnumHelper.addToolMaterial("Ame", 3, 1345, 9.0F, 3.0F, 13);
- public static ToolMaterial SaphirMaterial = EnumHelper.addToolMaterial("Saphir", 2, 799, 8.5F, 1.9F, 12);
- public static ToolMaterial GrenatMaterial = EnumHelper.addToolMaterial("Grenat", 1, 200, 13.0F, 0.0F, 25);
- public static ToolMaterial AndraditeMaterial = EnumHelper.addToolMaterial("Andradite", 2, 1067, 6.0F, 2.7F, 14);
- public static ToolMaterial TanzaniteMaterial = EnumHelper.addToolMaterial("Tanzanite", 3, 2432, 2.7F, 0.6F, 22);
- public static ToolMaterial AxiniteMaterial = EnumHelper.addToolMaterial("Axinite", 2, 999, 7.7F, 4.0F, 19);
- public static ToolMaterial RhodoniteMaterial = EnumHelper.addToolMaterial("Rhodonite", 4, 300, 4.5F, 2.0F, 10);
- public static ToolMaterial AlmandinMaterial = EnumHelper.addToolMaterial("Almandin", 2, 554, 2.9F, 2.0F, 18);
- public static ToolMaterial ChrysocolleMaterial = EnumHelper.addToolMaterial("Chrysocolle", 4, 3000, 12.9F, 6.0F, 10);
- public static ToolMaterial CouteauMaterial = EnumHelper.addToolMaterial("Couteau", 0, 30, 0.0F, 0.0F, 0);
- public static ArmorMaterial RubisArmorMaterial = EnumHelper.addArmorMaterial("Rubis Armor", 10, new int[]{1, 2, 2, 1}, 16);
- public static ArmorMaterial AmethysteArmorMaterial = EnumHelper.addArmorMaterial("Amethyste Armor", 30, new int[]{2, 5, 3, 1}, 12);
- public static ArmorMaterial SaphirArmorMaterial = EnumHelper.addArmorMaterial("Saphir Armor", 11, new int[]{1, 2, 2, 1}, 16);
- public static ArmorMaterial AxiniteArmorMaterial = EnumHelper.addArmorMaterial("Axinite Armor", 22, new int[]{2, 5, 3, 1}, 18);
- public static ArmorMaterial AlmandinArmorMaterial = EnumHelper.addArmorMaterial("Almandin Armor", 26, new int[]{2, 7, 5, 2}, 19);
- public static ArmorMaterial ChrysocolleArmorMaterial = EnumHelper.addArmorMaterial("Chrysocolle Armor", 49, new int[]{5, 11, 9, 6}, 20);
- // preInit utilisé pour créer les items, et pour les GameRegistry.
- @EventHandler
- public void preInit(FMLPreInitializationEvent event)
- {
- //Items
- Rubis = new Rubis().setUnlocalizedName("rubis").setCreativeTab(CreativeTabs.tabMaterials);
- Saphir = new Saphir().setUnlocalizedName("saphir").setCreativeTab(CreativeTabs.tabMaterials);
- Amethyste = new Amethyste().setUnlocalizedName("amethyste").setCreativeTab(CreativeTabs.tabMaterials);
- MorceauGrenat = new MorceauGrenat().setUnlocalizedName("morceaugrenat").setCreativeTab(CreativeTabs.tabMaterials);
- Grenat = new Grenat().setUnlocalizedName("grenat").setCreativeTab(CreativeTabs.tabMaterials);
- Andradite = new Andradite().setUnlocalizedName("andradite").setCreativeTab(CreativeTabs.tabMaterials);
- Tanzanite = new Tanzanite().setUnlocalizedName("tanzanite").setCreativeTab(CreativeTabs.tabMaterials);
- Axinite = new Axinite().setUnlocalizedName("axinite").setCreativeTab(CreativeTabs.tabMaterials);
- Rhodonite = new Rhodonite().setUnlocalizedName("rhodonite").setCreativeTab(CreativeTabs.tabMaterials);
- Almandin = new Almandin().setUnlocalizedName("almandin").setCreativeTab(CreativeTabs.tabMaterials);
- Chrysocolle = new Chrysocolle().setUnlocalizedName("chrysocolle").setCreativeTab(CreativeTabs.tabMaterials);
- PommeVerte = new PommeVerte(6, 0.6F, false).setUnlocalizedName("pommeverte").setCreativeTab(CreativeTabs.tabFood);
- SucreColorant = new SucreColorant().setUnlocalizedName("sucrecolorant").setCreativeTab(CreativeTabs.tabMisc);
- TranchePain = new TranchePain(3, 0.3F, false).setUnlocalizedName("tranchepain").setCreativeTab(CreativeTabs.tabFood);
- TabletteChoco = new TabletteChoco(4, 0.1F, false).setUnlocalizedName("tablettechoco").setCreativeTab(CreativeTabs.tabFood);
- SandChoco = new SandChoco(9, 0.5F, false).setUnlocalizedName("sandchoco").setCreativeTab(CreativeTabs.tabFood);
- BolChocoDur = new BolChocoDur().setUnlocalizedName("bolchocodur").setCreativeTab(CreativeTabs.tabFood);
- BolChocoChaud = new BolChocoChaud(5, 0.3F, false).setUnlocalizedName("bolchocochaud").setCreativeTab(CreativeTabs.tabFood);
- SoupeEtrange = new SoupeEtrange(5, 0.5F, false).setUnlocalizedName("soupeetrange").setCreativeTab(CreativeTabs.tabFood);
- TestBouffe = new TestBouffe(-20, 0.0F, false).setUnlocalizedName("testbouffe").setCreativeTab(CreativeTabs.tabMisc);
- Couteau = new Couteau(CouteauMaterial).setUnlocalizedName("couteau").setCreativeTab(CreativeTabs.tabCombat);
- GameRegistry.registerItem(Couteau, "couteau");
- GameRegistry.registerItem(PommeVerte, "pommeverte");
- GameRegistry.registerItem(SucreColorant, "sucrecolorant");
- GameRegistry.registerItem(TranchePain, "tranchepain");
- GameRegistry.registerItem(TabletteChoco, "tablettechoco");
- GameRegistry.registerItem(SandChoco, "sandchoco");
- GameRegistry.registerItem(BolChocoDur, "boldurchoco");
- GameRegistry.registerItem(BolChocoChaud, "bolchocochaud");
- GameRegistry.registerItem(SoupeEtrange, "soupeetrange");
- GameRegistry.registerItem(TestBouffe, "testbouffe");
- GameRegistry.registerItem(Rubis, "rubis");
- GameRegistry.registerItem(Saphir, "saphir");
- GameRegistry.registerItem(Amethyste, "amethyste");
- GameRegistry.registerItem(MorceauGrenat, "morceaugrenat");
- GameRegistry.registerItem(Grenat, "grenat");
- GameRegistry.registerItem(Andradite, "andradite");
- GameRegistry.registerItem(Tanzanite, "tanzanite");
- GameRegistry.registerItem(Axinite, "axinite");
- GameRegistry.registerItem(Rhodonite, "rhodonite");
- GameRegistry.registerItem(Almandin, "almandin");
- GameRegistry.registerItem(Chrysocolle, "chrysocolle");
- //Blocks
- RubisOre = new RubisOre(Material.rock).setBlockName("rubisore").setBlockTextureName(Nawak.MODID + ":rubisore").setCreativeTab(CreativeTabs.tabBlock);
- SaphirOre = new SaphirOre(Material.rock).setBlockName("saphirore").setBlockTextureName(Nawak.MODID + ":saphirore").setCreativeTab(CreativeTabs.tabBlock);
- AmethysteOre = new AmethysteOre(Material.rock).setBlockName("amethysteore").setBlockTextureName(Nawak.MODID + ":amethysteore").setCreativeTab(CreativeTabs.tabBlock);
- GrenatOre = new GrenatOre(Material.rock).setBlockName("grenatore").setBlockTextureName(Nawak.MODID + ":grenatore").setCreativeTab(CreativeTabs.tabBlock);
- AndraditeOre = new AndraditeOre(Material.rock).setBlockName("andraditeore").setBlockTextureName(Nawak.MODID + ":andraditeore").setCreativeTab(CreativeTabs.tabBlock);
- TanzaniteOre = new TanzaniteOre(Material.rock).setBlockName("tanzaniteore").setBlockTextureName(Nawak.MODID + ":tanzaniteore").setCreativeTab(CreativeTabs.tabBlock);
- AxiniteOre = new AxiniteOre(Material.rock).setBlockName("axiniteore").setBlockTextureName(Nawak.MODID + ":axiniteore").setCreativeTab(CreativeTabs.tabBlock);
- RhodoniteOre = new RhodoniteOre(Material.rock).setBlockName("rhodoniteore").setBlockTextureName(Nawak.MODID + ":rhodoniteore").setCreativeTab(CreativeTabs.tabBlock);
- AlmandinOre = new AlmandinOre(Material.rock).setBlockName("almandinore").setBlockTextureName(Nawak.MODID + ":almandinore").setCreativeTab(CreativeTabs.tabBlock);
- ChrysocolleOre = new ChrysocolleOre(Material.rock).setBlockName("chrysocolleore").setBlockTextureName(Nawak.MODID + ":chrysocolleore").setCreativeTab(CreativeTabs.tabBlock);
- GameRegistry.registerBlock(RubisOre, "rubisore");
- GameRegistry.registerBlock(SaphirOre, "saphirore");
- GameRegistry.registerBlock(AmethysteOre, "amethysteore");
- GameRegistry.registerBlock(GrenatOre, "garnetore");
- GameRegistry.registerBlock(AndraditeOre, "andraditeore");
- GameRegistry.registerBlock(TanzaniteOre, "tanzaniteore");
- GameRegistry.registerBlock(AxiniteOre, "axiniteore");
- GameRegistry.registerBlock(RhodoniteOre ,"rhodoniteore");
- GameRegistry.registerBlock(AlmandinOre, "almandinore");
- GameRegistry.registerBlock(ChrysocolleOre, "chrysocolleore");
- //Outils
- EpeeRubis = new EpeeRubis(RubisMaterial).setUnlocalizedName("epeerubis").setTextureName(Nawak.MODID + ":epeerubis").setCreativeTab(CreativeTabs.tabCombat);
- PiocheRubis = new PiocheRubis(RubisMaterial).setUnlocalizedName("piocherubis").setTextureName(Nawak.MODID + ":piocherubis").setCreativeTab(CreativeTabs.tabTools);
- PelleRubis = new PelleRubis(RubisMaterial).setUnlocalizedName("pellerubis").setTextureName(Nawak.MODID + ":pellerubis").setCreativeTab(CreativeTabs.tabTools);
- HacheRubis = new HacheRubis(RubisMaterial).setUnlocalizedName("hacherubis").setTextureName(Nawak.MODID + ":hacherubis").setCreativeTab(CreativeTabs.tabTools);
- FauxRubis = new FauxRubis(RubisMaterial).setUnlocalizedName("fauxrubis").setTextureName(Nawak.MODID + ":fauxrubis").setCreativeTab(CreativeTabs.tabTools);
- EpeeAme = new EpeeAme(AmeMaterial).setUnlocalizedName("epeeame").setTextureName(Nawak.MODID + ":epeeame").setCreativeTab(CreativeTabs.tabCombat);
- PiocheAme = new PiocheAme(AmeMaterial).setUnlocalizedName("piocheame").setTextureName(Nawak.MODID + ":piocheame").setCreativeTab(CreativeTabs.tabTools);
- PelleAme = new PelleAme(AmeMaterial).setUnlocalizedName("pelleame").setTextureName(Nawak.MODID + ":pelleame").setCreativeTab(CreativeTabs.tabTools);
- HacheAme = new HacheAme(AmeMaterial).setUnlocalizedName("hacheame").setTextureName(Nawak.MODID + ":hacheame").setCreativeTab(CreativeTabs.tabTools);
- FauxAme = new FauxAme(AmeMaterial).setUnlocalizedName("fauxame").setTextureName(Nawak.MODID + ":fauxame").setCreativeTab(CreativeTabs.tabTools);
- EpeeSaphir = new EpeeSaphir(SaphirMaterial).setUnlocalizedName("epeesaphir").setTextureName(Nawak.MODID + ":epeesaphir").setCreativeTab(CreativeTabs.tabCombat);
- PiocheSaphir = new PiocheSaphir(SaphirMaterial).setUnlocalizedName("piochesaphir").setTextureName(Nawak.MODID + ":piochesaphir").setCreativeTab(CreativeTabs.tabTools);
- PelleSaphir = new PelleSaphir(SaphirMaterial).setUnlocalizedName("pellesaphir").setTextureName(Nawak.MODID + ":pellesaphir").setCreativeTab(CreativeTabs.tabTools);
- HacheSaphir = new HacheSaphir(SaphirMaterial).setUnlocalizedName("hachesaphir").setTextureName(Nawak.MODID + ":hachesaphir").setCreativeTab(CreativeTabs.tabTools);
- FauxSaphir = new FauxSaphir(SaphirMaterial).setUnlocalizedName("fauxsaphir").setTextureName(Nawak.MODID + ":fauxsaphir").setCreativeTab(CreativeTabs.tabTools);
- EpeeGrenat = new EpeeGrenat(GrenatMaterial).setUnlocalizedName("epeegrenat").setTextureName(Nawak.MODID + ":epeegrenat").setCreativeTab(CreativeTabs.tabCombat);
- PiocheGrenat = new PiocheGrenat(GrenatMaterial).setUnlocalizedName("piochegrenat").setTextureName(Nawak.MODID + ":piochegrenat").setCreativeTab(CreativeTabs.tabTools);
- PelleGrenat = new PelleGrenat(GrenatMaterial).setUnlocalizedName("pellegrenat").setTextureName(Nawak.MODID + ":pellegrenat").setCreativeTab(CreativeTabs.tabTools);
- HacheGrenat = new HacheGrenat(GrenatMaterial).setUnlocalizedName("hachegrenat").setTextureName(Nawak.MODID + ":hachegrenat").setCreativeTab(CreativeTabs.tabTools);
- FauxGrenat = new FauxGrenat(GrenatMaterial).setUnlocalizedName("fauxgrenat").setTextureName(Nawak.MODID + ":fauxgrenat").setCreativeTab(CreativeTabs.tabTools);
- EpeeAndradite = new EpeeAndradite(AndraditeMaterial).setUnlocalizedName("epeeandradite").setTextureName(Nawak.MODID + ":epeeandradite").setCreativeTab(CreativeTabs.tabCombat);
- PiocheAndradite = new PiocheAndradite(AndraditeMaterial).setUnlocalizedName("piocheandradite").setTextureName(Nawak.MODID + ":piocheandradite").setCreativeTab(CreativeTabs.tabTools);
- PelleAndradite = new PelleAndradite(AndraditeMaterial).setUnlocalizedName("pelleandradite").setTextureName(Nawak.MODID + ":pelleandradite").setCreativeTab(CreativeTabs.tabTools);
- HacheAndradite = new HacheAndradite(AndraditeMaterial).setUnlocalizedName("hacheandradite").setTextureName(Nawak.MODID + ":hacheandradite").setCreativeTab(CreativeTabs.tabTools);
- FauxAndradite = new FauxAndradite(AndraditeMaterial).setUnlocalizedName("fauxandradite").setTextureName(Nawak.MODID + ":fauxandradite").setCreativeTab(CreativeTabs.tabTools);
- EpeeTanzanite = new EpeeTanzanite(TanzaniteMaterial).setUnlocalizedName("epeetanzanite").setTextureName(Nawak.MODID + ":epeetanzanite").setCreativeTab(CreativeTabs.tabCombat);
- PiocheTanzanite = new PiocheTanzanite(TanzaniteMaterial).setUnlocalizedName("piochetanzanite").setTextureName(Nawak.MODID + ":piochetanzanite").setCreativeTab(CreativeTabs.tabTools);
- PelleTanzanite = new PelleTanzanite(TanzaniteMaterial).setUnlocalizedName("pelletanzanite").setTextureName(Nawak.MODID + ":pelletanzanite").setCreativeTab(CreativeTabs.tabTools);
- HacheTanzanite = new HacheTanzanite(TanzaniteMaterial).setUnlocalizedName("hachetanzanite").setTextureName(Nawak.MODID + ":hachetanzanite").setCreativeTab(CreativeTabs.tabTools);
- FauxTanzanite = new FauxTanzanite(TanzaniteMaterial).setUnlocalizedName("fauxtanzanite").setTextureName(Nawak.MODID + ":fauxtanzanite").setCreativeTab(CreativeTabs.tabTools);
- EpeeAxinite = new EpeeAxinite(AxiniteMaterial).setUnlocalizedName("epeeaxinite").setTextureName(Nawak.MODID + ":epeeaxinite").setCreativeTab(CreativeTabs.tabCombat);
- PiocheAxinite = new PiocheAxinite(AxiniteMaterial).setUnlocalizedName("piocheaxinite").setTextureName(Nawak.MODID + ":piocheaxinite").setCreativeTab(CreativeTabs.tabTools);
- PelleAxinite = new PelleAxinite(AxiniteMaterial).setUnlocalizedName("pelleaxinite").setTextureName(Nawak.MODID + ":pelleaxinite").setCreativeTab(CreativeTabs.tabTools);
- HacheAxinite = new HacheAxinite(AxiniteMaterial).setUnlocalizedName("hacheaxinite").setTextureName(Nawak.MODID + ":hacheaxinite").setCreativeTab(CreativeTabs.tabTools);
- FauxAxinite = new FauxAxinite(AxiniteMaterial).setUnlocalizedName("fauxaxinite").setTextureName(Nawak.MODID + ":fauxaxinite").setCreativeTab(CreativeTabs.tabTools);
- EpeeRhodonite = new EpeeRhodonite(RhodoniteMaterial).setUnlocalizedName("epeerhodonite").setTextureName(Nawak.MODID + ":epeerhodonite").setCreativeTab(CreativeTabs.tabCombat);
- PiocheRhodonite = new PiocheRhodonite(RhodoniteMaterial).setUnlocalizedName("piocherhodonite").setTextureName(Nawak.MODID + ":piocherhodonite").setCreativeTab(CreativeTabs.tabTools);
- PelleRhodonite = new PelleRhodonite(RhodoniteMaterial).setUnlocalizedName("pellerhodonite").setTextureName(Nawak.MODID + ":pellerhodonite").setCreativeTab(CreativeTabs.tabTools);
- HacheRhodonite = new HacheRhodonite(RhodoniteMaterial).setUnlocalizedName("hacherhodonite").setTextureName(Nawak.MODID + ":hacherhodonite").setCreativeTab(CreativeTabs.tabTools);
- FauxRhodonite = new FauxRhodonite(RhodoniteMaterial).setUnlocalizedName("fauxrhodonite").setTextureName(Nawak.MODID + ":fauxrhodonite").setCreativeTab(CreativeTabs.tabTools);
- EpeeAlmandin = new EpeeAlmandin(AlmandinMaterial).setUnlocalizedName("epeealmandin").setTextureName(Nawak.MODID + ":epeealmandin").setCreativeTab(CreativeTabs.tabCombat);
- PiocheAlmandin = new PiocheAlmandin(AlmandinMaterial).setUnlocalizedName("piochealmandin").setTextureName(Nawak.MODID + ":piochealmandin").setCreativeTab(CreativeTabs.tabTools);
- PelleAlmandin = new PelleAlmandin(AlmandinMaterial).setUnlocalizedName("pellealmandin").setTextureName(Nawak.MODID + ":pellealmandin").setCreativeTab(CreativeTabs.tabTools);
- HacheAlmandin = new HacheAlmandin(AlmandinMaterial).setUnlocalizedName("hachealmandin").setTextureName(Nawak.MODID + ":hachealmandin").setCreativeTab(CreativeTabs.tabTools);
- FauxAlmandin = new FauxAlmandin(AlmandinMaterial).setUnlocalizedName("fauxalmandin").setTextureName(Nawak.MODID + ":fauxalmandin").setCreativeTab(CreativeTabs.tabTools);
- EpeeChrysocolle = new EpeeChrysocolle(ChrysocolleMaterial).setUnlocalizedName("epeechrysocolle").setTextureName(Nawak.MODID + ":epeechrysocolle").setCreativeTab(CreativeTabs.tabCombat);
- PiocheChrysocolle = new PiocheChrysocolle(ChrysocolleMaterial).setUnlocalizedName("piochechrysocolle").setTextureName(Nawak.MODID + ":piochechrysocolle").setCreativeTab(CreativeTabs.tabTools);
- PelleChrysocolle = new PelleChrysocolle(ChrysocolleMaterial).setUnlocalizedName("pellechrysocolle").setTextureName(Nawak.MODID + ":pellechrysocolle").setCreativeTab(CreativeTabs.tabTools);
- HacheChrysocolle = new HacheChrysocolle(ChrysocolleMaterial).setUnlocalizedName("hachechrysocolle").setTextureName(Nawak.MODID + ":hachechrysocolle").setCreativeTab(CreativeTabs.tabTools);
- FauxChrysocolle = new FauxChrysocolle(ChrysocolleMaterial).setUnlocalizedName("fauxchrysocolle").setTextureName(Nawak.MODID + ":fauxchrysocolle").setCreativeTab(CreativeTabs.tabTools);
- GameRegistry.registerItem(EpeeRubis, "epeerubis");
- GameRegistry.registerItem(PiocheRubis, "piocherubis");
- GameRegistry.registerItem(PelleRubis, "pellerubis");
- GameRegistry.registerItem(HacheRubis, "hacherubis");
- GameRegistry.registerItem(FauxRubis, "fauxrubis");
- GameRegistry.registerItem(EpeeAme, "epeeame");
- GameRegistry.registerItem(PiocheAme, "piocheame");
- GameRegistry.registerItem(PelleAme, "pelleame");
- GameRegistry.registerItem(HacheAme, "hacheame");
- GameRegistry.registerItem(FauxAme, "fauxame");
- GameRegistry.registerItem(EpeeSaphir, "epeesaphir");
- GameRegistry.registerItem(PiocheSaphir, "piochesaphir");
- GameRegistry.registerItem(PelleSaphir, "pellesaphir");
- GameRegistry.registerItem(HacheSaphir, "hachesaphir");
- GameRegistry.registerItem(FauxSaphir, "fauxsaphir");
- GameRegistry.registerItem(EpeeGrenat, "epeegrenat");
- GameRegistry.registerItem(PiocheGrenat, "piochegrenat");
- GameRegistry.registerItem(PelleGrenat, "pellegrenat");
- GameRegistry.registerItem(HacheGrenat, "hachegrenat");
- GameRegistry.registerItem(FauxGrenat, "fauxgrenat");
- GameRegistry.registerItem(EpeeAndradite, "epeeandradite");
- GameRegistry.registerItem(PiocheAndradite, "piocheandradite");
- GameRegistry.registerItem(PelleAndradite, "pelleandradite");
- GameRegistry.registerItem(HacheAndradite, "hacheandradite");
- GameRegistry.registerItem(FauxAndradite, "fauxandradite");
- GameRegistry.registerItem(EpeeTanzanite, "epeetanzanite");
- GameRegistry.registerItem(PiocheTanzanite, "piochetanzanite");
- GameRegistry.registerItem(PelleTanzanite, "pelletanzanite");
- GameRegistry.registerItem(HacheTanzanite, "hachetanzanite");
- GameRegistry.registerItem(FauxTanzanite, "fauxtanzanite");
- GameRegistry.registerItem(EpeeAxinite, "epeeaxinite");
- GameRegistry.registerItem(PiocheAxinite, "piocheaxinite");
- GameRegistry.registerItem(PelleAxinite, "pelleaxinite");
- GameRegistry.registerItem(HacheAxinite, "hacheaxinite");
- GameRegistry.registerItem(FauxAxinite, "fauxaxinite");
- GameRegistry.registerItem(EpeeRhodonite, "epeerhodonite");
- GameRegistry.registerItem(PiocheRhodonite, "piocherhodonite");
- GameRegistry.registerItem(PelleRhodonite, "pellerhodonite");
- GameRegistry.registerItem(HacheRhodonite, "hacherhodonite");
- GameRegistry.registerItem(FauxRhodonite, "fauxrhodonite");
- GameRegistry.registerItem(EpeeAlmandin, "epeealmandin");
- GameRegistry.registerItem(PiocheAlmandin, "piochealmandin");
- GameRegistry.registerItem(PelleAlmandin, "pellealmandin");
- GameRegistry.registerItem(HacheAlmandin, "hachealmandin");
- GameRegistry.registerItem(FauxAlmandin, "fauxalmandin");
- GameRegistry.registerItem(EpeeChrysocolle, "epeechrysocolle");
- GameRegistry.registerItem(PiocheChrysocolle, "piochechrysocolle");
- GameRegistry.registerItem(PelleChrysocolle, "pellechrysocolle");
- GameRegistry.registerItem(HacheChrysocolle, "hachechrysocolle");
- GameRegistry.registerItem(FauxChrysocolle, "fauxchrysocolle");
- //Armors
- helmetRubis = new RubisArmor(RubisArmorMaterial, 0).setUnlocalizedName("helmetRubis").setTextureName(Nawak.MODID + ":helmetrubis").setCreativeTab(CreativeTabs.tabCombat);
- chestPlateRubis = new RubisArmor(RubisArmorMaterial, 1).setUnlocalizedName("chestplateRubis").setTextureName(Nawak.MODID + ":chestplaterubis").setCreativeTab(CreativeTabs.tabCombat);
- leggingsRubis = new RubisArmor(RubisArmorMaterial, 2).setUnlocalizedName("leggingsRubis").setTextureName(Nawak.MODID + ":leggingsrubis").setCreativeTab(CreativeTabs.tabCombat);
- bootsRubis = new RubisArmor(RubisArmorMaterial, 3).setUnlocalizedName("bootsRubis").setTextureName(Nawak.MODID + ":bootsrubis").setCreativeTab(CreativeTabs.tabCombat);
- helmetAmethyste = new AmethysteArmor(AmethysteArmorMaterial, 0).setUnlocalizedName("helmetAmethyste").setTextureName(Nawak.MODID + ":helmetamethyste").setCreativeTab(CreativeTabs.tabCombat);
- chestPlateAmethyste = new AmethysteArmor(AmethysteArmorMaterial, 1).setUnlocalizedName("chestplateAmethyste").setTextureName(Nawak.MODID + ":chestplateamethyste").setCreativeTab(CreativeTabs.tabCombat);
- leggingsAmethyste = new AmethysteArmor(AmethysteArmorMaterial, 2).setUnlocalizedName("leggingsAmethyste").setTextureName(Nawak.MODID + ":leggingsamethyste").setCreativeTab(CreativeTabs.tabCombat);
- bootsAmethyste = new AmethysteArmor(AmethysteArmorMaterial, 3).setUnlocalizedName("bootsAmethyste").setTextureName(Nawak.MODID + ":bootsamethyste").setCreativeTab(CreativeTabs.tabCombat);
- helmetSaphir = new SaphirArmor(SaphirArmorMaterial, 0).setUnlocalizedName("helmetSaphir").setTextureName(Nawak.MODID + ":helmetsaphir").setCreativeTab(CreativeTabs.tabCombat);
- chestPlateSaphir = new SaphirArmor(SaphirArmorMaterial, 1).setUnlocalizedName("chestplateSaphir").setTextureName(Nawak.MODID + ":chestplatesaphir").setCreativeTab(CreativeTabs.tabCombat);
- leggingsSaphir = new SaphirArmor(SaphirArmorMaterial, 2).setUnlocalizedName("leggingsSaphir").setTextureName(Nawak.MODID + ":leggingssaphir").setCreativeTab(CreativeTabs.tabCombat);
- bootsSaphir = new SaphirArmor(SaphirArmorMaterial, 3).setUnlocalizedName("bootsSaphir").setTextureName(Nawak.MODID + ":bootssaphir").setCreativeTab(CreativeTabs.tabCombat);
- helmetAxinite = new AxiniteArmor(AxiniteArmorMaterial, 0).setUnlocalizedName("helmetAxinite").setTextureName(Nawak.MODID + ":helmetaxinite").setCreativeTab(CreativeTabs.tabCombat);
- chestPlateAxinite = new AxiniteArmor(AxiniteArmorMaterial, 1).setUnlocalizedName("chestplateAxinite").setTextureName(Nawak.MODID + ":chestplateaxinite").setCreativeTab(CreativeTabs.tabCombat);
- leggingsAxinite = new AxiniteArmor(AxiniteArmorMaterial, 2).setUnlocalizedName("leggingsAxinite").setTextureName(Nawak.MODID + ":leggingsaxinite").setCreativeTab(CreativeTabs.tabCombat);
- bootsAxinite = new AxiniteArmor(AxiniteArmorMaterial, 3).setUnlocalizedName("bootsAxinite").setTextureName(Nawak.MODID + ":bootsaxinite").setCreativeTab(CreativeTabs.tabCombat);
- helmetAlmandin = new AlmandinArmor(AlmandinArmorMaterial, 0).setUnlocalizedName("helmetAlmandin").setTextureName(Nawak.MODID + ":helmetalmandin").setCreativeTab(CreativeTabs.tabCombat);
- chestPlateAlmandin = new AlmandinArmor(AlmandinArmorMaterial, 1).setUnlocalizedName("chestplateAlmandin").setTextureName(Nawak.MODID + ":chestplatealmandin").setCreativeTab(CreativeTabs.tabCombat);
- leggingsAlmandin = new AlmandinArmor(AlmandinArmorMaterial, 2).setUnlocalizedName("leggingsAlmandin").setTextureName(Nawak.MODID + ":leggingsalmandin").setCreativeTab(CreativeTabs.tabCombat);
- bootsAlmandin = new AlmandinArmor(AlmandinArmorMaterial, 3).setUnlocalizedName("bootsAlmandin").setTextureName(Nawak.MODID + ":bootsalmandin").setCreativeTab(CreativeTabs.tabCombat);
- helmetChrysocolle = new ChrysocolleArmor(ChrysocolleArmorMaterial, 0).setUnlocalizedName("helmetChrysocolle").setTextureName(Nawak.MODID + ":helmetchrysocolle").setCreativeTab(CreativeTabs.tabCombat);
- chestPlateChrysocolle = new ChrysocolleArmor(ChrysocolleArmorMaterial, 1).setUnlocalizedName("chestplateChrysocolle").setTextureName(Nawak.MODID + ":chestplatechrysocolle").setCreativeTab(CreativeTabs.tabCombat);
- leggingsChrysocolle = new ChrysocolleArmor(ChrysocolleArmorMaterial, 2).setUnlocalizedName("leggingsChrysocolle").setTextureName(Nawak.MODID + ":leggingschrysocolle").setCreativeTab(CreativeTabs.tabCombat);
- bootsChrysocolle = new ChrysocolleArmor(ChrysocolleArmorMaterial, 3).setUnlocalizedName("bootsChrysocolle").setTextureName(Nawak.MODID + ":bootschrysocolle").setCreativeTab(CreativeTabs.tabCombat);
- GameRegistry.registerItem(helmetRubis, "helmetrubis");
- GameRegistry.registerItem(chestPlateRubis, "chestplaterubis");
- GameRegistry.registerItem(leggingsRubis, "leggingsrubis");
- GameRegistry.registerItem(bootsRubis, "bootsrubis");
- GameRegistry.registerItem(helmetAmethyste, "helmetamethyste");
- GameRegistry.registerItem(chestPlateAmethyste, "chestplateamethyste");
- GameRegistry.registerItem(leggingsAmethyste, "leggingsamethyste");
- GameRegistry.registerItem(bootsAmethyste, "bootsamethyste");
- GameRegistry.registerItem(helmetSaphir, "helmetsaphir");
- GameRegistry.registerItem(chestPlateSaphir, "chestplatesaphir");
- GameRegistry.registerItem(leggingsSaphir, "leggingssaphir");
- GameRegistry.registerItem(bootsSaphir, "bootssaphir");
- GameRegistry.registerItem(helmetAxinite, "helmetaxinite");
- GameRegistry.registerItem(chestPlateAxinite, "chestplateaxinite");
- GameRegistry.registerItem(leggingsAxinite, "leggingsaxinite");
- GameRegistry.registerItem(bootsAxinite, "bootsaxinite");
- GameRegistry.registerItem(helmetAlmandin, "helmetalmandin");
- GameRegistry.registerItem(chestPlateAlmandin, "chestplatealmandin");
- GameRegistry.registerItem(leggingsAlmandin, "leggingsalmandin");
- GameRegistry.registerItem(bootsAlmandin, "bootsalmandin");
- GameRegistry.registerItem(helmetChrysocolle, "helmetchrysocolle");
- GameRegistry.registerItem(chestPlateChrysocolle, "chestplatechrysocolle");
- GameRegistry.registerItem(leggingsChrysocolle, "leggingschrysocolle");
- GameRegistry.registerItem(bootsChrysocolle, "bootschrysocolle");
- //Mobs
- //Génération de minerais
- GameRegistry.registerWorldGenerator(new MineraiGenerator(), 0);
- //Achievements
- obtenirGrenat = new Achievement("achievement.obtenirGrenat", "obtenirGrenat", 0, 0, this.Grenat, (Achievement)null).initIndependentStat().registerStat();
- obtenirSaphir = new Achievement("achievement.obtenirSaphir", "obtenirSaphir", -2, 0, this.Saphir, obtenirGrenat).registerStat();
- crafterEpeeSaphir = new Achievement("achievement.crafterEpeeSaphir", "crafterEpeeSaphir", -2, -2, this.EpeeSaphir, obtenirSaphir).registerStat();
- obtenirRubis = new Achievement("achievement.obtenirRubis", "obtenirRubis", 2, 0, this.Rubis, obtenirGrenat).registerStat();
- obtenirAmethyste = new Achievement("achievement.obtenirAmethyste", "obtenirAmethyste", 0, 2, this.Amethyste, obtenirGrenat).registerStat();
- crafterPiocheAmethyste = new Achievement("achievement.crafterPiocheAmethyste", "crafterPiocheAmethyste", -2, 2, this.PiocheAme, obtenirAmethyste).registerStat();
- crafterEpeeAmethyste = new Achievement("achievement.crafterEpeeAmethyste", "crafterEpeeAmethyste", 2, 2, this.EpeeAme, obtenirAmethyste).registerStat();
- obtenirRhodonite = new Achievement("achievement.obtenirRhodonite", "obtenirRhodonite", 0, 4, this.Rhodonite, obtenirAmethyste).registerStat();
- crafterPiocheRhodonite = new Achievement("achievement.crafterPiocheRhodonite", "crafterPiocheRhodonite", 0, 6, this.PiocheRhodonite, obtenirRhodonite).registerStat();
- obtenirChrysocolle = new Achievement("achievement.obtenirChrysocolle", "obtenirChrysocolle", 0, 8, this.Chrysocolle, obtenirRhodonite).registerStat().setSpecial();
- crafterHelmetChrysocolle = new Achievement("achievement.crafterHelmetChrysocolle", "crafterHelmetChrysocolle", -4, 9, this.helmetChrysocolle, obtenirChrysocolle);
- crafterChestplateChrysocolle = new Achievement("achievement.crafterChestplateChrysocolle", "crafterChestplateChrysocolle", -2, 10, this.chestPlateChrysocolle, crafterHelmetChrysocolle);
- crafterLeggingsChrysocolle = new Achievement("achievement.crafterLeggingsChrysocolle", "crafterLeggingsChrysocolle", 0, 11, this.leggingsChrysocolle, crafterChestplateChrysocolle);
- crafterBootsChrysocolle = new Achievement("achievement.crafterBootsChrysocolle", "crafterBootsChrysocolle", 2, 12, this.bootsChrysocolle, crafterLeggingsChrysocolle);
- crafterPommeVerte = new Achievement("", "", 0, 0, this.PommeVerte, (Achievement)null).initIndependentStat().registerStat();
- NawakPageOre = new AchievementPage("Nawak Ore", obtenirGrenat, obtenirSaphir, obtenirRubis, crafterEpeeSaphir, obtenirRhodonite, obtenirAmethyste, crafterPiocheAmethyste, crafterEpeeAmethyste, obtenirChrysocolle, crafterPiocheRhodonite, crafterHelmetChrysocolle, crafterChestplateChrysocolle, crafterLeggingsChrysocolle, crafterBootsChrysocolle);
- NawakPageFood = new AchievementPage("Nawak Food");
- AchievementPage.registerAchievementPage(NawakPageOre);
- AchievementPage.registerAchievementPage(NawakPageFood);
- }
- // init utilisé pour les crafts, mobs, events etc...
- @EventHandler
- public void init(FMLInitializationEvent event)
- {
- proxy.registerRender();
- //Recettes
- GameRegistry.addSmelting(this.AndraditeOre, new ItemStack(this.Andradite), 0.9F);
- GameRegistry.addSmelting(this.AlmandinOre, new ItemStack(this.Almandin), 0.3F);
- GameRegistry.addSmelting(this.AmethysteOre, new ItemStack(this.Amethyste), 1.0F);
- GameRegistry.addSmelting(this.AxiniteOre, new ItemStack(this.Axinite), 1.2F);
- GameRegistry.addSmelting(this.ChrysocolleOre, new ItemStack(this.Chrysocolle), 1.0F);
- GameRegistry.addSmelting(this.RhodoniteOre, new ItemStack(this.Rhodonite), 0.7F);
- GameRegistry.addSmelting(this.TanzaniteOre, new ItemStack(this.Tanzanite), 0.9F);
- GameRegistry.addSmelting(this.BolChocoDur, new ItemStack(this.BolChocoChaud), 0.1F);
- GameRegistry.addRecipe(new ItemStack(this.Grenat), new Object[]{"XXX","XXX","XXX", 'X', this.MorceauGrenat});
- GameRegistry.addRecipe(new ItemStack(this.Couteau), new Object[]{" ", " Y ", " X ", 'X', Items.stick, 'Y', Items.iron_ingot});
- GameRegistry.addRecipe(new ItemStack(this.PommeVerte), new Object[]{"XXX", "XYX", "XXX", 'X', this.SucreColorant, 'Y', Items.apple});
- GameRegistry.addRecipe(new ItemStack(this.TabletteChoco), new Object[]{"XX", "XX", 'X', new ItemStack(Items.dye, 2, 3)});
- GameRegistry.addRecipe(new ItemStack(this.SandChoco), new Object[]{"X", "Y", "X", 'X', this.TranchePain, 'Y', this.TabletteChoco});
- GameRegistry.addRecipe(new ItemStack(this.PiocheRubis), new Object[]{"XXX", " Y ", " Y ", 'X', this.Rubis, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.EpeeRubis), new Object[]{"X", "X", "Y", 'X', this.Rubis, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PelleRubis), new Object[]{"X", "Y", "Y", 'X', this.Rubis, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.HacheRubis), new Object[]{"XX", "XY", " Y", 'X', this.Rubis, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.FauxRubis), new Object[]{"XX", " Y", " Y", 'X', this.Rubis, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PiocheAme), new Object[]{"XXX", " Y ", " Y ", 'X', this.Amethyste, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.EpeeAme), new Object[]{"X", "X", "Y", 'X', this.Amethyste, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PelleAme), new Object[]{"X", "Y", "Y", 'X', this.Amethyste, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.HacheAme), new Object[]{"XX", "XY", " Y", 'X', this.Amethyste, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.FauxAme), new Object[]{"XX", " Y", " Y", 'X', this.Amethyste, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PiocheSaphir), new Object[]{"XXX", " Y ", " Y ", 'X', this.Saphir, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.EpeeSaphir), new Object[]{"X", "X", "Y", 'X', this.Saphir, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PelleSaphir), new Object[]{"X", "Y", "Y", 'X', this.Saphir, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.HacheSaphir), new Object[]{"XX", "XY", " Y", 'X', this.Saphir, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.FauxSaphir), new Object[]{"XX", " Y", " Y", 'X', this.Saphir, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PiocheGrenat), new Object[]{"XXX", " Y ", " Y ", 'X', this.Grenat, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.EpeeGrenat), new Object[]{"X", "X", "Y", 'X', this.Grenat, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PelleGrenat), new Object[]{"X", "Y", "Y", 'X', this.Grenat, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.HacheGrenat), new Object[]{"XX", "XY", " Y", 'X', this.Grenat, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.FauxGrenat), new Object[]{"XX", " Y", " Y", 'X', this.Grenat, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PiocheAndradite), new Object[]{"XXX", " Y ", " Y ", 'X', this.Andradite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.EpeeAndradite), new Object[]{"X", "X", "Y", 'X', this.Andradite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PelleAndradite), new Object[]{"X", "Y", "Y", 'X', this.Andradite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.HacheAndradite), new Object[]{"XX", "XY", " Y", 'X', this.Andradite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.FauxAndradite), new Object[]{"XX", " Y", " Y", 'X', this.Andradite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PiocheTanzanite), new Object[]{"XXX", " Y ", " Y ", 'X', this.Tanzanite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.EpeeTanzanite), new Object[]{"X", "X", "Y", 'X', this.Tanzanite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PelleTanzanite), new Object[]{"X", "Y", "Y", 'X', this.Tanzanite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.HacheTanzanite), new Object[]{"XX", "XY", " Y", 'X', this.Tanzanite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.FauxTanzanite), new Object[]{"XX", " Y", " Y", 'X', this.Tanzanite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PiocheAxinite), new Object[]{"XXX", " Y ", " Y ", 'X', this.Axinite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.EpeeAxinite), new Object[]{"X", "X", "Y", 'X', this.Axinite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PelleAxinite), new Object[]{"X", "Y", "Y", 'X', this.Axinite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.HacheAxinite), new Object[]{"XX", "XY", " Y", 'X', this.Axinite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.FauxAxinite), new Object[]{"XX", " Y", " Y", 'X', this.Axinite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PiocheRhodonite), new Object[]{"XXX", " Y ", " Y ", 'X', this.Rhodonite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.EpeeRhodonite), new Object[]{"X", "X", "Y", 'X', this.Rhodonite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PelleRhodonite), new Object[]{"X", "Y", "Y", 'X', this.Rhodonite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.HacheRhodonite), new Object[]{"XX", "XY", " Y", 'X', this.Rhodonite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.FauxRhodonite), new Object[]{"XX", " Y", " Y", 'X', this.Rhodonite, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PiocheAlmandin), new Object[]{"XXX", " Y ", " Y ", 'X', this.Almandin, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.EpeeAlmandin), new Object[]{"X", "X", "Y", 'X', this.Almandin, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PelleAlmandin), new Object[]{"X", "Y", "Y", 'X', this.Almandin, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.HacheAlmandin), new Object[]{"XX", "XY", " Y", 'X', this.Almandin, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.FauxAlmandin), new Object[]{"XX", " Y", " Y", 'X', this.Almandin, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PiocheChrysocolle), new Object[]{"XXX", " Y ", " Y ", 'X', this.Chrysocolle, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.EpeeChrysocolle), new Object[]{"X", "X", "Y", 'X', this.Chrysocolle, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.PelleChrysocolle), new Object[]{"X", "Y", "Y", 'X', this.Chrysocolle, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.HacheChrysocolle), new Object[]{"XX", "XY", " Y", 'X', this.Chrysocolle, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.FauxChrysocolle), new Object[]{"XX", " Y", " Y", 'X', this.Chrysocolle, 'Y', Items.stick});
- GameRegistry.addRecipe(new ItemStack(this.helmetRubis), new Object[]{"XXX", "X X", 'X', this.Rubis});
- GameRegistry.addRecipe(new ItemStack(this.chestPlateRubis), new Object[]{"X X", "XXX", "XXX", 'X', this.Rubis});
- GameRegistry.addRecipe(new ItemStack(this.leggingsRubis), new Object[]{"XXX", "X X", "X X", 'X', this.Rubis});
- GameRegistry.addRecipe(new ItemStack(this.bootsRubis), new Object[]{"X X", "X X", 'X', this.Rubis});
- GameRegistry.addRecipe(new ItemStack(this.helmetAmethyste), new Object[]{"XXX", "X X", 'X', this.Amethyste});
- GameRegistry.addRecipe(new ItemStack(this.chestPlateAmethyste), new Object[]{"X X", "XXX", "XXX", 'X', this.Amethyste});
- GameRegistry.addRecipe(new ItemStack(this.leggingsAmethyste), new Object[]{"XXX", "X X", "X X", 'X', this.Amethyste});
- GameRegistry.addRecipe(new ItemStack(this.bootsAmethyste), new Object[]{"X X", "X X", 'X', this.Amethyste});
- GameRegistry.addRecipe(new ItemStack(this.helmetSaphir), new Object[]{"XXX", "X X", 'X', this.Saphir});
- GameRegistry.addRecipe(new ItemStack(this.chestPlateSaphir), new Object[]{"X X", "XXX", "XXX", 'X', this.Saphir});
- GameRegistry.addRecipe(new ItemStack(this.leggingsSaphir), new Object[]{"XXX", "X X", "X X", 'X', this.Saphir});
- GameRegistry.addRecipe(new ItemStack(this.bootsSaphir), new Object[]{"X X", "X X", 'X', this.Saphir});
- GameRegistry.addRecipe(new ItemStack(this.helmetAxinite), new Object[]{"XXX", "X X", 'X', this.Axinite});
- GameRegistry.addRecipe(new ItemStack(this.chestPlateAxinite), new Object[]{"X X", "XXX", "XXX", 'X', this.Axinite});
- GameRegistry.addRecipe(new ItemStack(this.leggingsAxinite), new Object[]{"XXX", "X X", "X X", 'X', this.Axinite});
- GameRegistry.addRecipe(new ItemStack(this.bootsAxinite), new Object[]{"X X", "X X", 'X', this.Axinite});
- GameRegistry.addRecipe(new ItemStack(this.helmetAlmandin), new Object[]{"XXX", "X X", 'X', this.Almandin});
- GameRegistry.addRecipe(new ItemStack(this.chestPlateAlmandin), new Object[]{"X X", "XXX", "XXX", 'X', this.Almandin});
- GameRegistry.addRecipe(new ItemStack(this.leggingsAlmandin), new Object[]{"XXX", "X X", "X X", 'X', this.Almandin});
- GameRegistry.addRecipe(new ItemStack(this.bootsAlmandin), new Object[]{"X X", "X X", 'X', this.Almandin});
- GameRegistry.addRecipe(new ItemStack(this.helmetChrysocolle), new Object[]{"XXX", "X X", 'X', this.Chrysocolle});
- GameRegistry.addRecipe(new ItemStack(this.chestPlateChrysocolle), new Object[]{"X X", "XXX", "XXX", 'X', this.Chrysocolle});
- GameRegistry.addRecipe(new ItemStack(this.leggingsChrysocolle), new Object[]{"XXX", "X X", "X X", 'X', this.Chrysocolle});
- GameRegistry.addRecipe(new ItemStack(this.bootsChrysocolle), new Object[]{"X X", "X X", 'X', this.Chrysocolle});
- GameRegistry.addShapelessRecipe(new ItemStack(this.SucreColorant), new Object[]{new ItemStack(Items.sugar), new ItemStack(Items.dye, 1, 10)});
- GameRegistry.addShapelessRecipe(new ItemStack(this.TranchePain), new Object[] {new ItemStack(this.Couteau, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.bread)});
- GameRegistry.addShapelessRecipe(new ItemStack(this.BolChocoDur), new Object[]{new ItemStack(Items.bowl), new ItemStack(this.TabletteChoco)});
- //Achievements
- FMLCommonHandler.instance().bus().register(new CraftingHandler());
- //Monstres
- }
- //postInit n'est pas utilisé, mais important.
- @EventHandler
- public void postInit(FMLPostInitializationEvent event)
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement