Sets the block value into the matrix.
void setBlockValue(Block pos, int block) { matrix[pos.y][pos.x] = block; }