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 white carpet in Minecraft is shown below:
When Minecraft updated to version 1.13, a changed dubbed "The Flattening" was introduced. In "The Flattening", numerical IDs and item data was removed, and some item IDs were changed to make them more logical - White Carpet was one of the many items that had their IDs changed.
For this reason, if you're playing on a Minecraft version below 1.13 (1.12, 1.8, 1.7), you should use what we've named a legacy ID for this item. The legacy ID for white carpet is:
White Carpet has a data value of 0. You will need to add this to commands, along with its legacy item ID (below), to spawn it.
Items from earlier versions of Minecraft were assigned a numerical ID - a unique number to represent it.
The numerical ID for White Carpet is:
The White Carpet item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.
White carpet is a decorative block in Minecraft. It can be crafted using two wool blocks, and can be coloured using dyes. There are a few obscure uses for carpets, such as being a thin block, having an invisible hit box and being a transparent block that doesn't decrease light travelling through it.
|Legacy Item ID (1.12.2 and Below)||minecraft:carpet|
|Max Stack Size||64|
|Recipes Used In||Orange Carpet, Magenta Carpet, Light Blue Carpet, Yellow Carpet, Lime Carpet, Pink Carpet, Gray Carpet, Light Gray Carpet, Cyan Carpet, Purple Carpet, Blue Carpet, Brown Carpet, Green Carpet, Red Carpet, Black Carpet|
|Min / Max State IDs||6824 - 6824|
| ||3x White Carpet|