diff --git a/README.md b/README.md index 62a25492..d569a43f 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,30 @@ The structure will appear around every armor stand in the worlds you load. It is You can go through a structure layer by layer if you like by shift right clicking on the stand. This will minimize all layers except the "active" ones. I cant add poses without adding a behavior pack so for large structures there will be mutiple layers displayed at a time (12 blocks apart) ![alt text](https://github.com/RavinMaddHatter/Structura/blob/main/docs/example_layer.png?raw=true) + +## Linux + +To start, you definitely need to install the python3-tk package. + +Choose the method that suits you: + +Debian/Ubuntu: +```bash +sudo apt-get install python3.7-tk +``` +Fedora: +```bash +sudo dnf install python3-tkinter +``` +Arch: +```bash +yay -S python37 # yay or any other AUR component +``` +To run Structure, allow start.sh run and run: +```bash +chmod +x start.sh && sh start.sh +``` + ## Updating blocks As of structura 1.3 you can update the blocks manuall and contribut back to the project. [Here is a write up on how this works](docs/Editing%20Blocks.md) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..b2ccfdb7 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +numpy +nbtlib +pooch \ No newline at end of file diff --git a/start.sh b/start.sh new file mode 100644 index 00000000..7e6a74f5 --- /dev/null +++ b/start.sh @@ -0,0 +1 @@ +pip3 install -r requirements.txt && python3 structura.py \ No newline at end of file