How do I spawn a Slime that can be used as a soccerball in vanilla Minecraft?

I'm wondering how to spawn a slime that has no AI and that can be pushed and knocked around like a soccerball. I've noticed that when I remove the AI it also loses any knockback effect.

Is there a way to do this? Whether via command or by other methods is fine by me. I'm in snapshot 15w42a.


Solution 1:

Ok I think I figured it out use this command:

/summon Slime ~0 ~1 ~0 {CustomName:Ball,CustomNameVisible:1,ActiveEffects:[{Id:2,Amplifier:20,Duration:999999}]}

This spawns a slime that can't move anywhere, and then use a weapon with knockback enchantments.