Minecraft wiki entry for Campfire, associated text: Regardless of height, all blocks prevent damage done to mobs or players above campfires. The campfire deals damage only to entities occupying its block.