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 /execute command:

Villager #1 is "Rudolf", #2 is "Jelinek":

/execute @e[name=Rudolf] ~ ~ ~ summon Villager#2 ~ ~ ~

Connected to a comparator:

/kill @e[name=Rudolf]

A few seconds later:

/execute @e[name=Jelinek] ~ ~ ~ summon Villager#1 ~ ~ ~

Then (comparator):

/kill @e[name=Jelinek]
| improve this answer | |
  • 2
    I know how you chose that names. – Jim Jones May 29 '16 at 19:04
  • 1
    Villagers don't drop items in their inventory when they die, making this method incredibly lossy. Also, you are spawning them with empty inventories, so they'll just go and start planting whatever they find. Assuming you actually manage to spawn a Farmer villager, which is a 1 in 4 chance with your command. – MrLemon May 29 '16 at 22:08
  • 1
    Forget the last part, I just noticed that any brown-robed villager can farm. – MrLemon May 29 '16 at 22:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.