Skip to main content

MINECRAFT · ITEM

Minecraft Glass item

Glass

  • Item

A transparent solid block that transmits light and allows line-of-sight while blocking mobs, stackable up to 64 per inventory slot.

Want to go deeper on the Glass? Join the GameServersHub Discord to trade setups and spawn tips with other server admins. As of .

About

Glass is a solid, transparent block mined from sand in a furnace or found naturally in structures. It lets light and vision pass through but acts as a physical barrier to mobs and players, making it useful for containment, viewing areas, and decorative builds.

Break glass with any tool; it yields nothing by default but drops as an item if mined with Silk Touch. Admins use it to create secure viewing windows for mob farms, observation rooms, or to seal dangerous areas while maintaining visibility. At hardness 0.3, it breaks quickly but also quickly replaces.

Frequently Asked Questions

When was the Glass data last updated?
The Glass entry was last verified on GameServersCodex on June 29, 2026. We track the live Minecraft build, so the IDs and commands here reflect the current patch.
What is the Glass?
A transparent solid block that transmits light and allows line-of-sight while blocking mobs, stackable up to 64 per inventory slot.
Which game is the Glass from?
The Glass is from Minecraft. Every ID, code, and command on this page is specific to Minecraft and its current live build.
What is the Glass used for?
Glass is a solid, transparent block mined from sand in a furnace or found naturally in structures. It lets light and vision pass through but acts as a physical barrier to mobs and players, making it useful for containment, viewing areas, and decorative builds.
Can I get the Glass without spawning it?
Yes. The Glass can also be obtained through normal Minecraft progression. Admins usually spawn it for speed when testing, running events, or outfitting players, which is what the commands on this page are for.
What items are related to the Glass?
See the Related section at the bottom of this page for items commonly used alongside the Glass, or open Browse Games to explore the full Minecraft database.
What is the item id of the Glass?
The item id of the Glass is minecraft:glass.
What is the numerical id of the Glass?
The numerical id of the Glass is 20.
What is the give command of the Glass?
The give command of the Glass is /give @p minecraft:glass 1.
What is the stackable of the Glass?
The stackable of the Glass is Yes.
What is the max stack size of the Glass?
The max stack size of the Glass is 64.
What is the hardness of the Glass?
The hardness of the Glass is 0.3.
What is the diggable of the Glass?
The diggable of the Glass is Yes.