Ok so do you want to know how to capture an animal? Ok so you have to make a 2 by 2 by 2 so you don't loose your pets. I make one near animals.
Step 1: Step 2
Then you force an animal into your trap. I chose a baby cow.
Step 2: Step 3
In this one I captured 2 pigs then you dig 1 block down, cover the hole on top, then expand your room and I connected it to my house on survival mode or live with them.
Step 3: Enjoy!
I love doing this it gives you company and if you get annoyed kill them for wool, raw beef, raw pork chops, raw chicken, and feathers!