Minecraft wiki entry for Fire, associated text: Non-flammable blocks can be lit but do not burn away, and such fire does not spread. Non-flammable blocks other than netherrack or magma blocks extinguish themselves after a few seconds. In the End, bedrock also does not extinguish itself.