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 breaking the bed, pushing them out of the bed, attacking them, or pressing on the bed.

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

Foxes
Foxes occasionally lie down and sleep 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 immediately wakes and tries 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
Recostarse 躺