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.

Beacon beams are able to pass through glass and glass panes. Stained glass and their pane variants can also change the color of the beacon beam in and above them. Adding more stained glass can create colors that aren’t those of the 16 dyes.

ID




Trivia

 * Prior to the addition of stained glass to the game, there was a similar block named tinted glass added to Java Edition 2.0. The texture for this tinted glass block was used for the implementation of stained glass in 13w41a before it was replaced with a smoother/transparent texture in 13w42a.
 * The iteration of tinted glass from Java Edition 2.0 shares its name with the tinted glass block added in 1.17, though it is unlikely that the identical naming of these blocks was intentional.
 * The textures of stained glass and stained glass panes still use their original 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.