Campfire

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

A soul campfire is a variant of the campfire with turquoise flames.

Breaking
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 can be broken by pistons. When broken, a campfire drops any items that had been placed on it.

Campfires can be reclaimed by mining them using a tool enchanted with Silk Touch.

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
Lit campfires emit a light level of 15 and lit soul campfires emit a light level of 10.

Campfires are lit by default when placed. Campfires can be manually lit by or dispensing flint and steel on them, shooting it with a flaming arrow, or using or dispensing fire charges, blaze fireballs, and ghast fireballs when  is true. $$, campfires can also be lit by an item enchanted with fire aspect, or stepping on it while burning.

Campfires can be unlit by waterlogging it (placing water in the same block space), throwing a splash water bottle on it, or a shovel on it. As with torches, rain does not extinguish campfires.

Any items cooking on a campfire always drop when the campfire block is broken.

Particles and smoke signals
Campfires produce smoke particles that float up around 10 blocks before disappearing. If a hay bale is placed below, the campfire becomes a signal fire and the smoke floats up 24 blocks instead.

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

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

Campfires emit extra smoke particles during rain, similar to lava.

Campfires also emit occasional ember particles, similarly to lava. Soul campfires do not emit embers due to the fact that they are blue.

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

Regardless of height, all blocks prevent damage done to mobs or players above campfires. The campfire deals damage only to entities occupying its block.

Cooking
The player can place raw food on a lit campfire by the food item on it. It was added in 1.14. Up to four food items can be placed on a single campfire, which cooks the items 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 pop off the campfire. If the campfire is extinguished while cooking food, it resets as if it had not been cooked at all. Unlike other blocks that can cook food, campfires do not require any kind of fuel. Food items can be placed on an unlit campfire. Campfires do not have an external inventory.

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

Piglins
Soul campfires repel Piglins that are not currently attacking.

Light source
Lit campfires emit a light level of 15. Like most other sources of light, campfires melt nearby snow and ice.

Converting soul sand to soul soil
Soul campfires can be used to convert soul sand into soul soil. If a soul campfire is crafted using soul sand, placed, and then broken without Silk Touch, that soul campfire drops soul soil.

ID




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

Trivia

 * If the campfire is waterlogged, already lit, or something flammable is adjacent to the nearby air block, using the flint and steel on the side of the campfire sets the adjacent air block on fire instead.