Topic category: Help with Minecraft modding (Java Edition)
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?
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?)
hey! thats possible and easy! just use the procedure"when item is crafted/smelted" and use the "add[count][item]to[entity]inventory".