Mojira Archive
MC-259917

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

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.

Fixed

mattp_12

[Mojang] slicedlime

2023-02-11, 07:42 AM

2023-03-08, 06:04 PM

2023-02-22, 09:12 AM

6

5

Confirmed

Low

Platform

Commands

23w06a, 23w07a

1.19.4 Pre-release 1