Lying

Lying is a body position adopted by the player and some other mobs under certain circumstances.

Mechanics
All mobs can be made to sleep in beds using commands. In addition, multiple mobs can sleep as part of their natural behavior.

Players
Players lie down when using a bed. Currently, this is the only way that a player can adopt the lying position. Players cannot move, and cannot use items while doing so, unlike with sitting.

Villagers
Villagers lie down when using a bed. They can be woken and removed from their bed by either pushing them out using the player's body, being attacked, or pressing on the bed.

Cats
Cats will lie on beds whenever their owner is sleeping on one, and will themselves sleep. They emit specific sounds when doing so.

Foxes
Foxes will occasionally lie down and start sleeping during the day, taking shelter beneath blocks when doing so. Shade is a necessity for sleeping; if a path for direct sunlight is created that lights up a sleeping fox, it will immediately wake up and try to sleep elsewhere. Foxes are currently the only mob to switch to a texture with their eyes shut upon entering their sleeping state.

Pandas
Lazy pandas occasionally lie on their backs. Unlike with other mobs, this is a passive action, which is unrelated to sleeping.

History
躺