parrot cracker - the official terraria wiki
The Parrot Cracker is a pet-summoning item. It summons a pet Parrot which follows the player around. If the player stays still for long enough, it will perch on a nearby solid block, staying still until the player moves away from it. It can be purchased from the Pirate for 375, if he is spoken to in an Ocean biome. The Parrot Cracker is the second most expensive item to buy, more expensive