当前位置: 首页>>代码示例>>Python>>正文


Python mclevelbase.exhaust函数代码示例

本文整理汇总了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,
        )
    )
开发者ID:Khroki,项目名称:MCEdit-Unified,代码行数:32,代码来源:block_copy.py

示例2: extractAnySchematic

def extractAnySchematic(level, box):
    return exhaust(level.extractAnySchematicIter(box))
开发者ID:Aiybe,项目名称:MCEdit-Unified,代码行数:2,代码来源:schematic.py

示例3: extractZipSchematicFrom

def extractZipSchematicFrom(sourceLevel, box, zipfilename=None, entities=True):
    return exhaust(extractZipSchematicFromIter(sourceLevel, box, zipfilename, entities))
开发者ID:Aiybe,项目名称:MCEdit-Unified,代码行数:2,代码来源:schematic.py

示例4: extractSchematicFrom

def extractSchematicFrom(sourceLevel, box, entities=True):
    return exhaust(extractSchematicFromIter(sourceLevel, box, entities))
开发者ID:Aiybe,项目名称:MCEdit-Unified,代码行数:2,代码来源:schematic.py

示例5: fillBlocks

def fillBlocks(level, box, blockInfo, blocksToReplace=(), noData=False):
    return exhaust(level.fillBlocksIter(box, blockInfo, blocksToReplace, noData=noData))
开发者ID:Iciciliser,项目名称:MCEdit-Unified,代码行数:2,代码来源:block_fill.py

示例6: generateChunksInLevel

 def generateChunksInLevel(self, level, chunks):
     return exhaust(self.generateChunksInLevelIter(level, chunks))
开发者ID:LaChal,项目名称:MCEdit-Unified,代码行数:2,代码来源:minecraft_server.py

示例7: createLevel

 def createLevel(self, level, box, simulate=False, **kw):
     return exhaust(self.createLevelIter(level, box, simulate, **kw))
开发者ID:LaChal,项目名称:MCEdit-Unified,代码行数:2,代码来源:minecraft_server.py

示例8: generateAtPosition

 def generateAtPosition(self, tempWorld, tempDir, cx, cz):
     return exhaust(self.generateAtPositionIter(tempWorld, tempDir, cx, cz))
开发者ID:LaChal,项目名称:MCEdit-Unified,代码行数:2,代码来源:minecraft_server.py

示例9: extractSchematicFrom

def extractSchematicFrom(sourceLevel, box, entities=True, cancelCommandBlockOffset=False):
    return exhaust(extractSchematicFromIter(sourceLevel, box, entities, cancelCommandBlockOffset))
开发者ID:TropicSapling,项目名称:MCEdit-Unified,代码行数:2,代码来源:schematic.py

示例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))
开发者ID:0x3bfc9a1,项目名称:pymclevel,代码行数:2,代码来源:block_copy.py

示例11: fillBlocks

def fillBlocks(level, box, blockInfo, blocksToReplace=()):
    return exhaust(level.fillBlocksIter(box, blockInfo, blocksToReplace))
开发者ID:Alexhb61,项目名称:MCEdit-Unified,代码行数:2,代码来源:block_fill.py

示例12: copyBlocksFrom

 def copyBlocksFrom(self, sourceLevel, sourceBox, destinationPoint, blocksToCopy=None, entities=True, create=False):
     return exhaust(self.copyBlocksFromIter(sourceLevel, sourceBox, destinationPoint, blocksToCopy, entities, create))
开发者ID:dupontct,项目名称:pymclevel,代码行数:2,代码来源:level.py

示例13: copyBlocksFromInfinite

 def copyBlocksFromInfinite(self, sourceLevel, sourceBox, destinationPoint, blocksToCopy):
     return exhaust(self.copyBlocksFromInfinite(sourceLevel, sourceBox, destinationPoint, blocksToCopy))
开发者ID:dupontct,项目名称:pymclevel,代码行数:2,代码来源:level.py


注:本文中的mclevelbase.exhaust函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。