Glass

Glass is a 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.

Glass does not have an assigned tool; it is mined at the same speed regardless of what tool is used.

Natural generation
A secret room containing glass can be found inside woodland mansions. Glass is also generated in ancient cities.
 * Glass

Magenta stained glass blocks naturally generate as windows in end cities.
 * Stained glass

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 reinforcements, which can spawn on glass blocks (but not glass panes).

Glass blocks cannot be seen through by mobs, as they treat them as completely opaque. Mobs may look at players through glass, but this is purely visual.

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.

ID




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 for one snapshot before it was replaced.
 * The version of tinted glass from Java Edition 2.0 shares its name with the tinted glass block added in 1.17.
 * The textures of stained glass and stained glass panes still use the old colors from prior to the 1.12 World of Color Update. The texture colors were not changed in 1.12's development, and the retexturing in 1.14 did not adjust the colors to the new 1.12 color palette.