本文整理汇总了Python中mclevelbase.exhaust函数的典型用法代码示例。如果您正苦于以下问题:Python exhaust函数的具体用法?Python exhaust怎么用?Python exhaust使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了exhaust函数的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: copyBlocksFrom
def copyBlocksFrom(
destLevel,
sourceLevel,
sourceBox,
destinationPoint,
blocksToCopy=None,
entities=True,
create=False,
biomes=False,
tileTicks=True,
staticCommands=False,
moveSpawnerPos=False,
first=False,
cancelCommandBlockOffset=False,
):
return exhaust(
copyBlocksFromIter(
destLevel,
sourceLevel,
sourceBox,
destinationPoint,
blocksToCopy,
entities,
create,
biomes,
tileTicks,
staticCommands,
moveSpawnerPos,
first,
cancelCommandBlockOffset,
)
)
示例2: extractAnySchematic
def extractAnySchematic(level, box):
return exhaust(level.extractAnySchematicIter(box))
示例3: extractZipSchematicFrom
def extractZipSchematicFrom(sourceLevel, box, zipfilename=None, entities=True):
return exhaust(extractZipSchematicFromIter(sourceLevel, box, zipfilename, entities))
示例4: extractSchematicFrom
def extractSchematicFrom(sourceLevel, box, entities=True):
return exhaust(extractSchematicFromIter(sourceLevel, box, entities))
示例5: fillBlocks
def fillBlocks(level, box, blockInfo, blocksToReplace=(), noData=False):
return exhaust(level.fillBlocksIter(box, blockInfo, blocksToReplace, noData=noData))
示例6: generateChunksInLevel
def generateChunksInLevel(self, level, chunks):
return exhaust(self.generateChunksInLevelIter(level, chunks))
示例7: createLevel
def createLevel(self, level, box, simulate=False, **kw):
return exhaust(self.createLevelIter(level, box, simulate, **kw))
示例8: generateAtPosition
def generateAtPosition(self, tempWorld, tempDir, cx, cz):
return exhaust(self.generateAtPositionIter(tempWorld, tempDir, cx, cz))
示例9: extractSchematicFrom
def extractSchematicFrom(sourceLevel, box, entities=True, cancelCommandBlockOffset=False):
return exhaust(extractSchematicFromIter(sourceLevel, box, entities, cancelCommandBlockOffset))
示例10: copyBlocksFrom
def copyBlocksFrom(destLevel, sourceLevel, sourceBox, destinationPoint, blocksToCopy=None, entities=True, create=False, biomes=False):
return exhaust(copyBlocksFromIter(destLevel, sourceLevel, sourceBox, destinationPoint, blocksToCopy, entities, create, biomes))
示例11: fillBlocks
def fillBlocks(level, box, blockInfo, blocksToReplace=()):
return exhaust(level.fillBlocksIter(box, blockInfo, blocksToReplace))
示例12: copyBlocksFrom
def copyBlocksFrom(self, sourceLevel, sourceBox, destinationPoint, blocksToCopy=None, entities=True, create=False):
return exhaust(self.copyBlocksFromIter(sourceLevel, sourceBox, destinationPoint, blocksToCopy, entities, create))
示例13: copyBlocksFromInfinite
def copyBlocksFromInfinite(self, sourceLevel, sourceBox, destinationPoint, blocksToCopy):
return exhaust(self.copyBlocksFromInfinite(sourceLevel, sourceBox, destinationPoint, blocksToCopy))