How do you keep mobs from despawing?

//ads -- adsterra.com -- native banner
?>
In Minecraft PE I want to make a sheep farm, but I'm afraid they will despawn. There are no name tags in mcpe, so how do I do this without modding?
Best Answer
If you dye the sheep then the game registers that they are your sheep and they won't despawn.
Pictures about "How do you keep mobs from despawing?"



Why do mobs keep Despawning?
In most cases, a mob will despawn immediately if there are no players within a distance of 128 blocks. If it's not within 32 blocks of a player for more than 30 seconds, there's a 1\u2044800 chance each game tick it will despawn (2.47% chance per second).Do leads stop mobs from Despawning?
You may have mob spawning disabled in your Multiverse world. If you have Multiverse installed on your server then it's possible that mob spawning has been disabled for your entire world.Why are mobs not Despawning?
Theoretically, any mob with armor or holding an object within the spawn chunks will never despawn, due to the spawn chunks being in memory at all time.Minecraft How To STOP Mobs From Despawning Tutorial
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Karolina Grabowska, Darya Sannikova, Karolina Grabowska, Brett Jordan