I'm working on a magic mod and one of my spells involves having "rain" fall around the player and deal damage to nearby mobs. I'm trying to simulate this "rain" with splash potions, but I can't figure out how to get the splash potions to spawn. I can't spawn them in like I would other entities and everything else I've tried hasn't worked. I've looked at ThrownPotion and ThrowablePotionItem, but I don't really understand how they work, so I haven't been able to use them, and I'm not sure if they would even work for what I'm going for.
Any help would be appreciated.