Give multiple items from crafting

Started by TheLegion452 on Fri, 06/25/2021 - 00:05

Topic category: Help with modding (Java Edition)

Last seen on 19:08, 6. Aug 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Give multiple items from crafting
Fri, 06/25/2021 - 00:05

Hi there! I've been trying to figure this out for so long and, after searching forever for a solution and not finding one, I've decided to see if anyone here would know how to do this, if it's possible. So, I'm making a mod that has to do with carrots and you can craft this carrot-type ingot by surrounding an iron ingot in carrots. The thing is, I wanted the player to be able to retrieve the iron and carrots from one of these carrot ingots if they didn't want it anymore or made too many. So I have the recipe that would give the player back an iron ingot from the carrot ingot, but I've been trying to figure out if there's anyone I could make it so they also got back their 8 carrots.

Long story short, I wanna know if I can make a recipe that ends up giving the player more than one specific item. Is that possible? And if it is, how do I do it?

Last seen on 20:22, 31. Jul 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You have one slot in your…
Fri, 06/25/2021 - 15:10

You have one slot in your typical workbench so.. that's a no. You maybe could do it with code, but no idea how.
If you want multiple items from crafting you could make some kind of 'extractor' that gives player multiple items after some time (kind of like furnace and composter mixed?)