import mcpi.minecraft as minecraft mc = minecraft.Minecraft.create() x, y, z = mc.player.getPos() for i in range(10): mc.setBlock(x+i, y+i, z+1, 1)
import mcpi.minecraft as minecraft mc = minecraft.Minecraft.create() x, y, z = mc.player.getPos() for i in range(10): mc.setBlocks(x+i, y, z+1, x+i, y+i, z+1, 1)