how to make a custom damage type to have no knockback

or how to make damage type have directional knockback?
Continue to help post