Beispiel #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,
        )
    )
Beispiel #2
0
def extractSchematicFrom(sourceLevel,
                         box,
                         entities=True,
                         cancelCommandBlockOffset=False):
    return exhaust(
        extractSchematicFromIter(sourceLevel, box, entities,
                                 cancelCommandBlockOffset))
Beispiel #3
0
def copyBlocksFrom(destLevel,
                   sourceLevel,
                   sourceBox,
                   destinationPoint,
                   blocksToCopy=None,
                   entities=True,
                   create=False):
    return exhaust(
        copyBlocksFromIter(destLevel, sourceLevel, sourceBox, destinationPoint,
                           blocksToCopy, entities, create))
Beispiel #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))
Beispiel #6
0
def fillBlocks(level, box, blockInfo, blocksToReplace=()):
    return exhaust(level.fillBlocksIter(box, blockInfo, blocksToReplace))
 def generateChunksInLevel(self, level, chunks):
     return exhaust(self.generateChunksInLevelIter(level, chunks))
 def createLevel(self, level, box, simulate=False, **kw):
     return exhaust(self.createLevelIter(level, box, simulate, **kw))
Beispiel #9
0
 def copyBlocksFromInfinite(self, sourceLevel, sourceBox, destinationPoint, blocksToCopy):
     return exhaust(self.copyBlocksFromInfinite(sourceLevel, sourceBox, destinationPoint, blocksToCopy))
Beispiel #10
0
def extractZipSchematicFrom(sourceLevel, box, zipfilename=None, entities=True):
    return exhaust(extractZipSchematicFromIter(sourceLevel, box, zipfilename, entities))
Beispiel #11
0
def fillBlocks(level, box, blockInfo, blocksToReplace=(), noData=False):
    return exhaust(level.fillBlocksIter(box, blockInfo, blocksToReplace, noData=noData))
Beispiel #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))
Beispiel #13
0
def fillBlocks(level, box, blockInfo, blocksToReplace=()):
    return exhaust(level.fillBlocksIter(box, blockInfo, blocksToReplace))
Beispiel #14
0
def fillBlocks(level, box, blockInfo, blocksToReplace=(), noData=False):
    return exhaust(
        level.fillBlocksIter(box, blockInfo, blocksToReplace, noData=noData))
Beispiel #15
0
 def copyBlocksFrom(self, sourceLevel, sourceBox, destinationPoint, blocksToCopy=None, entities=True, create=False):
     return exhaust(self.copyBlocksFromIter(sourceLevel, sourceBox, destinationPoint, blocksToCopy, entities, create))
 def createLevel(self, level, box, simulate=False, **kw):
     return exhaust(self.createLevelIter(level, box, simulate, **kw))
 def generateChunksInLevel(self, level, chunks):
     return exhaust(self.generateChunksInLevelIter(level, chunks))
def extractSchematicFrom(sourceLevel, box, entities=True, cancelCommandBlockOffset=False):
    return exhaust(extractSchematicFromIter(sourceLevel, box, entities, cancelCommandBlockOffset))
Beispiel #19
0
def extractSchematicFrom(sourceLevel, box, entities=True):
    return exhaust(extractSchematicFromIter(sourceLevel, box, entities))
 def generateAtPosition(self, tempWorld, tempDir, cx, cz):
     return exhaust(self.generateAtPositionIter(tempWorld, tempDir, cx, cz))
Beispiel #21
0
def extractAnySchematic(level, box):
    return exhaust(level.extractAnySchematicIter(box))
Beispiel #22
0
 def copyBlocksFromInfinite(self, sourceLevel, sourceBox, destinationPoint,
                            blocksToCopy):
     return exhaust(
         self.copyBlocksFromInfinite(sourceLevel, sourceBox,
                                     destinationPoint, blocksToCopy))