/** * PotionSplashEvent */ public static PotionSplashEvent callPotionSplashEvent(EntityPotion potion, Map<LivingEntity, Double> affectedEntities) { ThrownPotion thrownPotion = (ThrownPotion) potion.getBukkitEntity(); PotionSplashEvent event = new PotionSplashEvent(thrownPotion, affectedEntities); Bukkit.getPluginManager().callEvent(event); return event; }
public CraftThrownPotion(CraftServer server, EntityPotion entity) { super(server, entity); }
@Override public EntityPotion getHandle() { return (EntityPotion) entity; }
public CraftSplashPotion(CraftServer server, EntityPotion entity) { super(server, entity); }
public CraftLingeringPotion(CraftServer server, EntityPotion entity) { super(server, entity); }