I want to make a Blaze farm but they keep spawning even if I put torches on the sides . What can I do to stop them spawning?
What blocks immediately neighbor the spawner is irrelevant, it will still try to spawn mobs across its area of influence.Spawners place mobs at three levels - one below, the level of the spawner, and one above, and can spawn mobs in the air. Horizontally mobs spawn anywhere (not aligned to blocks, just anywhere) within 8x8 meter square centered at northwestern corner of the spawner (one with lower coordinates). So you'll need to light up four blocks in every direction, and don't forget the layer above.
Blazes spawn at light level 11 or lower.
Torches give light level 14, so one torch blaze-proofs two blocks in every direction (diamond-shaped) on the given level, or one in every direction if it is one level below, or just the block above itself it is two levels below...
To hell with it, it is much simpler to just show:
Note different floor levels.
Taken from here.