Minecraft wiki entry for Fire, associated text: When lit, netherrack and magma blocks maintain fire forever, unless extinguished by any method except rain. Bedrock in the End also burns eternally. Soul fire burns eternally anywhere. Eternal fire cannot exist on the sides of these blocks.