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 blocks are only generated naturally in The Nether. 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 hacked/edited clients.

As a crafting ingredient
Fire is used to craft chain armor, but since it is only possible to obtain fire in a player's inventory by using the  command, mods, or an inventory editor, chain armor is much easier to obtain through trading. Chain armor is crafted the same way as any other armor, and has slightly more durability than gold armor.

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. 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.

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 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 or lava source.

Mobs and players will catch fire themselves 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 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 of 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 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 as a result of 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. Cooked meat will only be dropped if the mob died by burning (not, for instance, by having half a heart left and walking into fire; in this case raw meat would be dropped as normal). However, if burned with lava, cows, pigs, and chicken will sometimes still drop raw meat. This occurs if the lava damage was what killed the mob rather than the fire damage. When a mob is in lava, the lava damage is applied first, and fire damage is only applied if the mob survives the lava 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 will also extinguish fire.

Eternal fire
Netherrack, a block found in the Nether, will burn forever when set on fire, unless put out by lava or water. 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 and the player him/herself, 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.

Trivia

 * 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 with the new wooden slabs, but the old wooden slabs can still be used and retain the fireproof feature. Cobblestone slabs can still be used to make surfaces which cannot be set on fire by Ghasts.
 * 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 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!"
 * Entities, such as mobs or items, that are on fire do not emit any light. 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.