mojira.dev
MCPE-166440

Farmer villagers doesn't harvest any crop in south eastern corners

As seen in the first 2 pictures farmer villagers do not harvest crop in south eastern corners (one or more) if there are blocks beside them. As soon as the surrounding blocks are removed (picture 3) the farmer harvest the crop.

Rounding error??

Related issues

Attachments

Comments

migrated
[media][media][media]
GoldenHelmet

The cause of this issue is that farmers interact with farmland as if the farmland is located at +1 x, -1 y, +1 z of its actual position. In other words, when they find a crop on farmland, they check for a path to within a block of the space +1 x, -1 y, +1 z of the crop instead of within a block of the crop itself. It does not matter what block is actually at the spot +1 x, -1 y, +1 z of the crop—it can be solid, air, etc.—as long as they can pathfind adjacent to that spot (even on top of it) then they will, and then they will harvest the actual crop from the offset location, even through a solid corner.

This issue has the same underlying cause as the freezing reported at MCPE-166344, and it breaks micro crop farms where a farmer is trapped on single piece of farmland and dispensers apply bonemeal to grow the crop.

migrated

(Unassigned)

966714

Confirmed

Multiple

Windows 10

1.19.51, 1.19.73, 1.19.80, 1.20.12 Hotfix, 1.20.71 Hotfix

Retrieved