Glass Item ID

Each item in Minecraft has a unique ID assigned to it, known as an item ID, this can be used in commands to spawn the item into the game. The item ID for glass in Minecraft is shown below:

Glass Spawn Command

The Glass item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.

If you are running the Essentials plugin, you will need to run /minecraft:give instead of simply /give. This is because the Essentials /give command overrides Minecraft's built-in command.

All Minecraft 1.18 Item IDs

Find thousands more items on our complete list of 1,325 Minecraft IDs.

/spawn list

Glass Information

Glass

Glass is obtained when sand is smelted in a furnace. When broken without a silk touch pickaxe, it does not yield the glass block. It is a transparent block, and used in crafting recipes for beacons, stained glass, daylight sensors, glass bottles, end crystals and various other items.

Item ID minecraft:glass
Numerical ID 20
Stackable Yes
Max Stack Size 64
Recipes Used In Glass Pane, Beacon, Daylight Detector, White Stained Glass, Orange Stained Glass, Magenta Stained Glass, Light Blue Stained Glass, Yellow Stained Glass, Lime Stained Glass, Pink Stained Glass, Gray Stained Glass, Light Gray Stained Glass, Cyan Stained Glass, Purple Stained Glass, Blue Stained Glass, Brown Stained Glass, Green Stained Glass, Red Stained Glass, Black Stained Glass, Glass Bottle, End Crystal
Hardness 0.3
Diggable Yes
Min / Max State IDs 231 - 231