#anyone know how to add 2 items received when crafting?
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 If nobody has answered you by <t:1737049143:t>, feel free to use the Summon Helpers button to ping our helper team.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
Short answer: you can't
Long answer: there is a way using the crafting remainder component I think but that requires you to modify that
where is that?
The way I'd do it is by making an advancement that detects when the player crafts this recipe, and have it run a function as a reward that gives the bread. Then the actual recipe can instead give the damaged sword as the output
But there may be another newer method I'm unfamiliar with
oh wait nvm I'm lying
i was literally doing that 😭
you dead ass read my mind
wait is there a way to make that bread at the top have a custom model data?
Suggests we're both in the right track
No
damn it
Custom recipes don't currently support ingredients with specific components
yet?
There's no way I could possibly answer that because I'm not Mojang. We can presume we'll get it eventually, but it's probably just as or even more likely that we'll just get data driven items instead, eliminating most need for components on ingredients
This also means only undamaged swords will work for this recipe
aw
the thing i did in my datapack is craft something that has the same name(it was a book w/ name) and then in tick, check items entity container.* for it, and if it is there, then in another function, clear you 1 time of that item, then give you 1 with mcstacker give command.
Worked pretty well, but I cant help with the model inside the crafting recipe. Might just have to deal with that.