Posted March 23, 201312 yr Hey guys I have this code public void smeltingRecipes(){ GameRegistry.addSmelting(ParallelWorlds.NightOre.blockID, new ItemStack(NightGem, 1), 1F); } } The problem is, it isn't smelting the selected item in game What's the issue? Thanks STOP CRUCIFYING NEW MODDERS!!!!
March 23, 201312 yr Author Can't see any issue there. Are you calling the method? Maybe add debug messages in it to see if you do. Could you possibly give me the code to call it? It's my first smelting recipe and I think I am calling it STOP CRUCIFYING NEW MODDERS!!!!
March 23, 201312 yr Author Can you pastebin your main mod file? http://pastebin.com/aip4hZsW Here you go STOP CRUCIFYING NEW MODDERS!!!!
March 23, 201312 yr Author just a bump to make sure people know i still need help STOP CRUCIFYING NEW MODDERS!!!!
March 23, 201312 yr Try using the FurnaceRecipes.smelting().addSmelting(inputID,inputMeta,outputStack,xpPerSmelt) call instead
March 23, 201312 yr public void smeltingRecipes(){ GameRegistry.addSmelting(ParallelWorlds.NightOre.blockID, new ItemStack(NightGem, 1), 1F); } that looks like a modloader method. call GameRegistry.addSmelting(ParallelWorlds.NightOre.blockID, new ItemStack(NightGem, 1), 1F); directly in your load method https://minecraft.curseforge.com/members/Subaraki/projects
March 24, 201312 yr Author Nothing has worked yet Still looking for the right fix STOP CRUCIFYING NEW MODDERS!!!!
March 24, 201312 yr Your pastebin doesn't seem to be working, but my possible solution is what the guy said, put in it your load statement, or init. @Init public void load(FMLInitializationEvent event) { GameRegistry.addSmelting(ParallelWorlds.NightOre.blockID, new ItemStack(NightGem), 1.0F); } Are you sure you are using your "NightOre", are you sure you have registered everything correctly. Please repost your mod file on PASTEBIN, your old one is deleted -ish.
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.