Steps to reproduce
Load
If the behavior does not immediately reproduce, kill the villagers, spawn one villager on the left and wait for it to become a farm, spawn another villager on the right (behind the hopper), give the farmer 8 stacks of potatos, and then drop a stack of potatoes on the ground next to the hopper.
Expected result
The farm can throw crops toward the villager, which then the hopper or the villager collects.
Observed result
The farmer gets stuck in a loop: when it throws crops it immediately picks up crops from the stack on the ground, and then the crops it threw immediately join the stack on the ground.
[media]
(When farming potatoes)the farmers would get stuck in a loop near(1-3 blocks)the collecting villager throwing the crop(not get picked up from hoppers hopper minecarts or any other means) and then picking it up in repeat rapidly
Link to video recordings:
https://1drv.ms/v/s!AqWoDYi9UhFGuViO13XFVfkntEP8
https://1drv.ms/v/s!AqWoDYi9UhFGuVlTU5_vcCBXJkAJ
Linked issues
is duplicated by
Attachments
Comments


I wonder if the crop is being thrown to the other villager and then immediately merging with the stack on the ground? Does this occur only when the farmer is near the other villager?

Yes and I have only seen it happen with potatoes and I have also seen this happen when the villager inventory is full and there are other potatoes on the ground that they didn't pick up

Yes and I have only seen it happen with potatoes and I have also seen this happen when the villager inventory is full and there are other potatoes on the ground that they didn't pick up

Do you have any mod in the game?

No

No

If you use the same setup in a different world, does it still occur?

I've seen it happened before yes in previous versions

I've seen it happened before yes in previous versions

I can confirm it for v1.21.62 in a similar scenario: Two farmers, separated by open (upright) trapdoors. Apparently farmer 1 wants to throw food to the other, the food falls to the ground (not being picked up by farmer 2), and farmer 1 gets stuck in an endless loop throwing and picking up food.