Carpet

Carpets are thin blocks which are mainly used for decoration.

Natural generation
White and light gray carpet can be found in igloos. If its basement generates (50% chance), red carpet can also be found.

All carpet colors except orange generate within woodland mansions.

Yellow, orange, white, red, blue, purple, lime, and green carpets generate in villages.

From block loot
Carpets can be mined using any tool, or without a tool. Unlike wool, carpets are not destroyed quicker when using shears.

From trading
Apprentice-level shepherd villagers have a $1/32$ (3.125%) chance to sell one of 16 types of carpets as part of their trades. They sell 4 carpets of the same color for an emerald.

Info
Carpet has the same thickness as a pressure plate. It has a hitbox of $1/16$ of a block and covers the entire surface of the block it is placed on, unlike pressure plates. This thickness prevents mob spawning.

Carpet can be placed on any block, including non-solid blocks, except paintings and item frames. When placed on grass or fern, they break and the carpet is placed on the block below. When placed on vines, the topmost block of vines breaks and the carpet is placed on the block below, any vines blocks below the first one don't break. It can even be placed over water blocks, but to do so you must target an adjacent block with a visible hitbox.

Carpet can be pushed and pulled by pistons but pops off if pushed onto a hole or pulled downward. It can also break falling sand and gravel.

Carpet is an opaque block but does not decrease light going through it. Because of this and the fact that it can be placed on any block, a common decorative strategy is to place carpet on glowstone, illuminating a room and hiding the light source at the same time.

Carpets can be used to give llamas a distinct saddle pattern.

Carpets can be placed on top of fences to allow the player to jump on top of them.

In Java Edition, if a campfire is placed beneath a beehive to pacify bees, the campfire can be placed below ground and a carpet placed over the campfire to protect bees from the fire.

If a carpet is placed so that it lays on top of a hopper, items still fall through the carpet into the hopper, but experience orbs do not enter the hopper.

Breaking
Carpets can be mined using any tool, or without a tool. Unlike wool, carpets are not destroyed quicker when using shears.

Fuel
Carpet can be used as a fuel in furnaces, smelting 0.335 items per carpet square.

Breaking tall grass and vines
When placed on the top half of tall grass or large fern, they break and the carpet drops as an item.

ID




Block data
$$, carpet uses the following data values:

Trivia

 * If the player sprints across a carpet, the particle effects are those of the blocks that are directly below it.
 * Carpets do not prevent the formation of ice.
 * Carpets can safely be placed on top of farmland, although it does not protect the farmland from jumping entities.