The hat mod enables mobs to randomly spawn hats, if you kill a mod with a hat you get an achievement and the hat. You can open the hat menu and equip/browse your hats with the h key
Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.