Wooden Door

The Wooden Door is a placeable object, similar to other furniture, with the added benefit of preventing the passage of enemy NPCs. It can be placed in any space so long as it is exactly 3 blocks high, with a ceiling and a floor.

Town NPCs will open and close doors as they wander about. Players can do the same by right-clicking on them. Enemy NPCs will not open doors except for Goblins and Angry Bones. During a Blood Moon, Zombies can also open doors.