Minecraft wiki entry for Lying, associated text: Cats lie, and sleep, on beds whenever their owner is sleeping on one. They purr every 5 ticks‌[Java Edition only]/once‌[Bedrock Edition only] when doing so.