Skip to main content

GDPC

GDPC (Generative Design Python Client) is a Python framework for the GDMC HTTP Interface mod for Minecraft Java edition.

The GDMC HTTP mod implements a HTTP interface that allows you to edit a Minecraft world live, while you're playing in it, making it possible to rapidly iterate on generative algorithms. GDPC provides Python bindings for the GDMC-HTTP interface, along with many high-level tools that make development much easier.

GDPC is primarily designed for the Generative Design in Minecraft Competition (GDMC), a yearly competition for procedural generation in Minecraft where the challenge is to write an algorithm that creates a settlement that adapts to the pre-existing terrain. Feel free to join us on Discord!

Quick example

from gdpc import Editor, Block, geometry

editor = Editor(buffering=True)

# Get a block
block = editor.getBlock((0,48,0))

# Place a block
editor.placeBlock((0,80,0), Block("stone"))

# Build a cube
geometry.placeCuboid(editor, (0,80,2), (2,82,4), Block("oak_planks"))

Documentation

You can find installation instructions, guides and an API reference in our documentation on Read the Docs!

Contributing

See CONTRIBUTING.md for information about how to contribute.

Acknowledgements

GDPC was progressively developed with the help of various members of the GDMC community. Of special note are Niki Gawlik, who started both GDMC-HTTP and GDPC, and Blinkenlights, who previously maintained the project.

Metadata

Release files for gdpc 8.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gdpc 8.1.0
File Size Uploaded
gdpc-8.1.0.tar.gz 72.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gdpc 8.1.0
File Interpreter ABI Platform
gdpc-8.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 148.0 kB

Release files / gdpc-8.1.0.tar.gz

Download URL gdpc-8.1.0.tar.gz
Size 72.2 kB
Tags Source
SHA-256 checksum
How to use checksums
47234092d511e1b5f37becb825f3da79f9a787bd3c9979a49bb41599d3b7f7b3
BLAKE2b-256 checksum
How to use checksums
dd38777d7f334c9de3250adb6bfefa2c3812f55b9d1a4a60ffb322b1e46cb41a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Release files / gdpc-8.1.0-py3-none-any.whl

Download URL gdpc-8.1.0-py3-none-any.whl
Size 75.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45cb9633183c551e155308969aa8c307c700159f0b52c97571e50752c8d6b860
BLAKE2b-256 checksum
How to use checksums
aa7b2bcc954c1cf435d88b9f1d2df90a28c385e8e8c067aff7a19cda4f10295f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page