Carpet

Carpets are thin variants of wool that can be dyed in any of the 16 colors.
== Obtaining ==
=== Breaking ===
Carpets can be mined using any tool, or without a tool. Unlike wool, carpets are not destroyed quicker when using shears.
=== Natural generation ===
;Igloo
White and light gray carpet can be found in igloos. If its basement generates (50% chance), red carpet can also be found.
;Mansion
All carpet colors except orange and light blue generate within woodland mansions.
;Village
Yellow, white, and green carpets generate in plains villages.
Lime, white, and green carpets generate in desert villages.
Blue and red carpets generate in snowy tundra villages.
Orange, white, and red carpets generate in savanna villages.
Purple, white, and red carpets generate in taiga villages.
;Ancient city
Gray, blue, light blue, and cyan carpets generate in ancient cities.
=== Crafting ===
=== Trading ===
Apprentice-level shepherd villagers have a (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.
== Usage ==
Carpet has the same visual thickness as a pressure plate. It has a hitbox of of a block and covers the entire surface of the block it is placed on. This thickness prevents mob spawning.
Carpet can be placed on any block, including non-solid blocks, except air and item frame. 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 a light-emitting block in the floor, illuminating a room and hiding the light source at the same time.
Carpets can be placed on top of fences and walls to allow the player to jump on top of them while still preventing animals and mobs from crossing. This is because mobs do not try to jump over fences and walls, even with a carpet above. 
, 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. , a carpet over a campfire removes the campfire's pacifying effect on bees.
If a carpet is placed so that it lays on top of a hopper, the hopper can still collect items through the carpet. This is because hoppers can collect items from less than a full block above in Java Edition, or less than of a block above in Bedrock Edition.
Carpets can also be placed over other carpets. Mobs are unable to walk over two or more layers of carpets, because the mob's AI treats carpets as if they are air blocks. If a mob stands on a double carpet layer, it stays perfectly still. Similarly, endermen are unable to teleport onto double carpet layers.
Carpets, similar to wool, dampens vibrations from sculk sensors. These include placing, breaking, and entities walking/jumping on. However, unlike wool, carpets dampen only horizontal vibration paths.
=== Decorating llamas ===
Llamas can be equipped with carpets in their carpet slot (). Each carpet color shows as a different patterned rug on the llama's back.
=== Fuel ===
Carpet can be used as a fuel in furnaces, smelting 0.335 items per carpet item.
=== 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.
== Sounds ==
=== Generic ===
=== Unique ===
:
:
== Data values ==
=== ID ===
:
:
== History ==
== Issues ==
== 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.
*Double-layered carpet stops mobs from path finding.
== Gallery ==
White Carpet.png|Carpet
Light Gray Carpet.png|Light Gray Carpet
Gray Carpet.png|Gray Carpet
Black Carpet.png|Black Carpet
Brown Carpet.png|Brown Carpet
Red Carpet.png|Red Carpet
Orange Carpet.png|Orange Carpet
Yellow Carpet.png|Yellow Carpet
Lime Carpet.png|Lime Caption
Green Carpet.png|Green Carpet
Cyan Carpet.png|Cyan Carpet
Light Blue Carpet.png|Light Blue Carpet
Blue Carpet.png|Blue Carpet
Purple Carpet.png|Purple Carpet
Magenta Carpet.png|Magenta Carpet
Pink Carpet.png|Pink Carpet
=== Screenshots ===
File:Carpeted-floor-without-torch.png|Carpeted floor. There are some jack o'lanterns below them, so this area is well lit without torches.
File:13w25a banner.png|Red carpet seen in the 13w25a banner.
File:Igloo carpets.png|Carpets found in igloo structure. Each igloo contains 9 white carpets and 3 light gray carpets.
File:Creeper carpet.png|Green and black carpets that look like a creeper.
==References==
Category:Manufactured blocks
Category:Generated structure blocks
Category:Non-solid blocks
Category:Flammable blocks
de:Teppich
es:Alfombra
fr:Tapis
it:Tappeto
ja:カーペット
ko:양탄자
nl:Tapijt
pl:Dywan
pt:Tapete
ru:Ковёр
th:พรม
uk:Килим
zh:地毯