Posted June 25, 201510 yr I tried to adding my custom sand to ore dictionary. But it doesn't work! My Recipe code : https://github.com/SteveKunG/More-Planets/blob/master/src/main/java/stevekung/mods/moreplanets/planets/venus/recipe/CraftingRecipesVenus.java#L98 My Core mod : https://github.com/SteveKunG/More-Planets/blob/master/src/main/java/stevekung/mods/moreplanets/core/MorePlanetsCore.java#L259
June 25, 201510 yr Instead of using FurnaceRecipes.smelting().func_151394_a(), why don't you just use GameRegistry.addSmelting(); and what are you trying to do with the item in the oredictionary?
June 25, 201510 yr Author Thank I will changing my registry soon! For my custom sand I want to my sand can smelting to glass (vanilla) or use for crafting TNT.
June 25, 201510 yr So basically you did: OreDictionary.registerOre("nameofyourblock", BLOCKCLASS.nameofblock); -- Don't put nameofyourblock, or BLOCKCLASS.nameofblock, replace these with your arguments. for glass: GameRegistry.addSmelting(BLOCKCLASS.nameofblock, new ItemStack(Blocks.glass), amountofxp); -- Same down here, replace with your arguments. and for TNT: GameRegistry.addRecipe(new ItemStack(Blocks.tnt), new Object[] {"X#X", "#X#", "X#X", 'X', Items.gunpowder, '#', BLOCKCLASS.nameofblock};
June 25, 201510 yr Just do this.. GameRegistry.addSmelting(Your.block, new ItemStack(WhatYouReceive, amount), XP.0f); Im serious don't look at it!!
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.