Both of upper and lower half of a single door compose a village
The bug
It is intended that one of the upper or lower half of a door compose a village. But both of them can compose a village in certain circumstances.
This bug has existed from Minecraft 1.7 as far as I know.
How to reproduce
1. Make a village with a single door at (0, 64, 0).
2. Place a new door at (6, 127, 0). Make sure that the upper half of the door is at (6, 128, 0).
3. Place a villager near the second door and see the lower half is added to the village.
4. The upper half of the second door is added to the village in 6 sec.
5. The upper half get released from the village in another 1 min.
6. 4. and 5. are repeated.
In step 3, the village center is calculated as {(0, 64, 0) + (6, 127, 0)}/2 = (3, 95, 0).
Then village radius is sqrt((6-3)^2+(127-95)^2) + 1 = 33.
The distance from the village center to the upper half of the second door is sqrt((6-3)^2+(128-95)^2)=33.14, which means the upper half is out of the village.
In step 4, Minecraft does not check if the door has been added to a village or not because the upper half is out of any village.
2017-08-28, 06:01 AM
2020-08-14, 03:05 PM
2020-08-14, 03:05 PM
5
6
Minecraft 1.12 - Minecraft 1.13.1
Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w31a, Minecraft 1.13.1
-