Glass

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

Obtaining
https://www.youtube.com/watch?v=EE-xtCF3T94

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.

As a solid block, zombie reinforcements can spawn on top of glass, resulting in unexpected zombies "sneaking into" an otherwise secure area of a structure.

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.

Mobs cannot spawn on 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.