I am working on a map with a boss fight where a witch is the boss. During the boss fight, I need different mobs to spawn on the ground based on which potion the witch threw (slowness, poison, weakness, or damage).
Using the testfor command, I have tried: /testfor @e[type=ThrownPotion] {Potion:{id:potion,Damage:16388}} and I have connected a comparator output from the command block. Yes, the command block is on a clock.
When I throw the Poison Splash Potion (0:33), the command block says the potion did not have the required data structure.
Is there something wrong with the command? Is there something wrong with the ThrownPotion? Is there a possible way to do this?
Thanks