Jump to content

Smelting Recipe Code Not Working!


AssassinHero

Recommended Posts

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

Link to comment
Share on other sites

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.

 

 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.