Port spawnmob changes to 3.x

Maven fails, testing with travis instead.