Skip to main content

McThings is a python library for building things in Minecraft

Project description

McThings Documentation Status PyPI version

A Python programming framework for building Scenes in Minecraft. Scenes are compositions of Things (Python objects) implemented using the Raspberry PI Minecraft API (which also works in Minetest). It is based on mcpi library. This is the reference notebook with a complete sample. And there is a intro video tutorial and a more complete one.

A Thing is a built based on blocks: Pyramid, River, House, Fence and may others. All the Things share the Thing API. A Thing can be decorated using existing decorators like LightDecorator or you can create your own one. A decorated house.

There is also a repository for experimental, incubating or with extra dependencies Things at McThings Extra.

A Scene is a list of Things built in a specific position and order. Scenes can be shared loading and saving them to files. Scenes can be also saved as Schematics and converted with Mineways to be used for 3D rendering and printing. You can share scenes adding them to this repository. And they can be interactive as in this app.

This scene includes a river, a house in each side of the river and a bridge for crossing the river.

A Scene in Minecraft

Things can be built using MinecraftDrawing. Sphere and Circle Things are used with Pyramids in the next scene:

Pyramids with Spheres

And Things can also be built from Schematics (there are thousands!). There is a sample notebook.

Schematic inside McThings

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcthings-0.34.1.tar.gz (12.4 kB view hashes)

Uploaded Source

Built Distribution

mcthings-0.34.1-py3-none-any.whl (24.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page