just put a light outside the range of the blocks..then compile it as a map entity and it should work fine