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

Entities immune to fall damage are damaged when using minecraft:fall damage type in /damage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.4 Pre-release 1
    • 23w06a, 23w07a
    • None
    • Confirmed
    • Commands
    • Low
    • Platform

      The bug

      When using /damage, it is possible to damage entities that are immune to fall damage by using the minecraft:fall damage type.

      For instance, the Iron Golem is immune to fall damage, and yet when running command

      /damage @e[type=minecraft:iron_golem,limit=1,sort=nearest] 10 minecraft:fall 

      the golem is still damaged.

      I don't believe this is intended behavior, as similar behavior exists and the entity is not damaged. When running a command like

      /damage @e[type=blaze,limit=1] 10 minecraft:in_fire
      

      the Blaze is not damaged, and the error

      Target is invulnerable to the given damage type 

      is given.

            slicedlime [Mojang] slicedlime
            mattp_12 mattp_12
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: