In the wiki, the conditions for zombie sieges include "If the candidate village has fewer than 10 doors or fewer than 20 villagers...."
Does that mean that 10 doors and 20 villagers are required? That is, a village with 50 doors but only 2 villagers, or a village with 50 villagers but only 2 doors, would not generate a siege? Or does that mean that if the village has either 10 doors or 20 villagers, so either of those examples, a zombie siege will happen? It seems to say the former, but it's a bit unclear to me, so I'm hoping someone here has actually tested this.
If the candidate village has fewer than 10 doors or fewer than 20 villagers or the village has not been "stable" (no doors added or removed) for at least 20 ticks (1 second), the next village is considered.
Looking only at the above quote, there are three conditions in play here:
village has less than 10 doors
village has less than 20 villagers
village hasn't been "stable" for 1 second
Nowhere is there mention of the word "AND". All three conditions are separated by an "OR". Therefore, the test would succeed if ANY one of the conditions were true at the time of the test. Even if only one or two conditions passed, it would still make the entire check evaluate to true.
Additionally, the success of this test means the village is marked ineligible for a siege. So in order for a siege to happen, all three conditions would need to be false at the time of the test. Once again, that would mean a village would need to have:
Going by the logic of the sentence, most definitely. But the problem is, I'm not sure that logic was followed quite so rigorously by the person who wrote that page in the wiki. That's why I'm hoping for someone who has actually either tested this, or inspected the code, and who can confirm that it really happens the way the wiki seems to indicate.
Paging IronMagus ... IronMagus to the thread, please ....
Does that mean that 10 doors and 20 villagers are required? That is, a village with 50 doors but only 2 villagers, or a village with 50 villagers but only 2 doors, would not generate a siege? Or does that mean that if the village has either 10 doors or 20 villagers, so either of those examples, a zombie siege will happen? It seems to say the former, but it's a bit unclear to me, so I'm hoping someone here has actually tested this.
The golden age: it's not the game, it's you ⋆ Why Minecraft should not be harder ⋆ Spelling hints
Looking only at the above quote, there are three conditions in play here:
Additionally, the success of this test means the village is marked ineligible for a siege. So in order for a siege to happen, all three conditions would need to be false at the time of the test. Once again, that would mean a village would need to have:
Paging IronMagus ... IronMagus to the thread, please ....
The golden age: it's not the game, it's you ⋆ Why Minecraft should not be harder ⋆ Spelling hints
It was.