Doors

Doors are furniture items that prevent enemies from entering an area when closed. Players can open them by right-clicking. Doors can be placed in any space so long as it is exactly three blocks high, with ceiling and floor blocks.

Friendly NPCs will open and close doors as they wander about. Enemy NPCs will not open doors, except for Skeletons, Undead Miners, Goblins, Angry Bones, Face Monsters, and Possessed Armor. Zombies can also open doors, but only during a Blood Moon, and Goblin Peons can break down doors, as if they were removed by a player. can open doors whether or not a Blood Moon is present.

Doors can also be opened and closed via Wires. If you put wire on one of the door's closed-state squares, then wiring will toggle the door's closed/open state upon activation, but if you put wires on the side squares, where the door opens, then wiring will only close the door.