Add run instructions and requirements

This commit is contained in:
2024-04-20 12:58:20 +02:00
parent f65719251c
commit aaf72e7806
3 changed files with 11 additions and 1 deletions

12
main.py Normal file
View File

@@ -0,0 +1,12 @@
from gdpc import Editor, Block, geometry
editor = Editor(buffering=True)
# Get a block
block = editor.getBlock((0,48,0))
# Place a block
editor.placeBlock((394, 132, 741), Block("stone"))
# Build a cube
geometry.placeCuboid(editor, (458, 92, 488), (468, 99, 471), Block("oak_planks"))