OneBar

OneBar

2.7k Downloads

Improve fall distance calculation

Madis0 opened this issue ยท 0 comments

commented
  • Consider block type (e.g. water, tallgrass, any half blocks)
    • Landing on powdered snow with leather boots equipped after falling further than 2.5 blocks will now make entities fall through the snow
  • Consider worn enchants (e.g. protection, feather falling)
    • Needs to be precise enough or at least assume more, to not give a false impression of being alive after jump
  • Consider effects, e.g jump boost
    • Also consider the duration and fall speed, aka will the player make it down while the effect is active
  • Estimate health

https://minecraft.wiki/w/Damage?so=search#Fall_damage