/give @p mob_spawner 1 0 {
display: {
Name: "Mob_Spawner"
},
AttributeModifiers: [
{
AttributeName: "generic.maxHealth",
Name: "generic.maxHealth",
Amount: 20,
Operation: 0,
UUIDMost: 96177,
UUIDLeast: 332034
},
{
AttributeName: "generic.attackDamage",
Name: "generic.attackDamage",
Amount: 1,
Operation: 0,
UUIDMost: 47555,
UUIDLeast: 481818
}
],
HideFlags: 4
}