Add run instructions and requirements
This commit is contained in:
@@ -1,2 +1,11 @@
|
|||||||
# GDMC-2024
|
# GDMC-2024
|
||||||
A procedural city generator for Minecraft as part of the GDMC 2024 competition.
|
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`.
|
||||||
@@ -6,7 +6,7 @@ editor = Editor(buffering=True)
|
|||||||
block = editor.getBlock((0,48,0))
|
block = editor.getBlock((0,48,0))
|
||||||
|
|
||||||
# Place a block
|
# Place a block
|
||||||
editor.placeBlock((448, 92, 515), Block("stone"))
|
editor.placeBlock((394, 132, 741), Block("stone"))
|
||||||
|
|
||||||
# Build a cube
|
# Build a cube
|
||||||
geometry.placeCuboid(editor, (458, 92, 488), (468, 99, 471), Block("oak_planks"))
|
geometry.placeCuboid(editor, (458, 92, 488), (468, 99, 471), Block("oak_planks"))
|
||||||
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
gdpc==7.1.0
|
||||||
Reference in New Issue
Block a user