Terraria item ID 3977. Terraria 1.4.5.7.
The Hat Rack is a decorative furniture item that can be used to display up to two helmet-slot armor and vanity items, as well as dyes. Items can be placed on a Hat Rack by pressing the โท Open / Activate button on it, which opens a small set of inventory-like slots beneath the player's main inventory. There are two slots for two helmets, in addition to an associated dye slot underneath each one. Placing items in these slots immediately displays them on the Hat Rack.
Crafted at Sawmill. Ingredients:
Description from the Terraria Wiki.