Villager (Improved)

This article is an improvement of a canon subject.
Villagers are mostly mindless mobs that don't react much. This article adds more reactions to the villagers.
==Houses==
If a villager detects a nearby house, it will "flag" it and that house will always be the villager's home. If a villager is spawned inside a valid house, that house will become the villager's home. If the house becomes invalid, the villager will seek another home. Also, villagers will stay in the highest floor of their home at night, and in the second lowest floor during rainstorms and thunderstorms. WIP
Category:Villager