I am setting up an auto farm using villagers i only want one villager that will plant wheat and carrots.
What you could do is constantly replace the existing wheat planting villager with another one which plants carrots with the
Villager #1 is "Rudolf", #2 is "Jelinek":
/execute @e[name=Rudolf] ~ ~ ~ summon Villager#2 ~ ~ ~
Connected to a comparator:
A few seconds later:
/execute @e[name=Jelinek] ~ ~ ~ summon Villager#1 ~ ~ ~