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