There is an item named PARRY. You can parry a mob for 3 seconds and you can avoid fall damage without holding rmb (you can't find PARRY item yourself. you need to spawn it with the command /give {target} parry_system:parry or you can find it in creative mode inventory>combat)