Glass

Glass is a decorative block that Sunlight can penetrate through; making it useful for buildings such as greenhouses. There are also Glass Panes. It has an almost completely transparent texture put on all six sides of the block. Glass blocks adjacent to other glass blocks are invisible when viewed through glass.

Glass will not hinder a redstone current from traveling down the side of a block diagonal to it.

Redstone Wire, Jack o'Lanterns, Rails, Doors, Pressure Plates, Beds, Trapdoors and Ladders cannot be placed on (or against, for trapdoors and ladders) glass. Torches and Redstone Torches can be placed on top of glass blocks, but not attached to their sides. Glass can be re-obtained by a pickaxe, shovel or axe with Silk Touch.

Trade
Glass blocks can also be obtained through trading with librarian villagers.

Video
(This video is outdated)

Trivia

 * Glass blocks do not reduce the intensity of the light passing through it, aside from the normal decrease of -1. See Opacity.
 * Snow does not accumulate on glass.
 * If you try to light glass on fire with a flint and steel no flames will appear, but the flint and steel will still act as if it had been used (its durability will decrease slightly). The same thing happens with ice.
 * Placing a glass block on top of a chest does not prevent the chest from being opened.
 * Glass towers can create light underwater via sunlight.
 * Glass placed next to water running downwards will make the water run more quickly and violently; this can be useful in making traps.
 * When Glass is placed over a dropped item, the item is trapped inside the glass but can be retrieved normally.
 * Mobs (excluding Zombies, Spiders and Slimes) cannot draw line of sight through glass.
 * Narrow (1x1) towers of glass which mark Strongholds can be naturally found in worlds generated in Beta 1.9pre3. This is not a bug, but a debug feature which Jeb forgot to remove.
 * Hostile and passive mobs are unable to spawn on Glass, regardless of the light level.
 * Glass can be picked up using a tool with the silk touch enchantment.
 * While glass panes are more commonly used for windows, glass blocks are usually used for curved glass structures, such as domes.
 * In Survival test Glass could be broken very quickly and would drop a glass block to pick up. The only way to obtain glass blocks at that time was to place them on the map before the level was loaded in the client.
 * When riding a minecart and a glass block exists one block above the ground only, a player can ride through the glass in a mine cart. This can be used to make a structure that you can ride into without a mob being able to enter the structure.