Glass

Glass is a decorative, fully transparent solid block that can be dyed into stained glass, or crafted into tinted glass.

Breaking
Glass drops itself only if it is broken with a tool enchanted with Silk Touch; otherwise, it drops nothing.

Natural generation
Magenta stained glass naturally generates as windows in end cities. A secret room containing glass can be found inside woodland mansions.

Trading
Journeyman-level librarian villagers have a 50% chance to sell 4 glass for 1 emerald.

Journeyman-level librarian villagers have a $2/3$ chance to sell 4 glass for 1 emerald.

Usage
Glass blocks adjacent to other glass blocks are invisible when viewed through glass.

Mobs cannot normally spawn on glass blocks. An exception to this is zombie reinforcement, which can result in unexpected zombies "sneaking into" an otherwise secure area.

Redstone dust and components can be placed on glass, but cannot power glass. Glass can't cut vertical redstone. Vertical redstone can be placed on glass. $$, it transmits redstone signals up, not down. Otherwise, glass in redstone circuits is functionally the same as an upside-down slab.

Light does not travel through tinted glass blocks.

ID




Block data
$$, stained glass uses the following data values:

Trivia

 * Before stained glass was added, there was a similar block named tinted glass in the April Fools version 2.0, which had the same use. The texture for the April Fools block was used before it was replaced.
 * There is a glitch in Bedrock Edition in which logging out while standing on glass causes fall damage, and if lava under the glass, the player falls into the void.