mojira.dev
MC-49667

Bug Commande Block

The command

/summon

doesn't support the PersistenceRequired tag. Example:

/summon Entity ~ ~ ~ {PersistenceRequired:true}

When I use the command

/kill @e[type=!Player]

the mob still dies.

Comments 5

PersistenceRequired stops a mob from despawning when the player is far away, not from being killed.
You may want to use Invulnerable instead, however this still doesn't protect the mob from being killed by a command.

hmm yes but you are a solution,i want a mob can't kill by /kill @e[type=!Player]
in snapshoot before 14w08a its work

This site is for bug reports only. For feature suggestions or changes please see: Minecraft Suggestions on Reddit.

You can prevent mobs from being killed by giving them a

{CustomName:"name"}

and doing

kill @e[name=!name]

jimmy

(Unassigned)

Unconfirmed

Minecraft 14w08a

Retrieved