Пример #1
0
 def undo(self):
     self.redoBackupEntityTag = copy.deepcopy(tileEntityTag)
     level.addTileEntity(self.undoBackupEntityTag)
     return pymclevel.BoundingBox(pymclevel.TileEntity.pos(tileEntityTag), (1, 1, 1))
Пример #2
0
 def redo(self):
     self.level.addTileEntity(self.redoBackupEntityTag)
     return pymclevel.BoundingBox(pymclevel.TileEntity.pos(tileEntity), (1, 1, 1))