The search terms used prior to bug creation:
project = MC AND (summary ~ "door detection" OR summary ~ "detect door") AND (status = Open OR resolution not in (Duplicate, Invalid, Incomplete)) ORDER BY created DESC, affectedVersion
The search term "golem" identifies new bugs related to golem spawning, this bug may be collected under one of them, despite the "golem" bugs not describing the issue below.
Issue:
When creating a village in Survival mode for the purpose of a Golem Farm, the door detection correctly identifies the number of placed doors. But over time the Villagers detect fewer and fewer doors.
When I first observed the problem, I had placed 22 doors and a review of villages.dat showed that the villagers were only detecting 6 doors. After trying to duplicate the error and failing, I restored to a previous backup and began again. After placing 22 doors, and 2 villagers (1 near each bank of 11 doors), villages.dat showed that all 22 doors were detected. Continuing on with the build, I monitored the door detection and did not see a problem until about an hour and a half after the start of the build, villages.dat showed the door detection dropped to 16.
For unknown reason(s) the door detection routine begins dropping doors.
This issue is now invalid with the new behaviour introduced in 1.14.