Campfire

A campfire is a block that emits light which can be used to cook food or act as a 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. Destroying a campfire returns 2 charcoal, 1 total more than the 1 used (coal/charcoal) in crafting it.(and 2 total less than converting its logs to charcoal directly).

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.

Usage


Campfires are lit by default when placed. Campfires can be manually lit by or dispensing flint and steel on it. A campfire will become unlit by waterlogging it, however water will not naturally flow into campfires, similar to slabs.

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 will not pass through solid blocks, stopping when they hit the bottom of a solid block and forming a thick cloud.

Damage
Campfires damage living entities standing on top of them even if underwater (with exceptions such as shulkers or guardians), whether lit or unlit, dealing of damage every tick (although damage immunity reduces this to once every half-second). Unusually though, being related to fires, campfires do not deal real fire damage like normal fires, nor destroy items. Though; damage taken is considered fire damage and is reduced by armor, shields, the Resistance potion effects, and the Protection and Fire Protection enchantments. Armor will take damage, but a shield will not. The player can avoid being damaged at all, either by, using a potion of fire resistance, or by wearing Frost Walker boots, similar to magma blocks. Blocks that are the height of a trapdoor or lower (such as carpets) will not prevent a campfire from damaging mobs and players above it.

Cooking
The player can place raw food (raw beef, raw chicken, raw rabbit, raw porkchop, raw mutton, raw cod, and raw salmon) on a lit campfire by the food item on it. Up to four food items can be placed on a single campfire. Food items take 30 seconds (600 ticks) to cook, compared to 10 seconds for furnaces, and will pop off the campfire when cooked. Unlike other blocks that can cook food, campfires do not require any kind of fuel and will cook food indefinitely, as long as it remains lit. Food items cannot be placed on an unlit campfire.

Light source
Lit campfires emit a light level of 9.

Block entity
A campfire has a block entity associated with it that holds additional data about the block. The campfire's block entity ID is.

Issues
Lagerfeuer 캠프파이어 Костёр 营火