Can't you just do

    if wc.Y == 21 {
        spawns = append(spawns, wc)
    }

Of course, that assumes the generator function is called only once for each block (otherwise, you'll get duplicate spawns). However, that should be a valid assumption for now.