mce module¶
- 
class 
mce.mce[source]¶ Bases:
object- Block commands:
 {commandPrefix}clone <sourceBox> <destPoint> [noair] [nowater] {commandPrefix}fill <blockType> [ <box> ] {commandPrefix}replace <blockType> [with] <newBlockType> [ <box> ]
{commandPrefix}export <filename> <sourceBox> {commandPrefix}import <filename> <destPoint> [noair] [nowater]
{commandPrefix}createChest <point> <item> [ <count> ] {commandPrefix}analyze
- Player commands:
 - {commandPrefix}player [ <player> [ <point> ] ] {commandPrefix}spawn [ <point> ]
 - Entity commands:
 - {commandPrefix}removeEntities [ <EntityID> ] {commandPrefix}dumpSigns [ <filename> ] {commandPrefix}dumpChests [ <filename> ]
 - Chunk commands:
 - {commandPrefix}createChunks <box> {commandPrefix}deleteChunks <box> {commandPrefix}prune <box> {commandPrefix}relight [ <box> ]
 - World commands:
 - {commandPrefix}create <filename> {commandPrefix}dimension [ <dim> ] {commandPrefix}degrief {commandPrefix}time [ <time> ] {commandPrefix}worldsize {commandPrefix}heightmap <filename> {commandPrefix}randomseed [ <seed> ] {commandPrefix}gametype [ <player> [ <gametype> ] ]
 - Editor commands:
 - {commandPrefix}save {commandPrefix}reload {commandPrefix}load <filename> | <world number> {commandPrefix}execute <filename> {commandPrefix}quit
 - Informational:
 - {commandPrefix}blocks [ <block name> | <block ID> ] {commandPrefix}help [ <command> ]
 - IMPORTANT
 {commandPrefix}box
Type ‘box’ to learn how to specify points and areas.
- 
batchMode= False¶ 
- 
commandUsage(command)[source]¶ returns usage info for the named command - just give the docstring for the handler func
- 
commands= ['clone', 'fill', 'replace', 'export', 'execute', 'import', 'createchest', 'player', 'spawn', 'removeentities', 'dumpsigns', 'dumpchests', 'createchunks', 'deletechunks', 'prune', 'relight', 'create', 'degrief', 'time', 'worldsize', 'heightmap', 'randomseed', 'gametype', 'save', 'load', 'reload', 'dimension', 'repair', 'quit', 'exit', 'help', 'blocks', 'analyze', 'region', 'debug', 'log', 'box']¶ 
- 
debug= False¶ 
- 
last_played= None¶ 
- 
level= None¶ 
- 
needsSave= False¶ 
- 
random_seed= None¶