A 60-year-old man identified only as Ljubisa B. is charged with shooting to death six men, six women and a 2-year-old boy, Tanjug news agency reported.
The government expressed condolences to families of the victims and ordered flags flown at half-staff at state buildings and sports and cultural events.
The mass shooting occurred in the village of Velika Ivanca.
Millions of Getty images now available for free via embed tool
Boston schools pull out free condoms over wrapping complaints