Пример #1
0
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
0
def extractSchematicFrom(sourceLevel,
                         box,
                         entities=True,
                         cancelCommandBlockOffset=False):
    return exhaust(
        extractSchematicFromIter(sourceLevel, box, entities,
                                 cancelCommandBlockOffset))
Пример #3
0
def copyBlocksFrom(destLevel,
                   sourceLevel,
                   sourceBox,
                   destinationPoint,
                   blocksToCopy=None,
                   entities=True,
                   create=False):
    return exhaust(
        copyBlocksFromIter(destLevel, sourceLevel, sourceBox, destinationPoint,
                           blocksToCopy, entities, create))
Пример #4
0
def copyBlocksFrom(destLevel,
                   sourceLevel,
                   sourceBox,
                   destinationPoint,
                   blocksToCopy=None,
                   entities=True,
                   create=False,
                   biomes=False,
                   tileTicks=True,
                   staticCommands=False,
                   moveSpawnerPos=False,
                   first=False):
    return exhaust(
        copyBlocksFromIter(destLevel, sourceLevel, sourceBox, destinationPoint,
                           blocksToCopy, entities, create, biomes, tileTicks,
                           staticCommands, moveSpawnerPos, first))
 def generateAtPosition(self, tempWorld, tempDir, cx, cz):
     return exhaust(self.generateAtPositionIter(tempWorld, tempDir, cx, cz))
Пример #6
0
def fillBlocks(level, box, blockInfo, blocksToReplace=()):
    return exhaust(level.fillBlocksIter(box, blockInfo, blocksToReplace))
Пример #7
0
 def generateChunksInLevel(self, level, chunks):
     return exhaust(self.generateChunksInLevelIter(level, chunks))
Пример #8
0
 def createLevel(self, level, box, simulate=False, **kw):
     return exhaust(self.createLevelIter(level, box, simulate, **kw))
Пример #9
0
 def copyBlocksFromInfinite(self, sourceLevel, sourceBox, destinationPoint, blocksToCopy):
     return exhaust(self.copyBlocksFromInfinite(sourceLevel, sourceBox, destinationPoint, blocksToCopy))
Пример #10
0
def extractZipSchematicFrom(sourceLevel, box, zipfilename=None, entities=True):
    return exhaust(extractZipSchematicFromIter(sourceLevel, box, zipfilename, entities))
Пример #11
0
def fillBlocks(level, box, blockInfo, blocksToReplace=(), noData=False):
    return exhaust(level.fillBlocksIter(box, blockInfo, blocksToReplace, noData=noData))
Пример #12
0
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))
Пример #13
0
def fillBlocks(level, box, blockInfo, blocksToReplace=()):
    return exhaust(level.fillBlocksIter(box, blockInfo, blocksToReplace))
Пример #14
0
def fillBlocks(level, box, blockInfo, blocksToReplace=(), noData=False):
    return exhaust(
        level.fillBlocksIter(box, blockInfo, blocksToReplace, noData=noData))
Пример #15
0
 def copyBlocksFrom(self, sourceLevel, sourceBox, destinationPoint, blocksToCopy=None, entities=True, create=False):
     return exhaust(self.copyBlocksFromIter(sourceLevel, sourceBox, destinationPoint, blocksToCopy, entities, create))
Пример #16
0
 def createLevel(self, level, box, simulate=False, **kw):
     return exhaust(self.createLevelIter(level, box, simulate, **kw))
Пример #17
0
 def generateChunksInLevel(self, level, chunks):
     return exhaust(self.generateChunksInLevelIter(level, chunks))
Пример #18
0
def extractSchematicFrom(sourceLevel, box, entities=True, cancelCommandBlockOffset=False):
    return exhaust(extractSchematicFromIter(sourceLevel, box, entities, cancelCommandBlockOffset))
Пример #19
0
def extractSchematicFrom(sourceLevel, box, entities=True):
    return exhaust(extractSchematicFromIter(sourceLevel, box, entities))
Пример #20
0
 def generateAtPosition(self, tempWorld, tempDir, cx, cz):
     return exhaust(self.generateAtPositionIter(tempWorld, tempDir, cx, cz))
Пример #21
0
def extractAnySchematic(level, box):
    return exhaust(level.extractAnySchematicIter(box))
Пример #22
0
 def copyBlocksFromInfinite(self, sourceLevel, sourceBox, destinationPoint,
                            blocksToCopy):
     return exhaust(
         self.copyBlocksFromInfinite(sourceLevel, sourceBox,
                                     destinationPoint, blocksToCopy))