The bug
Baby villagers can now farm crops and trade as of the 1.13 update aquatic.
Steps to reproduce:
Create the crop farm designed by m0rsk: https://www.youtube.com/watch?v=dbz4xfzwMIc (note that due to another unrelated bug, the waterless version of the drop shaft must be created, as the water will update the crop land next to the villager)
Spawn in a baby villager
Kill the villager if it is not a farmer (I could not get any villager type other than the farmer to harvest crops; I'm not sure if this is intentional or not, but in 1.12, any brown coat could farm crops)
Watch the baby villager harvest crops. It can be clearly observed that the baby villager now has an inventory, something that didn't occur in 1.12.
I spent a lot of time trying to debug my crop farms in 1.13, only to discover these nuances. I have noticed that this doesn't always occur; I haven't been able to fully understand what the issue is. I've attached an image of a baby villager farming below.
[media]Attachments
Comments 3
I should elaborate on item #3 in the original post. I've determined that only Fletchers, Shepards, Fishers, and Farmers will harvest crops. I'm fairly-confident that black/white apron villagers used to be included in the list of villagers that could farm. I'm unsure if the change was intentional or not, but would belong to a different bug report and is not in scope for this report. I'll do some more testing and create another report. It would probably break people's farms who upgrade, though, I think the way it works now makes more sense than the way it previously did.
Confirming for 1.13.1:
[media]I released this baby farmer into this pen with fully grown crops, and it immediately began farming like an adult villager. Notice how only items present in the image are the seeds and wheat from the block it just harvested, indicating it picked up the items from the other blocks it farmed.
Note: If you follow step 3 in the original post in a valid village the babies won't farm after you kill other villagers.