{{Distinguish|Tinted Glass}}
{{Infobox block
| group = White
| 1-1 = White Stained Glass.png
| invimage = White Stained Glass
| group2 = Light Gray
| 2-1 = Light Gray Stained Glass.png
| invimage2 = Light Gray Stained Glass
| group3 = Gray
| 3-1 = Gray Stained Glass.png
| invimage3 = Gray Stained Glass
| group4 = Black
| 4-1 = Black Stained Glass.png
| invimage4 = Black Stained Glass
| group5 = Brown
| 5-1 = Brown Stained Glass.png
| invimage5 = Brown Stained Glass
| group6 = Red
| 6-1 = Red Stained Glass.png
| invimage6 = Red Stained Glass
| group7 = Orange
| 7-1 = Orange Stained Glass.png
| invimage7 = Orange Stained Glass
| group8 = Yellow
| 8-1 = Yellow Stained Glass.png
| invimage8 = Yellow Stained Glass
| group9 = Lime
| 9-1 = Lime Stained Glass.png
| invimage9 = Lime Stained Glass
| group10 = Green
| 10-1 = Green Stained Glass.png
| invimage10 = Green Stained Glass
| group11 = Cyan
| 11-1 = Cyan Stained Glass.png
| invimage11 = Cyan Stained Glass
| group12 = Light Blue
| 12-1 = Light Blue Stained Glass.png
| invimage12 = Light Blue Stained Glass
| group13 = Blue
| 13-1 = Blue Stained Glass.png
| invimage13 = Blue Stained Glass
| group14 = Purple
| 14-1 = Purple Stained Glass.png
| invimage14 = Purple Stained Glass
| group15 = Magenta
| 15-1 = Magenta Stained Glass.png
| invimage15 = Magenta Stained Glass
| group16 = Pink
| 16-1 = Pink Stained Glass.png
| invimage16 = Pink Stained Glass
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''Stained glass''' is a [[dye]]d variant of the [[glass]] block.

== Obtaining ==
=== Breaking ===
Stained glass drops itself only if it is broken with a [[tool]] enchanted with [[Silk Touch]]. Otherwise, it drops nothing.

Stained glass does not have an assigned tool; it is mined at the same speed regardless of what tool is used.<ref>{{bug|MC-179316||Glass blocks do not have an assigned tool}}</ref>

{{breaking row|horizontal=1|Stained Glass|drop=0}}

=== Natural generation ===
Magenta stained glass blocks naturally generate as windows in [[end cities]] and [[End City#End ship|end ship]]s.
[[File:End City Glass2.png|thumb|Magenta stained glass naturally generating in an end city.]]
Brown stained glass can generate in [[trail ruins]].

Black, light gray, and white stained glass can generate inside [[trial chambers]].

=== Crafting ===
{{Crafting
  |A1= Glass  |C1= Glass  |B1= Glass
  |A2= Glass  |B2= Matching Dye  |C2= Glass
  |A3= Glass  |B3= Glass  |C3= Glass
  |Output= Matching Stained Glass,8
  |type= Building block
}}
<div style="display:none">
<!--
    This is so the pre-Village & Pillage dyes can have dye-related crafting recipes show on their respective pages.
    They don't need to be displayed on this page because they already intuitively list "Any Matching/Colored Dye".
-->
{{Crafting
 |showdescription=1
 |A1= Glass |B1= Glass |C1= Glass
 |A2= Glass |B2= Bone Meal; Lapis Lazuli; Cocoa Beans; Ink Sac |C2= Glass
 |A3= Glass |B3= Glass |C3= Glass
 |Output=White Stained Glass,8; Blue Stained Glass,8; Brown Stained Glass,8; Black Stained Glass,8
 |type=Decoration block
 |description={{only|bedrock|education}}
}}
</div>

== Usage ==
Stained glass blocks adjacent to other glass blocks are invisible when viewed through glass that is identical in color.

Mobs cannot normally spawn on stained glass blocks. An exception to this is [[Zombie#Reinforcements|zombie reinforcements]], which can spawn on stained glass blocks (but not [[stained glass pane]]s).

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

[[Redstone dust]] and components can be placed on stained glass, but cannot power stained glass. Stained glass can't cut vertical redstone. Vertical redstone can be placed on stained glass. {{IN|java}}, it transmits redstone signals up, not down. Otherwise, stained glass in redstone circuits is functionally the same as an upside-down slab.

=== Beacon beam color ===
The color of the beam may be changed by placing blocks of stained glass (or [[stained glass pane]]s) anywhere above the beacon block. The beam changes colors according to the colors of glass placed above it: the first block sets the beam color, while each additional block sets the color by averaging the red, green, and blue components of the current beam color and the block's color. The color values are the same as [[Dye#Color values|those for the corresponding dye]]. This also works using [[hardened stained glass]] and [[hardened stained glass pane]]s.{{only|bedrock|education}} Stained glass panes have the same effect on the beam as stained glass blocks.

The resulting beam color can be found as <math>C = \frac{1}{2^{n}}\left(c_0 + \sum_{i=1}^n{2^{i-1}c_i}\right)</math>where <math>c_i</math> is the sequence of glass colors (<math>c_0</math> corresponds to the lowest block and <math>c_n</math> to the highest one).

As the blending algorithm is considerably simpler than that of [[Dye#Dyeing armor|leather-dyeing]], a much larger part of the sRGB space is available.{{Info needed|Needs rewording to clarify the relationship between the blending algorithm and the resulting color space.}} A player may experiment with stacking glass, although programs that calculate combinations are also available.<ref>https://minecraft.tools/en/beacon-color.php</ref>

All colors can be made from 15 types of stained glass. For example, red + white stained glass above a beacon creates a shade of pink depending on the quantity of white.

{{Calculator|beaconColor}}

=== Crafting ingredient ===
{{crafting usage|Any Stained Glass}}

== Sounds ==
{{Sound table/Block/Glass}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=White Stained Glass
|spritetype=block
|nameid=white_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Orange Stained Glass
|spritetype=block
|nameid=orange_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Magenta Stained Glass
|spritetype=block
|nameid=magenta_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Light Blue Stained Glass
|spritetype=block
|nameid=light_blue_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Yellow Stained Glass
|spritetype=block
|nameid=yellow_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Lime Stained Glass
|spritetype=block
|nameid=lime_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Pink Stained Glass
|spritetype=block
|nameid=pink_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Gray Stained Glass
|spritetype=block
|nameid=gray_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Light Gray Stained Glass
|spritetype=block
|nameid=light_gray_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Cyan Stained Glass
|spritetype=block
|nameid=cyan_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Purple Stained Glass
|spritetype=block
|nameid=purple_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Blue Stained Glass
|spritetype=block
|nameid=blue_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Brown Stained Glass
|spritetype=block
|nameid=brown_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Green Stained Glass
|spritetype=block
|nameid=green_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Red Stained Glass
|spritetype=block
|nameid=red_stained_glass
|blocktags=impermeable}}
{{ID table
|displayname=Black Stained Glass
|spritetype=block
|nameid=black_stained_glass
|blocktags=impermeable
|foot=1}}

{{edition|bedrock}}:
{{ID table2
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=White Stained Glass
|spritetype=block
|nameid=white_stained_glass
|aliasid=stained_glass / 0
|id=241
|translationkey=tile.stained_glass.white.name}}
{{ID table2
|displayname=Orange Stained Glass
|spritetype=block
|nameid=orange_stained_glass
|aliasid=stained_glass / 1
|id=-673
|translationkey=tile.stained_glass.orange.name}}
{{ID table2
|displayname=Magenta Stained Glass
|spritetype=block
|nameid=magenta_stained_glass
|aliasid=stained_glass / 2
|id=-674
|translationkey=tile.stained_glass.magenta.name}}
{{ID table2
|displayname=Light Blue Stained Glass
|spritetype=block
|nameid=light_blue_stained_glass
|aliasid=stained_glass / 3
|id=-675
|translationkey=tile.stained_glass.light_blue.name}}
{{ID table2
|displayname=Yellow Stained Glass
|spritetype=block
|nameid=yellow_stained_glass
|aliasid=stained_glass / 4
|id=-676
|translationkey=tile.stained_glass.yellow.name}}
{{ID table2
|displayname=Lime Stained Glass
|spritetype=block
|nameid=lime_stained_glass
|aliasid=stained_glass / 5
|id=-677
|translationkey=tile.stained_glass.lime.name}}
{{ID table2
|displayname=Pink Stained Glass
|spritetype=block
|nameid=pink_stained_glass
|aliasid=stained_glass / 6
|id=-678
|translationkey=tile.stained_glass.pink.name}}
{{ID table2
|displayname=Gray Stained Glass
|spritetype=block
|nameid=gray_stained_glass
|aliasid=stained_glass / 7
|id=-679
|translationkey=tile.stained_glass.gray.name}}
{{ID table2
|displayname=Light Gray Stained Glass
|spritetype=block
|nameid=light_gray_stained_glass
|aliasid=stained_glass / 8
|id=-680
|translationkey=tile.stained_glass.silver.name}}
{{ID table2
|displayname=Cyan Stained Glass
|spritetype=block
|nameid=cyan_stained_glass
|aliasid=stained_glass / 9
|id=-681
|translationkey=tile.stained_glass.cyan.name}}
{{ID table2
|displayname=Purple Stained Glass
|spritetype=block
|nameid=purple_stained_glass
|aliasid=stained_glass / 10
|id=-682
|translationkey=tile.stained_glass.purple.name}}
{{ID table2
|displayname=Blue Stained Glass
|spritetype=block
|nameid=blue_stained_glass
|aliasid=stained_glass / 11
|id=-683
|translationkey=tile.stained_glass.blue.name}}
{{ID table2
|displayname=Brown Stained Glass
|spritetype=block
|nameid=brown_stained_glass
|aliasid=stained_glass / 12
|id=-684
|translationkey=tile.stained_glass.brown.name}}
{{ID table2
|displayname=Green Stained Glass
|spritetype=block
|nameid=green_stained_glass
|aliasid=stained_glass / 13
|id=-685
|translationkey=tile.stained_glass.green.name}}
{{ID table2
|displayname=Red Stained Glass
|spritetype=block
|nameid=red_stained_glass
|aliasid=stained_glass / 14
|id=-686
|translationkey=tile.stained_glass.red.name}}
{{ID table2
|displayname=Black Stained Glass
|spritetype=block
|nameid=black_stained_glass
|aliasid=stained_glass / 15
|id=-687
|translationkey=tile.stained_glass.black.name
|foot=1}}

== Video ==
{{yt|agNA7Q0dxbA}}

== History ==
{{more images|Render of stained glass upon first introduction to Bedrock Edition - looks identical to normal glass, except that it has a visible back face}}
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||2.0|[[File:White Tinted Glass.png|32px]] [[File:Light Gray Tinted Glass.png|32px]] [[File:Gray Tinted Glass.png|32px]] [[File:Black Tinted Glass.png|32px]] [[File:Brown Tinted Glass.png|32px]] [[File:Red Tinted Glass.png|32px]] [[File:Orange Tinted Glass.png|32px]] [[File:Yellow Tinted Glass.png|32px]] [[File:Lime Tinted Glass.png|32px]] [[File:Green Tinted Glass.png|32px]] [[File:Cyan Tinted Glass.png|32px]] [[File:Light Blue Tinted Glass.png|32px]] [[File:Blue Tinted Glass.png|32px]] [[File:Purple Tinted Glass.png|32px]] [[File:Magenta Tinted Glass.png|32px]] [[File:Pink Tinted Glass.png|32px]] Added tinted glass. Tinted glass would later be added officially as stained glass.}}
|{{HistoryLine||1.7.2|dev=13w41a|[[File:White Stained Glass JE1.png|32px]] [[File:Light Gray Stained Glass JE1.png|32px]] [[File:Gray Stained Glass JE1.png|32px]] [[File:Black Stained Glass JE1.png|32px]] [[File:Brown Stained Glass JE1.png|32px]] [[File:Red Stained Glass JE1.png|32px]] [[File:Orange Stained Glass JE1.png|32px]] [[File:Yellow Stained Glass JE1.png|32px]] [[File:Lime Stained Glass JE1.png|32px]] [[File:Green Stained Glass JE1.png|32px]] [[File:Cyan Stained Glass JE1.png|32px]] [[File:Light Blue Stained Glass JE1.png|32px]] [[File:Blue Stained Glass JE1.png|32px]] [[File:Purple Stained Glass JE1.png|32px]] [[File:Magenta Stained Glass JE1.png|32px]] [[File:Pink Stained Glass JE1.png|32px]] Added stained glass, using a texture similar to tinted glass from [[Java Edition 2.0]]. It differs in that each ID now has its own texture, rather than [[tint]]ing a single, grayscale texture.}}
|{{HistoryLine|||dev=13w42a|[[File:White Stained Glass JE2 BE2.png|32px]] [[File:Light Gray Stained Glass JE2 BE2.png|32px]] [[File:Gray Stained Glass JE2 BE2.png|32px]] [[File:Black Stained Glass JE2 BE2.png|32px]] [[File:Brown Stained Glass JE2 BE2.png|32px]] [[File:Red Stained Glass JE2 BE2.png|32px]] [[File:Orange Stained Glass JE2 BE2.png|32px]] [[File:Yellow Stained Glass JE2 BE2.png|32px]] [[File:Lime Stained Glass JE2 BE2.png|32px]] [[File:Green Stained Glass JE2 BE2.png|32px]] [[File:Cyan Stained Glass JE2 BE2.png|32px]] [[File:Light Blue Stained Glass JE2 BE2.png|32px]] [[File:Blue Stained Glass JE2 BE2.png|32px]] [[File:Purple Stained Glass JE2 BE2.png|32px]] [[File:Magenta Stained Glass JE2 BE2.png|32px]] [[File:Pink Stained Glass JE2 BE2.png|32px]] The textures of stained glass have been changed. In addition, changes to translucent block rendering has stopped the interiors of such blocks from rendering.<ref>{{bug|MC-34649}}</ref>}}
|{{HistoryLine||1.8|dev=14w18a|[[Torch]]es can now be placed on stained glass.}}
|{{HistoryLine|||dev=August 5, 2014|slink={{tweet|Dinnerbone|496649440896503808}}|[[Dinnerbone]] tweeted a picture showing stained glass changing the color of a [[beacon]] beam.}}
|{{HistoryLine|||dev=14w32a|[[Beacon]] beams now change color when shining through stained glass.}}
|{{HistoryLine||1.9|dev=15w31a|Magenta stained glass now naturally generate as windows in [[end cities]].}}
|{{HistoryLine||1.12|dev=17w06a|Dye colors have been changed, however, the textures for stained glass, and stained glass panes, alongside light blue dye item, did not change colors in this update. This means that they still use old colors instead of the new colors.<ref name="unchanged colors">{{Bug|MC-214641}}</ref>}}
|{{HistoryLine||1.14|dev=18w43a|Stained glass panes can now also be [[craft]]ed by surrounding a [[dye]] with glass panes.}}
|{{HistoryLine|||dev=February 19, 2019|slink={{tweet|Jappa|1097841511079780352}}|[[Jappa]] tweets an image of smoother stained glass textures.}}
|{{HistoryLine|||dev=19w08a|[[File:White Stained Glass JE3 BE3.png|32px]] [[File:Light Gray Stained Glass JE3 BE3.png|32px]] [[File:Gray Stained Glass JE3 BE3.png|32px]] [[File:Black Stained Glass JE3 BE3.png|32px]] [[File:Brown Stained Glass JE3 BE3.png|32px]] [[File:Red Stained Glass JE3 BE3.png|32px]] [[File:Orange Stained Glass JE3 BE3.png|32px]] [[File:Yellow Stained Glass JE3 BE3.png|32px]] [[File:Lime Stained Glass JE3 BE3.png|32px]] [[File:Green Stained Glass JE3 BE3.png|32px]] [[File:Cyan Stained Glass JE3 BE3.png|32px]] [[File:Light Blue Stained Glass JE3 BE3.png|32px]] [[File:Blue Stained Glass JE3 BE3.png|32px]] [[File:Purple Stained Glass JE3 BE3.png|32px]] [[File:Magenta Stained Glass JE3 BE3.png|32px]] [[File:Pink Stained Glass JE3 BE3.png|32px]] The textures of stained glass have been changed. The colors have not been changed to the new colors from the 1.12 World of Color update.<ref name="unchanged colors"></ref>}}
|{{HistoryLine|||dev=19w13a|Stained glass can now support many non-full blocks, including [[redstone dust]], [[redstone repeater]]s, and [[rail]]s. See [[Java Edition 1.14/Transparent block changes|this list]] for more info.}}
|{{HistoryLine||1.18|dev=Pre-release 5|[[File:Red Stained Glass JE4.png|32px]] [[File:Blue Stained Glass JE4.png|32px]] Changed red and blue stained glass textures.}}
|{{HistoryLine|pocket}}
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|[[File:Glass JE3 BE1.png|32px]] Stained glass blocks have been added, but use the regular glass texture due to issues with the rendering engine. Their back texture also shows.<!--or did they just not cull each other?-->
|Magenta stained glass now generates in [[end cities]].}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||unknown|Things like [[torch]]es, [[button]]s, [[lever]]s, and other [[block]]s can now be placed on the side of stained glass.}}
|{{HistoryLine||1.2.0|dev=beta 1.2.0.2|[[File:White Stained Glass JE2 BE2.png|32px]] [[File:Light Gray Stained Glass JE2 BE2.png|32px]] [[File:Gray Stained Glass JE2 BE2.png|32px]] [[File:Black Stained Glass JE2 BE2.png|32px]] [[File:Brown Stained Glass JE2 BE2.png|32px]] [[File:Red Stained Glass JE2 BE2.png|32px]] [[File:Orange Stained Glass JE2 BE2.png|32px]] [[File:Yellow Stained Glass JE2 BE2.png|32px]] [[File:Lime Stained Glass JE2 BE2.png|32px]] [[File:Green Stained Glass JE2 BE2.png|32px]] [[File:Cyan Stained Glass JE2 BE2.png|32px]] [[File:Light Blue Stained Glass JE2 BE2.png|32px]] [[File:Blue Stained Glass JE2 BE2.png|32px]] [[File:Purple Stained Glass JE2 BE2.png|32px]] [[File:Magenta Stained Glass JE2 BE2.png|32px]] [[File:Pink Stained Glass JE2 BE2.png|32px]] Stained glass now has its own texture.
|Stained glass is now available without the use of inventory editors and can now be crafted.
|Stained glass no longer renders through itself.}}
|{{HistoryLine||1.4.0|dev=beta 1.2.20.1|Stained glass can now used to craft [[hardened stained glass]], only with {{el|ee}} features turned on.}}
|{{HistoryLine||1.11.0|dev=beta 1.11.0.5|[[File:White Stained Glass JE3 BE3.png|32px]] [[File:Light Gray Stained Glass JE3 BE3.png|32px]] [[File:Gray Stained Glass JE3 BE3.png|32px]] [[File:Black Stained Glass JE3 BE3.png|32px]] [[File:Brown Stained Glass JE3 BE3.png|32px]] [[File:Red Stained Glass JE3 BE3.png|32px]] [[File:Orange Stained Glass JE3 BE3.png|32px]] [[File:Yellow Stained Glass JE3 BE3.png|32px]] [[File:Lime Stained Glass JE3 BE3.png|32px]] [[File:Green Stained Glass JE3 BE3.png|32px]] [[File:Cyan Stained Glass JE3 BE3.png|32px]] [[File:Light Blue Stained Glass JE3 BE3.png|32px]] [[File:Blue Stained Glass JE3 BE3.png|32px]] [[File:Purple Stained Glass JE3 BE3.png|32px]] [[File:Magenta Stained Glass JE3 BE3.png|32px]] [[File:Pink Stained Glass JE3 BE3.png|32px]] The textures of stained glass have been changed.}}
|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU19|xbone=CU7|ps3=1.12|psvita=1.12|ps4=1.12|wiiu=Patch 1|switch=1.0.1|[[File:White Stained Glass JE2 BE2.png|32px]] [[File:Light Gray Stained Glass JE2 BE2.png|32px]] [[File:Gray Stained Glass JE2 BE2.png|32px]] [[File:Black Stained Glass JE2 BE2.png|32px]] [[File:Brown Stained Glass JE2 BE2.png|32px]] [[File:Red Stained Glass JE2 BE2.png|32px]] [[File:Orange Stained Glass JE2 BE2.png|32px]] [[File:Yellow Stained Glass JE2 BE2.png|32px]] [[File:Lime Stained Glass JE2 BE2.png|32px]] [[File:Green Stained Glass JE2 BE2.png|32px]] [[File:Cyan Stained Glass JE2 BE2.png|32px]] [[File:Light Blue Stained Glass JE2 BE2.png|32px]] [[File:Blue Stained Glass JE2 BE2.png|32px]] [[File:Purple Stained Glass JE2 BE2.png|32px]] [[File:Magenta Stained Glass JE2 BE2.png|32px]] [[File:Pink Stained Glass JE2 BE2.png|32px]] Introduced stained glass in an unobtainable state.<ref>https://youtu.be/gTkqDHBvK6I</ref>
|As a held item, it appears completely opaque.
|Beacon beams are unaffected by stained glass.}}
|{{HistoryLine||xbox=TU25|xbone=CU14|ps3=1.17|psvita=1.17|ps4=1.17|Stained glass is now normally obtainable.|[[Beacon]] beams now change colors when shining through stained glass.}}
|{{HistoryLine||xbox=TU31|xbone=CU19|ps3=1.22|psvita=1.22|ps4=1.22|wiiu=Patch 3|[[File:White Stained Glass (texture) LCE2.png|32px]] [[File:Light Gray Stained Glass (texture) LCE2.png|32px]] [[File:Gray Stained Glass (texture) LCE2.png|32px]] [[File:Black Stained Glass (texture) LCE2.png|32px]] [[File:Brown Stained Glass (texture) LCE2.png|32px]] [[File:Red Stained Glass (texture) LCE2.png|32px]] [[File:Orange Stained Glass (texture) LCE2.png|32px]] [[File:Yellow Stained Glass (texture) LCE2.png|32px]] [[File:Lime Stained Glass (texture) LCE2.png|32px]] [[File:Green Stained Glass (texture) LCE2.png|32px]] [[File:Cyan Stained Glass (texture) LCE2.png|32px]] [[File:Light Blue Stained Glass (texture) LCE2.png|32px]] [[File:Blue Stained Glass (texture) LCE2.png|32px]] [[File:Purple Stained Glass (texture) LCE2.png|32px]] [[File:Magenta Stained Glass (texture) LCE2.png|32px]] [[File:Pink Stained Glass (texture) LCE2.png|32px]] All stained glass blocks have been made more translucent.}}
|{{HistoryLine||xbox=TU46|xbone=CU36|ps3=1.38|psvita=1.38|ps4=1.38|wiiu=Patch 15|switch=1.0.1|Magenta stained glass now naturally generate as windows in [[end cities]].}}
|{{HistoryLine||xbox=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|[[File:White Stained Glass JE2 BE2.png|32px]] [[File:Light Gray Stained Glass JE2 BE2.png|32px]] [[File:Gray Stained Glass JE2 BE2.png|32px]] [[File:Black Stained Glass JE2 BE2.png|32px]] [[File:Brown Stained Glass JE2 BE2.png|32px]] [[File:Red Stained Glass JE2 BE2.png|32px]] [[File:Orange Stained Glass JE2 BE2.png|32px]] [[File:Yellow Stained Glass JE2 BE2.png|32px]] [[File:Lime Stained Glass JE2 BE2.png|32px]] [[File:Green Stained Glass JE2 BE2.png|32px]] [[File:Cyan Stained Glass JE2 BE2.png|32px]] [[File:Light Blue Stained Glass JE2 BE2.png|32px]] [[File:Blue Stained Glass JE2 BE2.png|32px]] [[File:Purple Stained Glass JE2 BE2.png|32px]] [[File:Magenta Stained Glass JE2 BE2.png|32px]] [[File:Pink Stained Glass JE2 BE2.png|32px]] The texture changes to stained glass shave been reverted - they now are more opaque as they were previously.}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.90|wiiu=none|switch=none|Stained glass can now be [[craft]]ed by surrounding a [[dye]] with glass.}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.92|wiiu=none|switch=none|[[File:White Stained Glass JE3 BE3.png|32px]] [[File:Light Gray Stained Glass JE3 BE3.png|32px]] [[File:Gray Stained Glass JE3 BE3.png|32px]] [[File:Black Stained Glass JE3 BE3.png|32px]] [[File:Brown Stained Glass JE3 BE3.png|32px]] [[File:Red Stained Glass JE3 BE3.png|32px]] [[File:Orange Stained Glass JE3 BE3.png|32px]] [[File:Yellow Stained Glass JE3 BE3.png|32px]] [[File:Lime Stained Glass JE3 BE3.png|32px]] [[File:Green Stained Glass JE3 BE3.png|32px]] [[File:Cyan Stained Glass JE3 BE3.png|32px]] [[File:Light Blue Stained Glass JE3 BE3.png|32px]] [[File:Blue Stained Glass JE3 BE3.png|32px]] [[File:Purple Stained Glass JE3 BE3.png|32px]] [[File:Magenta Stained Glass JE3 BE3.png|32px]] [[File:Pink Stained Glass JE3 BE3.png|32px]] The textures of stained glass have been changed.}}
|{{HistoryLine|New3ds}}
|{{HistoryLine||1.5.25|[[File:White Stained Glass JE2 BE2.png|32px]] [[File:Light Gray Stained Glass JE2 BE2.png|32px]] [[File:Gray Stained Glass JE2 BE2.png|32px]] [[File:Black Stained Glass JE2 BE2.png|32px]] [[File:Brown Stained Glass JE2 BE2.png|32px]] [[File:Red Stained Glass JE2 BE2.png|32px]] [[File:Orange Stained Glass JE2 BE2.png|32px]] [[File:Yellow Stained Glass JE2 BE2.png|32px]] [[File:Lime Stained Glass JE2 BE2.png|32px]] [[File:Green Stained Glass JE2 BE2.png|32px]] [[File:Cyan Stained Glass JE2 BE2.png|32px]] [[File:Light Blue Stained Glass JE2 BE2.png|32px]] [[File:Blue Stained Glass JE2 BE2.png|32px]] [[File:Purple Stained Glass JE2 BE2.png|32px]] [[File:Magenta Stained Glass JE2 BE2.png|32px]] [[File:Pink Stained Glass JE2 BE2.png|32px]] Added stained glass.}}
}}

=== Data history ===
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||1.7.2|dev=13w41a|Stained glass uses numeric ID 95, the ID which was formerly used by the [[locked chest]].
|The alphanumeric ID for [[block]] 95 has been changed from {{code|chest_locked_aprilfools_super_old_legacy_we_should_not_even_have_this}} to {{code|stained_glass}}.}}
|{{HistoryLine||1.13|dev=17w47a|The different [[block states]] for the <code>stained_glass</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 20 and 95.}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.20.30|dev=Preview 1.20.20.21|The different [[block states]] for the <code>stained_glass</code> ID have now been split up into their own IDs.}}
}}

== Issues ==
{{Issue list}}

== Trivia ==
* Prior to the addition of stained glass to the game, there was a similar block named ''tinted glass'' added to the hoax version [[Java Edition 2.0]]. The texture for this ''tinted glass'' block was used for the implementation of stained glass in [[Java Edition 13w41a|13w41a]] before it was replaced with a smoother/transparent texture in [[Java Edition 13w42a|13w42a]]. The iteration of ''tinted glass'' from Java Edition 2.0 shares its name with the [[Tinted Glass|tinted glass]] block added in [[Java Edition 1.17|1.17]].

== Gallery ==
=== Screenshots ===
<gallery>
13w41a Banner.png|The first image of stained glass released by [[Mojang Studios]]. Behind the glass is a [[cat]] and [[Grum]].
Minecraft Stained Glass.png|The original look of the stained glass blocks.
View of all Stained Glass.png|Stained glass as of [[Java Edition 1.14.4|1.14.4]].
Red Sandstone Coloured Beacon.png|Stained glass changing the [[beacon]]'s color.
Red Sand Red Glass.png|Unimplemented smelting recipe for red glass.
</gallery>

== See also ==
* {{BlockLink|Glass}}
* {{BlockLink|id=Stained Glass Panes|Stained Glass Pane}}
* {{BlockLink|Hardened Glass}}

== References ==
{{reflist}}

== External links ==
* [https://www.minecraft.net/en-us/article/block-week-stained-glass Block of the Week: Stained Glass] – Minecraft.net on December 1, 2017

== Navigation ==
{{Navbox blocks|Decoration}}

[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]

[[de:Gefärbtes Glas]]
[[pt:Vidro tingido]]
