Glass Command Examples
- Give 1 to nearest player:
/give @p minecraft:glass 1 - Give 1 to yourself:
/give @s minecraft:glass 1 - Give to a specific player:
/give PlayerName minecraft:glass 1 - Clear from inventory:
/clear @p minecraft:glass
What Is Glass Used For?
Sand
Sand is smelted to create Glass.
Furnace
Use the furnace to process sand into glass.
Glass Pane
Craft thinner window blocks from glass.
Beacon
Glass is required for the beacon recipe.
Glass FAQ
What is the item ID for Glass?
The item ID for Glass is minecraft:glass. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.
What is the numerical ID for Glass?
Glass has the historical numerical ID 20, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:glass instead.
How do I give myself Glass in Minecraft?
Open the chat window and run /give @p minecraft:glass 1 to give the nearest player one Glass. Replace @p with a player name to target someone else.
How many Glass can stack in one slot?
Glass stacks up to 64 per inventory slot.
What can you craft with Glass?
Glass is used to craft Tinted Glass, Glass Pane, Beacon, White Stained Glass, and 34 more recipes.
Sources and Data Review
Item facts were reviewed for Java Edition 26.2 on .
