After learning to code our first block in minecraft we now use Python to build large structures like a bridge! We will learn about using coordinates using your minecraft players position!
#BLOCK BRIDGE import mcpi.minecraft as minecraft import mcpi.block as block mc = minecraft.Minecraft.create() playerPos = mc.player.getPos() mc.setBlocks(playerPos.x,playerPos.y-1, playerPos.z-1, playerPos.x+4,playerPos.y-1, playerPos.z-7, block.GOLD_BLOCK)