Jump to content

[1.7.2] NBT data from smelting input to output


Recommended Posts

Hey, I am having trouble finding a way to transfer a string in the nbt of the input inside a vanilla furnace to be transferred into the nbt of the output. Both items have a mac stack size of 1, so it isn't an issue of storing the string. It does not look like I can use an IRecipe, but I may be mistaken. Any one with any ideas out there? It should be noted that this needs to use a vanilla furnace.

Link to comment
Share on other sites

You might want to have a look at: package net.minecraft.item.crafting.ShapedRecepies.class .

You have to create a custom crafting hander (implementing IRecepie) which parses the NBT data to the result. Even though this is for crafting it will also apply to crafting.

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

Link to comment
Share on other sites

Even though this is for crafting it will also apply to crafting.


You mean for smelting? I know how to create the custom recipe class, but not how I would make it usable for smelting recipes. GameRegistry has an addRecipe(IRecipe) but I cannot find something similar for smelting.

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.

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.


  • Create New...

Important Information

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