It has a hollow space inside the cubes so it must be properly illuminated to avoid mobs spawning inside