Fire

Fire is a block. It has an animated face on all four sides, and two faces on the inside at slants. Fire is never created naturally when chunks generate, except in the Nether. It will be created if a player or a Ghast creates it, when lava burns a flammable object, if lightning strikes a flammable block or by using the flint and steel tool. Fire produces 15 units of light.

Behavior
Fire is not available for use in Classic mode. Flint and steel is one method used to place fire in the environment. When placed, fire will burn for a short, and randomly determined amount of time. If nothing flammable is adjacent to it, the flames will not spread, and will die out. Wooden planks, wood, leaves, vines, wool, fences, wooden stairs, and bookshelves are all flammable. Fire can melt ice, and TNT will detonate if exposed to fire. Fire burns leaves slightly faster than the other flammable objects.

Fire will spread over flammable surfaces, slowly causing all the blocks it can reach to burn away. Fire can climb up walls, across floors and ceilings, and over small gaps. More precisely, a fire block can turn any air block into fire that is adjacent to a flammable block and up to one block downwards, one block sideways (including diagonals), and four blocks upwards.

As one would expect, any mobs or players will be lit on fire if exposed to it. Fire will obstruct the player's view slightly and they will slowly lose life at a rate of ½ heart per second. This is the same rate that the player gains health in peaceful mode, so fire alone will not kill you in this mode. Fire will burn out after a while, but it is a good idea to try to jump into any nearby water as soon as possible. A bucket filled with water can function as a portable fire extinguisher as a player who is on fire can dump the water at their feet to put out the fire instantly.



Fire can be used as an attack against mobs. Igniting dropped items or blocks on fire will cause them to burn away. This trick can be used to dispose of materials quickly. Anything that touches lava or fire, whether it is a mob or a dropped object, will be lit on fire. Although lava can set off TNT, it takes several minutes and is easily fixable if the lava can be reached and cleared.

Cows, pigs, and chickens will drop, if they die while they are on fire, cooked meat: cows will drop steak(s), pigs will drop cooked porkchop(s), and chickens will drop cooked chicken(s) respectively. However, while attempting to burn them with lava, they will sometimes drop raw meat if the damage tick from the lava was the decisive one to the animal's life. This is because the burning attribute for lava only comes after the damage which the lava block deals upon contact, so the animal will die from normal damage without being burnt.

Punching or hitting the side the fire is on will extinguish the fire on the side that was hit. Hitting fire with a tool does not use up any uses for the tool. Placing water, sand, and gravel will also extinguish fire.

Eternal Fire
Netherrack, a block found in the Nether, will burn forever when lit on fire. It can therefore be a useful trap or defense material around the player's shelter; though the player should be reminded that everything will burn in fire, including dropped items that fall in fire.

Lit netherrack can also be used as an alternative to torches. If the player is running low on coal, they can use netherrack and flint and steel instead. This is brighter than a torch, and can be quickly extinguished. Note that rain won't put out netherrack fire.

Due to a bug, the fire may sometimes not emit any light.

Chain Armor
It is possible to craft chain armor out of fire blocks. It is only possible to get actual fire blocks in a player's inventory by means of using the  command or by an inventory editor. Chain armor is crafted the same way as any other armor, and has the same durability as armor made from gold ingots.

History
When introduced in Indev, fire could be directly placed, before flint and steel was added. Before furnaces were added, fire was used to smelt objects.

Since Alpha version 1.2.6, forest fires may start spontaneously if an above-ground lava pool is generated amongst trees during a biome's creation. This is a rare side-effect of starting a new world or exploring.

From Alpha to Beta 1.2_02, a non-netherrack flammable block, like wood, may burn continuously when its sides are surrounded by nonflammable blocks, like stone or dirt (the bottom is not necessary, though it is best not to have anything explicitly flammable underneath). A fire will only stay burning at the top of a flammable block, not on the sides or the bottom. Once the fire is burning, and has continued to do so for ten seconds or more without consuming the block beneath, one may remove all the adjacent blocks, and it will keep burning forever. If the block burns away, simply replace and reignite it, until it works. Alternatively, they can punch out any adjacent fires that appear instead of surrounding the block. Eternally burning blocks were fixed in Beta 1.3.

It was also possible to make larger blocks of endless fire by putting flammable blocks diagonally adjacent to a block that is burning continuously. Since the already-burning block counts as nonflammable, it is already on fire, and the adjacent blocks may also burn continuously. By igniting multiple blocks this way, one could make a grid of diagonally-adjacent burning blocks.

Notch has stated that he has disabled the infinite spreading of fire, which was in the 1.6 update. Notch's Twitter

Trivia

 * When smoke hits water, it hisses, just as when water hits a fire.
 * It is possible for lightning to light a surface on fire during thunderstorms, but it will almost immediately be put out by rain. In rare cases in SMP, fire may not get extinguished.
 * The texture for fire is not obtained from terrain.png; instead, the fire animation is calculated by code and drawn into the "FIRE TEX" area of the in-memory copy of terrain.png. Water, lava, and portal textures work similarly. This is why 16×16 texture packs have glitches; the area drawn on is not scaled to fit the larger texture.
 * While wooden planks are flammable, wooden slabs and double wooden slabs are not. These can be used to make fireproof wooden buildings, especially in the Nether.
 * Though wooden planks and logs are flammable, they burn up very quickly, making them nearly useless when making a fireplace, bonfire, etc. The only block that burns forever is netherrack.
 * On very laggy computers, when one sets a fire on the side of a block, logs off, and then logs back into the world, in a very laggy moment, they will see "FIRE TEX HINT!" instead of the fire animation.
 * Entities, such as mobs or items, that are on fire do not emit any light.

Feuer Fire/es Feu 불 Ogień Огонь