Added a helper method to set lighting for a block.