Jump to content

Furnace recipe help??


Terrii

Recommended Posts

Here is my code for my adding wheat into a furnace, why is this not working...

package net.minecraft.src;

public class Breadmod
{
    {
	FurnaceRecipes.smelting().addSmelting(Item.wheat.shiftedIndex, new ItemStack(Item.bread, 1, 1), 0.1F);
    }
}

Link to comment
Share on other sites

First: the 1, 1 behind the bread is an damage valve that do not exist in the normal minecraft (tell me if im wrong.) and the code must so(i could not do it in the right format with my mobil phone) package net.minecraft.src          public class mod_... extends BaseMod {          @Override    public void load() {    Modloader.AddSmelting(Item.wheat.shiftedIndex, new ItemStack(Item.bread));  }    @Override        public String getVersion()  {  return "0.1";    }    }  So this the code for the modloader furnace recipe. You should do the code in the right format. I hope i could help you. This is for 1.2.5

Crazy Brain...

Link to comment
Share on other sites

First: the 1, 1 behind the bread is an damage valve that do not exist in the normal minecraft (tell me if im wrong.) and the code must so(i could not do it in the right format with my mobil phone) package net.minecraft.src          public class mod_... extends BaseMod {          @Override    public void load() {    Modloader.AddSmelting(Item.wheat.shiftedIndex, new ItemStack(Item.bread));  }    @Override        public String getVersion()  {  return "0.1";    }    }  So this the code for the modloader furnace recipe. You should do the code in the right format. I hope i could help you. This is for 1.2.5

 

 

THANK YOU SOOOO MUCH!!! IT WORKED!!!

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.