Fall Damage Calculation

Detailed mathematical explanation of how fall distance, enchantments, and mitigation items interact to determine resulting damage.