#!/usr/bin/env python import mclevelbase import mclevel import materials import infiniteworld import sys import os from box import BoundingBox, Vector import numpy from numpy import zeros, bincount import logging import itertools import traceback import shlex import operator import codecs from math import floor try: import readline # if available, used by raw_input() except: pass class UsageError(RuntimeError): pass class BlockMatchError(RuntimeError): pass class PlayerNotFound(RuntimeError): pass class mce(object): """ Block commands: {commandPrefix}clone [noair] [nowater] {commandPrefix}fill [ ] {commandPrefix}replace [with] [ ] {commandPrefix}export {commandPrefix}import [noair] [nowater] {commandPrefix}createChest [ ] {commandPrefix}analyze Player commands: {commandPrefix}player [ [ ] ] {commandPrefix}spawn [ ] Entity commands: {commandPrefix}removeEntities [ ] {commandPrefix}dumpSigns [ ] {commandPrefix}dumpChests [ ] Chunk commands: {commandPrefix}createChunks {commandPrefix}deleteChunks {commandPrefix}prune {commandPrefix}relight [ ] World commands: {commandPrefix}create {commandPrefix}dimension [ ] {commandPrefix}degrief {commandPrefix}time [