Here we will code a program that will create fire that follows the player and clears the jungle path.
# BURN DOWN JUNGLE import mcpi.minecraft as minecraft import mcpi.block as block mc = minecraft.Minecraft.create() while(True): playerPos = mc.player.getPos() standBlock = mc.getBlock(playerPos.x,playerPos.y-1,playerPos.z) mc.setBlock(playerPos.x,playerPos.y,playerPos.z-3,block.FIRE) if standBlock == 57: break