mojira.dev
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.

Attachments

Comments 1

Can confirm

mattp12

slicedlime

Confirmed

Platform

Low

Commands

23w06a, 23w07a

1.19.4 Pre-release 1

Retrieved