# icehouse1.py Building an ice house
from mcpi.minecraft import Minecraft
from mcpi import block
mc = Minecraft.create()
p = mc.player.getTilePos()
mc.setBlocks(p.x + 1, p.y, p.z + 1,
             p.x + 10, p.y + 5, p.z + 10, block.ICE)
mc.setBlocks(p.x + 2, p.y + 1, p.z + 2, 
             p.x + 9, p.y + 4, p.z + 9, block.AIR)
