Fire

Fire is a non-solid block which produces 15 units of light. It has animated faces on all four sides, and two more faces on the inside in an X shape. Fire makes a crackling sound that can be heard up to 15 blocks away. Fire blocks are only generated naturally in The Nether and in The End (on top of the bedrock that spawns on top of the pillars). The Player can create fire using a flint and steel or a fire charge. Ghasts and Blazes can also create fire, as can lava and lightning. Fire spreads naturally to other nearby flammable blocks, and it can be placed as a block in modded clients.

As a crafting ingredient
Fire is used to craft chain armor, but chain armor can only be legitimately obtained through trading or by killing zombies or skeletons that are wearing chain armor. It is also possible to obtain fire in a player's inventory by using the  command, mods, or an inventory editor. Chain armor is crafted the same way as any other armor, and has slightly more durability than gold armor. (It also has the same armour rating, except for the leggings, which are one point better)

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, wooden slabs, wood, leaves, vines, tall grass, 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 (except in Pocket Edition, though this will be fixed in 0.8.0). Fire will burn leaves slightly faster than the other flammable objects, suggesting the game has coding differences between some different types of flammable blocks. Many blocks do not burn away even though they may appear to catch fire. Two notable block types which do not burn away are wooden chests and crafting tables.

Mobs and players will catch fire when exposed to fire. 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. Additionally, if one is wearing diamond armor and has a full hunger bar, said person will lose health slower in the fire block itself than when on fire.

Fire can be used to damage or kill mobs without causing them to become hostile to the player. Items or blocks falling into fire will catch light and quickly disappear. This trick can be used to dispose of unwanted materials, but it can also destroy valuable drops before they can be retrieved. Lava can set off TNT, but it may take several minutes to do so, and this usually gives time to clear the lava away before the TNT is triggered.



If a cow, pig, or chicken dies while taking fire damage, it will drop the cooked version of its usual meat; cows drop cooked steak(s), pigs drop cooked porkchop(s), and chickens drop a cooked chicken. This can be exploited by the player to not need to cook the meat. With a flint and steel, or a fire-enchanted weapon, all meat yielded will be cooked, and then eat the food there and then for its full potential.

Spread
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 still lava) block can turn any air block that is adjacent to a flammable block into a fire block. This can happen at a distance of up to one block downwards, one block sideways (including diagonals), and four blocks upwards of the original fire source. Therefore if the player is using it as a fireplace, caution is needed.

Extinguishing
Fire will burn out after a while on its own, however the player may want to extinguish the fire as soon as possible to prevent damage. Punching or hitting the side of a burning block will extinguish the fire block 'attached' on that side. Hitting fire with a tool does not use up any uses for the tool. Placing water, sand, or gravel on the fire will also extinguish it. A player on fire can jump into water to extinguish themselves or use a bucket of water as a portable fire extinguisher by dumping the water at their feet to put out the fire instantly.

Eternal Fire
Netherrack, a block found in the Nether, will maintain fire forever when set on fire, unless put out by lava, water or the player. It can therefore be a useful trap or defense material around the player's shelter; though the player should be reminded that while this is quite effective at killing hostile mobs, it's also a potential danger to passive mobs, the player themselves, and any dropped items that fall in the fire will be lost.

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

Bedrock in the End will also burn eternally.

If gamerule doFireTick is false, fire will last forever until it is put out by the player or rain.

Trivia

 * Sometimes, in survival when you walk into a fire and then walk out very quickly you will not stay on 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 texture packs with greater than 16x16 pixel tiles have glitches; the area drawn on is not scaled to fit the larger texture (no longer the case in 1.5).
 * Though Wood 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 but only 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!" instead of the fire animation. Notch confirmed that this was purposeful, and "FIRE TEX HNST!" was translated to "Fire texture, honest!" (no longer the case in 1.5).
 * Entities, such as mobs or items, that are on fire do not emit any light (although they themselves appear fully illuminated). They also cannot set blocks around them on fire, even if they are flammable.
 * Most players choose not to make fireplaces in wooden houses, due to the fact that fire can burn down wood quickly.
 * 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 you sprint over fire, the sound will be as if you're walking on wood, also, if you obtain fire with commands, mods, or inventory editing and place it, the sound is also wooden placement.
 * A Minecraft forest fire is much less dangerous than a real-life one. Burning trees in Minecraft can only create the usual one-meter fire blocks, as opposed to the multi-hundred-foot flames, convection winds, radiant heat and thrown firebrands that a powerful real-life wildfire can create.
 * Passing through a Nether Portal while on fire will no longer show the fire, but you will technically still be on fire.
 * Flaming Zombies will set you on fire if they hit you.
 * Fire will be animated but not give off light when placed in an item frame.
 * If water is placed directly onto fire, the fire will be destroyed with fire particles and the accompanying "wood" sounds.

In Pocket Edition

 * In 0.7.0, when fire was readded, parts of the texture were sometimes black or white. This was fixed in 0.7.1.
 * Before 0.7.0, being on fire would put 2 transparent orange panels in front of the player's face.
 * TNT is not set alight by fire, but rather burns away like normal blocks.
 * Skeletons and zombies burning in the daylight are different from zombies and skeletons that walked through fire or took a dip in lava. Where the ones that touched fire/lava are covered in flames, the ones burning in daylight constantly take damage and emit smoke. This was fixed in 0.7.4, where Zombies and Skeletons catch fire on the sunlight.
 * Early on, there was a glitch where if lava touched a flammable block, textureless fire would spread around the whole map, burning through everything. This was removed in 0.3.3, and had it's bugs fixed, and was reimplemented in 0.7.0.
 * When Fire was removed, it was replaced with a stone-type block called .name. This was changed back into fire when it was reimplemented.
 * Before 0.3.3, Fire would appear blank, and was only created by lava.