Hi,
When using a shear on a sheep, I'd like to:
stop the wool from being dropped on the ground
add it directly to the player's inventory
if not enough inventory space, drop it on the ground as usual
Since shearing a sheep doesn't kill it, I cannot use the LivingDropsEvent. I'm currently experimenting with PlayerInteractEvent types, but cannot figure out where is the part that contains the drops. Am I looking in the right place?
Thanks in advance.