How to get potion?

I am trying to make a custom splash potion. However, I am running into an obstacle in that I can’t figure out how to get both the Projectile and ItemStack in one event. Ideas?
Sorry for constant stream of questions.

Try dumping out the cause of the event, is there an ItemStackSnapshot inside the cause?