15 lines
321 B
Python
15 lines
321 B
Python
from gdpc import Editor, Block, geometry
|
|
import networks.curve as curve
|
|
|
|
|
|
|
|
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")) |