Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.7.10] Block to Block Smelting?


Recommended Posts

I'm trying to make a mod that would turn "BlockA" into "BlockB", but I dont see that option in the GameRegistry, there is only "BlockA" to "ItemA" and "ItemA" to "ItemB"

GameRegistry.addSmelting(Block input, ItemStack output, float xp) : void

GameRegistry.addSmelting(Item input, ItemStack output, float xp) : void

GameRegistry.addSmelting(ItemStack input, ItemStack output, float xp) : void

Link to comment
Share on other sites

Do you want the smelting in a furnace or something? If so, you must understand how blocks in inventories are handeled. Blocks in your inventory are actually not extends of the class Block. Instead they inherete the class called ItemBlock that represent blocks on your inventory. ItemBlock extends the Item class. I think you can now figure out how to do this.

If my post helped you, please press that "Thank You"-button to show your appreciation.


Also if you don't know Java, I would suggest you read the official tutorials by Oracle to get an idea of how to do this. Thanks, and good modding!


Also if you haven't, set up a Git repo for your mod not only for convinience but also to make it easier to help you.

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.

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.