HTML generated using hilite.me
import sys import mcpi.minecraft as minecraft import mcpi.block as block mc = minecraft.Minecraft.create() mc.setBlocks(-128,0,-128,128,64,128,0) if(len(sys.argv) > 1): bid = int(sys.argv[1]) else: bid = block.SANDSTONE.id if bid 108: bid = block.SANDSTONE.id mc.setBlocks(-128,0,-128,128,-64,128,bid) |