From 3e0556ee7aadfbb7695f87063662a9ca0d28175f Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Sat, 8 Mar 2014 22:16:06 +0200 Subject: Lots of new things --- common/darkknight/jewelrycraft/JewelrycraftMod.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'common/darkknight/jewelrycraft/JewelrycraftMod.java') 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(); } -- cgit v1.2.3