Topic category: Help with modding (Java Edition)
In my mod I'm trying to make a trade system where if you right-click a specific entity while holding an eligible item, it will take that item and give you something in return. When doing this while holding a single item it removes it properly, however while holding a stack of more than 1 of the item, it does the trade without taking the cost.
This is the procedure in question:
Help would be much appreciated!
I replaced the "shrink item in main hand of source entity for 1" block with "Remove 1 item from source entity main inventory" and now it all works fine