diff --git a/README.md b/README.md index cf086b4..05d6dbe 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # GDMC-2024 A procedural city generator for Minecraft as part of the GDMC 2024 competition. + +# Run + +Install required packages using `pip`: +```python +pip install -r requirements.txt +``` + +Run `main.py`. \ No newline at end of file diff --git a/hello-world.py b/main.py similarity index 82% rename from hello-world.py rename to main.py index c366081..061ccec 100644 --- a/hello-world.py +++ b/main.py @@ -6,7 +6,7 @@ editor = Editor(buffering=True) block = editor.getBlock((0,48,0)) # Place a block -editor.placeBlock((448, 92, 515), Block("stone")) +editor.placeBlock((394, 132, 741), Block("stone")) # Build a cube geometry.placeCuboid(editor, (458, 92, 488), (468, 99, 471), Block("oak_planks")) \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..93a8a41 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +gdpc==7.1.0