forked from DonoA/PyAnvilEditor
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
58ad282
commit 35a4eb6
Showing
15 changed files
with
59 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/bin/python3 | ||
import sys | ||
from pyanvil import World, BlockState, Material | ||
from pyanvileditor import World, BlockState, Material | ||
|
||
with World('A', save_location='/home/dallen/.minecraft/saves', debug=True) as wrld: | ||
cv = wrld.get_canvas() | ||
cv.select_rectangle((334, 67, -240), (347, 100, -222)).copy().paste(wrld, (411, 105, -302)) | ||
cv.select_rectangle((334, 67, -240), (347, 100, -222)).fill(BlockState(Material.diamond_block, {})) | ||
|
||
print('Saved!') | ||
print('Saved!') |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from pyanvileditor.biomes import Biome | ||
from pyanvileditor.materials import Material | ||
from pyanvileditor.world import World, Chunk, Block, BlockState | ||
from pyanvileditor.canvas import Canvas | ||
from pyanvileditor.schematic import Schematic | ||
|
||
import pyanvileditor.nbt |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[metadata] | ||
description-file = README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from distutils.core import setup | ||
setup( | ||
name = 'pyanvileditor', | ||
packages = ['pyanvileditor'], | ||
version = '0.1', | ||
license='MIT', | ||
description = 'Python3 library to load and edit minecraft savegames', | ||
author = 'Donovan Allen, Mauro Sbicego', | ||
author_email = '[email protected]', | ||
url = 'https://github.com/maurosbicego/PyAnvilEditor', | ||
download_url = 'https://github.com/maurosbicego/PyAnvilEditor/archive/v_01.tar.gz', | ||
keywords = ['minecraft', 'anvil', 'editor'], | ||
install_requires=[], | ||
classifiers=[ | ||
'Development Status :: 4 - Beta' | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters