mojira.dev
MC-54982

The Invulnerable datatag does not seem to function.

The Invulnerable datatag is not working

I attempted summoning an invulnerable slime with the command
/summon Slime ~ ~ ~ {Invulnerable:1}

It was just a normal Slime, I could then kill it just using a sword, I then tried it with different mobs, and no difference in results. I looked around on the internet to see if I was doing it wrong and everyone had the same command.
/summon WhateverMob ~ ~ ~ {Invulnerable:1}
But nothing worked

Steps to Reproduce:
1. Attempt to summon any mob that cannot be killed by melee damage (not /kill or tp to void, etc.)
2. /summon Slime ~ ~ ~ {Invulnerable:1}
3. See if it works or not.

Linked issues

Comments 3

Intended in creative.

its not intended in creative... its not intended at all. the invulnerable tag worked fine in the past versions, didn't matter whether the player is in creative or not. there is nothing about it in the changelogs.

He's saying the Invulnerable tag works if you aren't in creative mode.

Also duplicate MC-51195

Question Marked

(Unassigned)

Unconfirmed

Minecraft 14w19a

Retrieved