I created a carrot farm which uses a farmer villager to farm the carrots and throw them to another villager which ends up in a water stream and hoppers, but for some reason the farmer villager is neither harvesting the fully grown carrots or throwing them to the other villager. Does anyone know why this might be happening?
I have built a number of villager breeding facilities, and the one thing I've always noticed is that when the villagers are NOT breeding, they are NOT planting or harvesting. I'm not sure what the actual game logic is, but it's been my experience that they only seem to harvest and plant if they are also breeding new baby villagers. Otherwise, they just don't seem interested in feeding each other.
My guess is that the nitwit (that's not a librarian in your pic, they wear white) has gotten some food in his inventory and so he isn't seen as "hungry." The farmer doesn't throw him any food because he doesn't need it, and so eventually his own inventory fills up too, to the point where he no longer feels "hungry" either, at which point he stops harvesting altogether.
The farmer will only harvest carrots if he's "hungry" (i.e., does not have enough carrots, or other food items, in his inventory.) If he has enough food, he won't harvest any additional.
He will only share food with the nitwit if he (the nitwit) is hungry, as well. If he has enough food, the farmer won't try to give him any additional.
If the nitwit obtains food, he will consume it and become "willing" to breed. If he's already "willing" then he'll need to actually breed, and be made "unwilling" before he can "become" willing again and consume any more of the food.
What I do in my world: Get a brand new nitwit, and before you bring him near the farm, fill up his entire inventory with eight full stacks of seeds (well, seven stacks and at least one more seed to fill the eighth slot) so he can't ever pick up any food. That way, he'll always be hungry, and the farmer will always keep trying to throw food at him.
They don't need to be able to breed, or willing to breed, or actually breed. They don't even need to be inside a village, but if they're not in a village, they need to be far enough away (at least 32 blocks from the radius, or 64 blocks from village center) or else they'll "know it's there" and keep trying to run back towards it even if they can't.
I originally had a librarian but I replaced all of the villagers to see if that was the problem. In the end I found that my issue was simply the distance between the villagers being seemingly too large. Once I bought the receiving villager closer the farmers inside started to throw carrots in his direction. Once they had cleared their inventories they were able to go and harvest more carrots. All is now woking smoothly! Now to set up my infinite breeder. You seem very knowledgable of the game, you should consider starting up a youtube channel!
If you use brown-coat villagers capable of farming for both the villagers (both the guy who farms and the guy the farmer tries to give food to), you can use a simple method to clear out their inventory if/when they get too much food or seeds or whatever. If your method for breeding villagers is capable of having the bred babies obtain some food or seeds before being removed for sorting, you should do this before trying to farm with them.
Simply place them in an enclosed area with lots of empty tilled/hydrated farmland. They'll try to plant whatever plantable food/seeds they have in their inventory. Follow them around or visit the area frequently and pick whatever planted crops they have planted before those crops get time to mature and be picked in turn. Eventually they'll plant everything in their inventory and be empty, then you can either fill up their inventory or keep it empty as you see fit.
This means that when breeding villagers, don't use things like wheat, bread, or beetroots, which can't be planted, only use carrots or potatoes.
Rollback Post to RevisionRollBack
"I think I'm starting to like this `programming' thing. It's about four times as fun as shaving." -- Notch, June 12, 2011