diff --git a/hello-world.py b/hello-world.py new file mode 100644 index 0000000..c366081 --- /dev/null +++ b/hello-world.py @@ -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((448, 92, 515), Block("stone")) + +# Build a cube +geometry.placeCuboid(editor, (458, 92, 488), (468, 99, 471), Block("oak_planks")) \ No newline at end of file