Pixel art illustration of a gray carpet, a thin flat woven floor covering
Minecraft Java Item ID

Gray Carpet ID

Gray carpet is a thin decorative floor covering crafted from two gray wool blocks. It adds color to builds without raising the floor height, and can also be used to fuel furnaces or equip llamas.

✓ Verified for Java Edition 1.21.11
Namespaced item ID minecraft:gray_carpet

Gray Carpet Item Facts

Maximum stack64
Available inSurvival and Creative
Shared ID, data value 7 (Java 1.12.2 and earlier)171

Shared ID, data value 7 (Java 1.12.2 and earlier): Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Gray Carpet

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:gray_carpet 1

Customize this command →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 171 1

Give command syntax by version

Java 1.13+
/give @p minecraft:gray_carpet 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 171 1 7
Numerical ID + data value

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Gray Carpet

Crafting Recipe

Gray WoolGray Wool

Crafting table recipe — makes 3 × Gray Carpet.

Combine 1 gray dye and 1 black carpet in any arrangement on a crafting table — makes 1 × Gray Carpet.

Prefer commands? Jump back to the give command matrix above to get Gray Carpet instantly.

Build With Gray Carpet

minecraft:gray_carpet is in the reviewed block catalog. Open a command tool with this ID already selected, then adjust the coordinates in the tool.

Need a different material? Browse Minecraft Block IDs or compare the related blocks below.

About Gray Carpet in Minecraft

Gray carpet is a thin decorative floor covering crafted from two gray wool blocks. It adds color to builds without raising the floor height, and can also be used to fuel furnaces or equip llamas.

Gray Carpet Command Examples

  • Give 1 to nearest player: /give @p minecraft:gray_carpet 1
  • Give 1 to yourself: /give @s minecraft:gray_carpet 1
  • Give to a specific player: /give PlayerName minecraft:gray_carpet 1
  • Clear from inventory: /clear @p minecraft:gray_carpet

Gray Carpet FAQ

What is the item ID for Gray Carpet?

The item ID for Gray Carpet is minecraft:gray_carpet. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Gray Carpet?

Gray Carpet has the historical numerical ID 171 with data value 7, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:gray_carpet instead.

How do I give myself Gray Carpet in Minecraft?

Open the chat window and run /give @p minecraft:gray_carpet 1 to give the nearest player one Gray Carpet. Replace @p with a player name to target someone else.

How many Gray Carpet can stack in one slot?

Gray Carpet stacks up to 64 per inventory slot.

How do you craft Gray Carpet?

Gray Carpet is crafted on a crafting table with 2 gray wools, which yields 3 Gray Carpet.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Decoration Blocks

Item ID: minecraft:torch
Item ID: minecraft:glowstone
Item ID: minecraft:lantern
Item ID: minecraft:ladder
Item ID: minecraft:flower_pot
Item ID: minecraft:painting