User blog:Tal Puhov/Mob spawner

I was wondering how to spawn mobs cause i saw a video of someone spawnin crabs then i tested with jellyfish and it didn't work can anyone tell me if it works and if yes with what statues?