Attracting a Chewnicorn in Viva Piñata takes some groundwork, so be prepared to put in the effort before it shows up.
First, you'll need to become an expert Horstacio breeder, which means breeding them several times to build up your reputation. Next, you'll want a fully grown Gem Tree in your garden. To turn it into a resident, you'll have to feed it 15 gems—yes, they really do eat gems, and it takes a full 15 of them. Once those conditions are met, the Chewnicorn should find its way to you.