Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-270117

The calculation of fall damage for horses, donkeys, mules, zombie horses, skeleton horses, camels, llamas, trader llamas, and foxes disregards the minecraft:generic.safe_fall_distance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20.5 Pre-Release 2
    • 24w13a
    • None
    • Confirmed
    • Commands
    • Normal
    • Platform

      The fall damage calculation for horses, donkeys, mules, zombie horses, skeleton horses, camels, llamas, trader llamas, and foxes does not consider the minecraft:generic.safe_fall_distance and attribute. Notable, setting the minecraft:generic.safe_fall_distance for these mobs to 0 doesn't result in them taking fall damage when falling only one block, unlike other entities. However, it does cause them to produce fall particles upon landing on a block as anticipated.

      Steps to reproduce

      1. Summon a horses, donkeys, mules, zombie horses, skeleton horses, goats, camels, llamas, trader llamas, or frogs
      2. /attribute @e[type=minecraft:horse,limit=1,sort=nearest] minecraft:generic.safe_fall_distance base set 0
      3. /execute as @e[type=minecraft:horse,limit=1,sort=nearest] at @s run tp ~ ~1 ~

      Observed: The mob didn't suffer fall damage but emitted falling particles after falling one block. Expected: The mob should also incur 1 health point of fall damage.

            gegy1000 [Mojang] Gegy
            That weird That weird (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: