Attack Blacksmoke James, and when he attacks, block. When he hides in the smoke, pick up a barrel on one side and on your way to the other look for bullets or bombs coming out of the smoke. This is where he will be. Then, throw the powder kegs at that location and pick up the one on the side you are going to. Repeat this until he is defeated.