Lesson 7: Crossing Lava

Code a huge bridge!


In this video we create an epic bridge to get to the other side of the golem temple. We will use the mc.setBlocks() python code to create a huge bridge.


#BUILD BRIGE
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-14, block.GOLD_BLOCK)