Edit: There was nothing wrong. I forgot I have to use stained_glass not glass.
When using setblock command to place glass it's color is not affected when using TileData different than 0.
/setblock ~ ~2 ~ concrete 15 :places black concrete
/setblock ~ ~2 ~ glass 15 :still clear glass and you can put value from 0 to 65535.
Comments 0
No comments.