I get a little giddy thinking about tinkering with NPC moods in 'Terraria' — there’s something so satisfying about turning a row of neutral townsfolk into a happy little community. The core thing I keep in mind is that NPC happiness is driven mostly by three things: the biome their house is in, who their neighbors are, and whether their home is actually a valid town room. So when people ask what "items" boost happiness, what they usually mean is which blocks, walls and decor will make a room register as the biome that that NPC prefers. For example, to make a Snow room you want snow/
Ice blocks and ice background walls plus ice-themed furniture; a Jungle room needs mud and jungle grass or jungle background along with jungle plants and vines; Desert wants sand, sandstone and cactus decor. These building blocks and furniture pieces are the items that actually cause the game to classify the room’s biome and thus lift an NPC’s happiness if it matches their tastes.
Beyond the big biome blocks, some furniture and decorations help sell a biome visually and technically: coral, shells, and palm trees are great for Ocean/Beach rooms; pearlstone, pink torches and pastel furniture reinforce Hallow; ebonstone/ebonsand/creepy crimson items make Corruption/Crimson rooms register properly. Glowing mushroom blocks and mushroom-themed furniture make a Mushroom biome, dungeon bricks make a Dungeon room, and skyblocks/skyware furniture can create a Sky/Space feel up high. Don’t forget that proper background walls often matter more than foreground furniture — the game checks tiles and walls to determine a room’s biome.
Finally, remember NPCs also care about neighbors: some like being near certain other NPCs and hate being near others, so a perfectly built biome room won’t help if you place an NPC next to someone they despise. I usually cluster compatible NPCs in themed districts (Snow tavern, Jungle apothecary, Ocean merchant) and use the biome-specific blocks and furniture mentioned above to drive their mood up. It’s a fun little architecture puzzle, and seeing shop prices drop after a redecorating binge never fails to make me smile.