diff options
| author | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2014-03-08 22:16:06 +0200 |
|---|---|---|
| committer | OnyxDarkKnight <sor1n.iliutza16@gmail.com> | 2014-03-08 22:16:06 +0200 |
| commit | 3e0556ee7aadfbb7695f87063662a9ca0d28175f (patch) | |
| tree | 3a5ab57ce1e64e002fc22e16e91ae62a573d5f45 /common/darkknight/jewelrycraft/JewelrycraftMod.java | |
| parent | 05b5b13256c420568d1f07ed634dfd47509d53f2 (diff) | |
Lots of new things
Diffstat (limited to 'common/darkknight/jewelrycraft/JewelrycraftMod.java')
| -rw-r--r-- | common/darkknight/jewelrycraft/JewelrycraftMod.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/common/darkknight/jewelrycraft/JewelrycraftMod.java b/common/darkknight/jewelrycraft/JewelrycraftMod.java index 29fe6a2..5191047 100644 --- a/common/darkknight/jewelrycraft/JewelrycraftMod.java +++ b/common/darkknight/jewelrycraft/JewelrycraftMod.java @@ -69,9 +69,10 @@ public class JewelrycraftMod implements IConnectionHandler @Override public ItemStack getIconItemStack() { - return new ItemStack(ItemList.ring, 1, 0); + return new ItemStack(BlockList.jewelCraftingTable); } }; + public static CreativeTabs rings = new CreativeTabRings("Rings"); @EventHandler public void preInit(FMLPreInitializationEvent e) @@ -80,7 +81,8 @@ public class JewelrycraftMod implements IConnectionHandler ItemList.preInit(e); BlockList.preInit(e); CraftingRecipes.preInit(e); - JewelrycraftUtil.addMetals(); + OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot)); + OreDictionary.registerOre("oreShadow", new ItemStack(BlockList.shadowOre)); VillagerRegistry.instance().registerVillagerId(3000); VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades()); @@ -100,8 +102,6 @@ public class JewelrycraftMod implements IConnectionHandler @EventHandler public void init(FMLInitializationEvent e) { - OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot)); - OreDictionary.registerOre("oreShadow", new ItemStack(BlockList.shadowOre)); GameRegistry.registerWorldGenerator(new Generation()); new GuiHandler(); } @@ -109,6 +109,7 @@ public class JewelrycraftMod implements IConnectionHandler @EventHandler public void postInit(FMLPostInitializationEvent e) { + JewelrycraftUtil.addMetals(); JewelrycraftUtil.addStuff(); JewelrycraftUtil.jamcrafters(); } |
