The datapack will allow you to lie down and crawl, which can be configured as you like.
to_crawl.switch trigger is available for any supported version;to_crawl.settings trigger;to_crawl.settings.key.sneak, to_crawl.settings.key.sprint, to_crawl.settings.key.double_sneak, to_crawl.settings.key.double_sprint, to_crawl.settings.look_down-up, to_crawl.settings.viewing_angle_range;You can add entities to the to_crawl:disable_by_hit entity_type tag that disable crawling with a hit.
You can also change the maximum delay between double pressing. To do this, go to the end of to_crawl:load function and change the parameters for sneak and sprint (inverted time in ticks, default is -8).
You can leave a comment on the PMC page!
Russian discord server of datapackers / Русский дискорд сервер датапакеров
Если вы датапакер, ищите адекватной помощи, полезных ресурсов и возможности поделиться проектами, то вам на СвинСоюз: Датапаки! Это сервер-ответвление от изначального заброшенного сервера ZeroCaty "СвинСоюз". Сейчас мы не имеем к нему никакого отношения.

Start crawling the way you feel comfortable! It has useful settings individually for each player. And optimized for multiplayer!