Rest And Crawl

About

A Fabric mod adding a "Lie Down / Stand Up" keybinding (default Z) that toggles a resting state on the server. While resting, the player's pose is forced to SLEEPING via Mixin, shrinking their hitbox to fit through 1-block gaps, allowing slow crawling at 0.3x walking speed. Health regenerates passively (1 HP every 80 ticks) while resting. The state auto-cancels when pressing Z again, jumping, taking damage, entering water, or flying. Uses CustomPayload packets for client-server sync with clean Fabric 1.21.11 APIs.