how to make mob have infinite health code example
Example: how to summon a mob with low health
/summon Cow ~ ~1 ~ {Attributes:[{Name:generic.maxHealth,Base:100}],Health:100.0f}
/summon Cow ~ ~1 ~ {Attributes:[{Name:generic.maxHealth,Base:100}],Health:100.0f}