Posted March 22, 201312 yr I am making a smelting recipe GameRegistry.addSmelting(ParallelWorlds.NightOre, new ItemStack(NightGem, 1), 1F); however this doesn't work. What is the correct code? STOP CRUCIFYING NEW MODDERS!!!!
March 22, 201312 yr The function is used like this: GameRegistry.addSmelting(int BlockID/ItemID , ItemStack output, float xp); So in your case it would be: GameRegistry.addSmelting(ParallelWorlds.NightOre.blockID, new ItemStack(NightGem, 1), 1F);
March 22, 201312 yr Author The function is used like this: GameRegistry.addSmelting(int BlockID/ItemID , ItemStack output, float xp); So in your case it would be: GameRegistry.addSmelting(ParallelWorlds.NightOre.blockID, new ItemStack(NightGem, 1), 1F); Many thanks STOP CRUCIFYING NEW MODDERS!!!!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.