Reverse Crafting Mechanic

Started by GenjjaX on Thu, 08/01/2019 - 23:30

Topic category: Help with MCreator modding

Last seen on 23:26, 7. Sep 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Reverse Crafting Mechanic
Thu, 08/01/2019 - 23:30

So I had this idea for a mod which adds a block that can salvage any craftable item by putting what ever item that you have(that is craftable) and give out the parts of what is needed to craft the item.But I dont know how to do that in a procedure and in a GUI. I also don't want to make every single combination of recipes manually because:

   - It would be time consuming.

   - I want it to work with other mods and make other craftable mod blocks/items be able to be put in this mod.

Some inspiration from this mod came from JEI where it could take any block(that is craftable) and show the recipe. However, it did that from a special code and I am struggling on how to make that code for this mod, if you could help me on this, it would be very appreciated.