Carpet
Local game data
Purple Carpet
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.
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. 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 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. Because mob AIs treats carpets as if they are air blocks, they used to be unable to walk over two or more layers of carpets. Nowadays, a mob will spin erratically upon walking onto a double carpet, and seemingly cancel their pathfinding attempt after a short while. Once targeting a new block or entity, they will either step off and resume their pathfinding normally, or walk onto another double-carpet block and spin again. Double-carpet barriers can thus be traversed one block at a time, by any mob, and no longer work. Similarly, endermen are unable to teleport onto double carpet layers. Carpets, similar to wool, dampen vibrations from sculk sensors. Placing or breaking a carpet does not create a vibration, nor does walking on one or throwing an item on one. They do not however prevent vibrations from other blocks from travelling through them.
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. For example, the green carpet has a creeper's face, while the purple carpet has the eyes of an enderman.
Enchanting
Carpets cannot be enchanted in Survival mode. However, Creative mode, just like any other item, it can be enchanted with any enchantment using an anvil. While most enchantments have no effect, Thorns, Feather Falling, Protection, Fire Protection, Projectile Protection, Blast Protection, Curse of Binding, and Curse of Vanishing apply their effects to the llama as expected.
Fuel
Carpet can be used as a fuel in furnaces, smelting 0.335 items per carpet item.