PHP: Level->setBlockLightAt(int $x, int $y, int $z, int $level/* 0 - 15 */) (Not sure if it works or not, try)