Added method to get an array of the material IDs for all the blocks of a chunk.