House



A house is a structure that meets the following criteria:
 * Has side and back walls, a floor, and a ceiling. The back walls cannot be made of dirt nor of dungeon wall tiles (e.g., Green Brick Wall)
 * Has a table or a Work Bench and a chair.
 * Has a door in a wall or a Wood Platform in the ceiling or floor.
 * Has a light source.
 * Is at least 4 blocks tall and 8 blocks wide or 5 blocks tall and 7 blocks wide, not including walls, floor or ceiling.

A house can have holes in the background wall to serve as windows. The hole can be no larger than 4x4 (i.e. 4 background tiles across and down). You can have multiple windows, as long as they are separated by at least a single row of background walls. However, having windows will sometimes allow monsters to spawn in your house.

To set the player spawn point using a bed, the size and wall requirements must be met.

An NPC requires a house to spawn. For an NPC to move in, the house must also be unoccupied. To forcefully move an NPC to another house, simply destroy any of the house requirements listed above (e.g. table) and make sure you have an unoccupied house available for the NPC to move in. When making your house you may attach 2 rooms together by making some of the materials you used to build the house attached to your house as long as there is some way to get in and all requirements still must be inside the new room.

Mobs can not normally enter your room(s) through your doors. The exceptions are that zombies can bash open doors during a Blood Moon, and goblin thieves can open doors during a Goblin Army invasion.