Fire

Fire is a non-solid 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(With flint and steel or a fire charge), a Ghast or a Blaze creates it, when lava burns a flammable block, or by naturally spreading. Fire can also be placed as a block in hacked/edited clients. 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. If you place a bed in The End or Nether and try to sleep it will explode and create fire. Fire can melt ice, and TNT will detonate if exposed to fire. Fire will burn leaves slightly faster than the other flammable objects, suggesting a code division between burning blocks. Some blocks are not flammable, but maybe appear to catch fire, even though it doesn't spread easily or burn away. These include wooden chests, Crafting table, and many others.

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 (or lava) 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.

If they die while they are on fire, cows, pigs, and chickens will drop cooked meat; cows drop steak(s), pigs drop cooked porkchop(s), and chickens 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 of a block fire is on will extinguish the fire on that side. 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.

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 using the  command, Single Player Commands (SPC), or an inventory editor. Chain armor is crafted the same way as any other armor, and has a little bit more durability than 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 fire contacts water, it hisses.
 * 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 texture packs with greater than 16x16 pixel tiles 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. This no longer works as of 12w17a.
 * 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, along with bedrock in the End.
 * On very slow computers, when one sets a fire on the side of a block, logs off, and then logs back into the world, for a brief moment, they will see "FIRE TEX HNST!" (Meaning 'Fire texture, honest!') instead of the fire animation.
 * Entities, such as mobs or items, that are on fire do not emit any light.
 * Most players choose not to make fireplaces in wooden houses, due to that the fact that fire can burn down wood quickly.
 * Since 12w06a hitting fire in creative doesn't remove the block under the fire.
 * The fire item is also used for an Undefined Item. This item can occur when a world with items of a mod is played without the mod. This item cannot be placed and will disappear when clicked on.
 * If obtained via hacking or commands, Fire makes "wooden" sounds when placed.

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