When a player is under the effects of resistance over level 5, the player becomes immune to all damage including the /kill command. This should not occur because even though the resistance gives invincibility, /kill is a server command and shouldn't not work.
What I thought would happen
Using /kill while under resistance 5 would kill me, because it is an operator server command and shouldn't be blocked.
What actually happened
My player made the animation of taking damage, my hearts blinked, and I made the damage noise, but I did not take damage and did not die. The dialogue "Ouch. That looked like that hurt." pops up.
Steps
Use /effect @p 11 10 5 in a world w/ cheats
Use /kill
I understand if this is not valid and "works as intended", but this is quite inconvenient at certain times when making custom maps.
Related issues
is duplicated by
Comments


I don't think this is a duplicate of MC-10755 but rather a more specific problem within it, and still exists in 12w21b.

^This. /kill is supposed to, you know, kill you. Why should having a certain status effect make it not work?

Reopened because this is not an insane amplifier.
/kill now applies the highest damage possible and resistance ignores 'out of world'-damage.
Technically a duplicate of TRASH-656, but that issue has been marked a duplicate of MC-10755.