When I have a single custom item I'm not able to combine it to a stack again. This is most likey because of the properties from the damageable items. When I take two stacks with an amount > 1 they combine but 1 item is left out.

The inventory click event could compare cursor and clicked slot to increase the amount of the slot with the amount of the cursor.
Maybe it's even possible to set NBT tags to allow items to be stackable (that normaly are not)
When I have a single custom item I'm not able to combine it to a stack again. This is most likey because of the properties from the damageable items. When I take two stacks with an amount > 1 they combine but 1 item is left out.
The inventory click event could compare cursor and clicked slot to increase the amount of the slot with the amount of the cursor.
Maybe it's even possible to set NBT tags to allow items to be stackable (that normaly are not)