Campfire

A campfire is a block that can be used to cook food or act as a light source or smoke signal.

Obtaining
Campfires can be broken with any tool, or without a tool, but axes are the fastest. $$, they cannot be moved or destroyed by pistons, whether lit or unlit. $$, campfires will be broken by pistons.

Campfires can only be reclaimed by mining them using a tool enchanted with Silk Touch. If items are placed on the campfire, the items will always be dropped when it is broken.

Natural generation
Campfires can generate in and  villages.

Trading
Apprentice-level Fisherman villagers have a 50% chance of selling a campfire for 5 emeralds.

Apprentice-level Fisherman villagers have a $2/3$ chance of selling a campfire for 2 emeralds.

Usage
Campfires are lit by default when placed. Campfires can be manually lit by or dispensing flint and steel on them, or shooting it with a flaming arrow. $$, campfires can also be lit by an item enchanted with fire aspect, or stepping on it while burning. A campfire will become unlit by waterlogging it (placing water in the same block space), or throwing a splash water bottle on it. $$, they can also be put out by a shovel on it. Campfires will not be extinguished by rain, similar to netherrack. Since dispensers with water buckets and flint and steel can extinguish and light campfires, respectively, they can be used in redstone creations as memory cells.

Smoke signals
Campfires produce smoke particles that float up around 10 blocks before disappearing. If a hay bale is placed below, the campfire will be a signal fire and the smoke will float up for around 25 blocks instead.

Campfire smoke particles can partially pass through 1.5 blocks above it, the amount of passing particles decreases as the height of the top block increases. When the top block is 1.5 blocks higher than the campfire, its particles are completely blocked.

Campfires that existed prior to Bedrock Edition 1.11.0 (updating world from 1.10.0) will not produce smoke particles.

Although a trap door is thinner than a slab, a trap door can block the smoke particle completely, prevent the particle from floating up.

Damage
Campfires damage mobs standing on top of them even if underwater (with exceptions such as shulkers or guardians), but only if lit, dealing of damage every tick (although damage immunity reduces this to once every half-second). Unlike regular fire, campfires will not cause lasting burning nor destroy items. Damage taken is considered fire damage and is reduced by armor (which will lose durability), the Resistance potion effects, and the Protection and Fire Protection enchantments. The player can avoid being damaged at all by using a potion of fire resistance or wearing Frost Walker boots.

Regardless of height, all blocks will prevent damage done to mobs or players above campfires. Only occupying the block the campfire is in will cause damage.

Cooking
The player can place raw food on a lit campfire by the food item on it. Up to four food items can be placed on a single campfire, which will cook simultaneously. On a campfire, foods produce small smoke particles, indicating they are being cooked. Food items take 30 seconds (600 ticks) to cook, compared to 10 seconds for furnaces or 5 seconds for smokers. Assuming that one uses all four slots to cook at once, the Campfire is therefore more efficient than furnaces (taking 10 seconds less per four items and no fuel) for cooking, but must be watched so as to pick up the food and refill it once it is done. It is slower than a Smoker by about ten seconds, but its lack of fuel consumption could be seen as a worthwhile trade-off. Once finished cooking, items will pop off the campfire. Unlike other blocks that can cook food, campfires do not require any kind of fuel. However, food items cannot be placed on an unlit campfire. Campfires do not have an external inventory.

Bees
Placing a campfire under a bee hive or bee nest allows players to harvest honey bottles or honeycomb without aggravating the bees.

Light source
Lit campfires emit a light level of 15. Like most other sources of light, campfires will melt snow up to three blocks around the fire.

Block entity
A campfire has a block entity associated with it that holds additional data about the block.

Trivia

 * In many cases, using the flint and steel on the side of the campfire sets the adjacent air block on fire instead.

Gallery
Lagerfeuer Feu de camp Campfire 캠프파이어 Ognisko Костёр Campfire 营火