Feature request: Starting to sneak / jump / sprint should disable crawling
twome opened this issue ยท 0 comments
Could you make sneaking, sprinting, and (optionally) jumping make the player cancel crawling and then perform the given movement?
This is a very common convention for first-person games, and it makes a lot of sense, as all of those actions/controls are otherwise useless when lying down. If a player's default response is to sprint to run away from a threat, it's generally best to prioritise the "begin sprinting" command over the "continue crawling" default behaviour.
Regarding jumping: The tiny hops we currently get when crawling are very cute, and I'm sure are useful for getting over very tiny obstacles. Two possible solutions:
- You could check whether the player can execute a full jump (i.e. is there at least 3 blocks' height of empty space available at their position), and if not, execute the tiny crawling hop.
- You could also add a keybinding option, which defaults something like "Control + Space" or "Alt + Space" to do a tiny hop instead of full jump. This would be useful for situations where there's space overhead, but it would be dangerous to stand up (e.g. enemies would see you).
Love this mod; thanks a lot for making it.