Having an issue in my latest mod. I want the item when used to give 2 items to the player. The best way I can find to do this is have the durability used upon use of the item. Then “give item when used” and “broken give item class”. And set “Destroy broken item” instead of “consume item on use”. Only issue I have is if the item is stacked it destroys the whole stack.
Example: I have 5 itemX stacked in my inventory. I use 1 of the 5 and get itemY and itemZ in return. But the remaining 4 itemX are destroyed as well. How do I stop the remaining items in the stack from being destroyed. or how do I give a second item when used?