This question already has an answer here:

Before 1.14 you could specify the villager's profession in a command with the tag Profession, like /summon minecraft:villager {Profession:(Number from 1-5)}. In 1.14 instead of 5 professions there are 12 now, and when trying the same command (Even when specifying the profession with, for example, 1) each time just a random type of villager spawns. I know rn there are only snapshots, but currently, is there any way to do it?

marked as duplicate by Fabian Röling, Community Jan 6 at 9:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Yep, that one works, sorry that i didnt see it before. – Artem kosik Jan 6 at 9:07