Minimum safe spacing between lava and flamable materials?

The wiki is a bit vague in describing where can fire be started from a lava block. The behavior is similar to fire spread, but it is not identical.

When you deal with fire mechanics there are three basic things that can help you understand it:

  1. Fire is a block! Although visually it looks like some block is burning, the fire is an independent block that is adjacent to the "burning" block. Try setting a wooden wall on fire and see how you can take damage as soon as you touch the adjacent to wall blocks, while visually you are still almost one block away from the fire.
  2. Fire blocks can only exist adjacent to flammable blocks.
  3. Fire needs air block to be able to spread with one exception: if a flammable block is adjacent to fire, it can burn out - in this case fire can take the place of the burned out block.

Having said that, fire can spread in a 3x3 column from 1 block below to 4 blocks above it. Fire can jump over gaps and blocks, so you cannot contain it by covering it. Any of the glass blocks here could be turned into fire block, if it was an air block and there were an adjacent flammable block:

Fire spread illustration

Fire can also be born from lava. Fire is always created above the lava position. Fire can be created in a 5x5x2 shape above it (see the example - fire can be created at any of the glass blocks, if it was an air block and there were an adjacent flammable block). To prevent lava from creating fire, cover it fully (3x3) with blocks that have a collision mask.

Lava spread illustration Lava spread illustration

Once a fire is created it behaves like a normal fire and can spread further according to fire spread rules.

In conclusion, this will never burn:

enter image description here

But if you place any flammable block inside this structure, it will catch fire eventually.


Ok, so i did some test manually, seeing as though I could not find the answer to this on the Wiki. Let the redstone blocks represent where the fire can spread: enter image description here

So basically between these redstone blocks is the Iron. Underneath the iron is LAVA. It spreads adjacent to the blocks. On a 2D View:

b = Fire
L = Lava
I = iron
 B 
BIB
ILI
III

It would also seem that Airspace is quite useless when it comes to protecting blocks. Also, flowing lava is exactly the same as source lava when it comes to producing fires.