{"id":23900072,"url":"https://github.com/Voxelers/mcthings","last_synced_at":"2025-09-10T06:31:53.443Z","repository":{"id":57451471,"uuid":"255031382","full_name":"Voxelers/mcthings","owner":"Voxelers","description":"A Python framework for creating 3D scenes in Minecraft and Minetest","archived":false,"fork":false,"pushed_at":"2020-08-08T08:27:24.000Z","size":6876,"stargazers_count":61,"open_issues_count":40,"forks_count":11,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2025-08-17T03:51:21.276Z","etag":null,"topics":["3d","3d-models","blender","blocks","buildings","easy","kids-coding","kids-learn","kids-programming","library","magicavoxel","minecraft","minetest","pyramids","python","python-framework","scene","schematics"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Voxelers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-12T07:30:46.000Z","updated_at":"2025-08-03T14:17:53.000Z","dependencies_parsed_at":"2022-09-04T10:41:18.996Z","dependency_job_id":null,"html_url":"https://github.com/Voxelers/mcthings","commit_stats":null,"previous_names":["juntosdesdecasa/mcthings"],"tags_count":58,"template":false,"template_full_name":null,"purl":"pkg:github/Voxelers/mcthings","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voxelers%2Fmcthings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voxelers%2Fmcthings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voxelers%2Fmcthings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voxelers%2Fmcthings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Voxelers","download_url":"https://codeload.github.com/Voxelers/mcthings/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voxelers%2Fmcthings/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274422190,"owners_count":25282123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d","3d-models","blender","blocks","buildings","easy","kids-coding","kids-learn","kids-programming","library","magicavoxel","minecraft","minetest","pyramids","python","python-framework","scene","schematics"],"created_at":"2025-01-04T19:14:17.707Z","updated_at":"2025-09-10T06:31:53.134Z","avatar_url":"https://github.com/Voxelers.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# McThings [![Build Status](https://travis-ci.org/Voxelers/mcthings.svg?branch=develop)](https://travis-ci.org/github/Voxelers/mcthings) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/Voxelers/mcthings/blob/develop/LICENSE) [![Documentation Status](https://readthedocs.org/projects/mcthings/badge/?version=latest)](https://mcthings.readthedocs.io/en/latest/?badge=latest) [![PyPI version](https://badge.fury.io/py/mcthings.svg)](https://badge.fury.io/py/mcthings) [![Twitter](docs/img/twitter.png)](https://twitter.com/McthingsP)\n\nA Python programming framework for building a 3D World of Scenes in Minecraft ([Procedural](https://en.wikipedia.org/wiki/Procedural_modeling) [CSG](https://en.wikipedia.org/wiki/Constructive_solid_geometry)). \nScenes are compositions of Things (Python objects), created and transformed in memory and rendered \nusing the\n[Raspberry PI Minecraft](https://www.minecraft.net/en-us/edition/pi/) [renderer](mcthings/renderers/raspberry_pi.py) implemented using the\n[API](https://www.stuffaboutcode.com/p/minecraft-api-reference.html) (which also works in [Minetest](https://github.com/arpruss/raspberryjammod-minetest)). \nThis renderer is based\non [mcpi library](https://github.com/martinohanlon/mcpi). More renderers are planned. It follows the pipeline: create and transform in memory (model in memory) and then render.\n \n[This is the reference notebook](https://github.com/juntosdesdecasa/minecraft/blob/develop/server/data/python/scene0_10.ipynb)\nwith a complete sample. And there is a [intro video tutorial](https://www.youtube.com/watch?v=p6NUFdUbcYk\u0026t=2s) and [a more complete one](https://www.youtube.com/watch?v=teGjAXomBVs\u0026t=4s).\n\nA Thing is a built based on blocks (voxels based on cubes): [Pyramid](mcthings/pyramid.py), [River](mcthings/river.py),\n[House](mcthings/house.py), [Fence](mcthings/fence.py)\nand may others. All the Things share the [Thing API](mcthings/thing.py). \nA Thing can be [decorated](https://twitter.com/acstw/status/1265510248892239873)\nusing existing decorators like [LightDecorator](mcthings/decorators/light_decorator.py) \nor you can create your own one. A [decorated house](https://github.com/juntosdesdecasa/mcthings_extra/blob/develop/tests/test_entity.py#L40).\nScenes can also be decorated [like this sample](https://twitter.com/acstw/status/1267591965169811456)\nwith a railway ([BorderDecorator](mcthings/decorators/border_decorator.py)) around a Scene.\n\nAnd Things can also be rotated. For example, in this scene [the castle is rotated\n180 degrees](https://github.com/juntosdesdecasa/mcthings_scenes/tree/develop/notebooks/scene0_42.ipynb) so the portal is accessible from the town ways.\n\nThere is also a repository for experimental, incubating or with extra dependencies Things\nat [McThings Extra](https://github.com/juntosdesdecasa/mcthings_extra).\n\nA [World](mcthings/world.py) is a list of Scenes placed in concrete positions. \nAnd a [Scene is a list](mcthings/scene.py) of Things built in a specific position and order. Scenes can be shared\nloading and saving them to files. Scenes can be also saved as Schematics\nand converted with [Mineways](http://www.realtimerendering.com/erich/minecraft/public/mineways/) \nto be used for [3D rendering and printing](https://twitter.com/acstw/status/1262944914234540032). \nYou [can share scenes adding them\nto this repository](https://github.com/juntosdesdecasa/mcthings_scenes). \nAnd they can be [interactive](https://www.youtube.com/watch?v=TjHqt3WO-o0) \nas [in this app](https://github.com/juntosdesdecasa/mcthings_scenes/blob/develop/apps/scene_interactive.py).\n\n[This scene](https://github.com/juntosdesdecasa/mcthings_scenes/tree/develop/notebooks/scene_basic.ipynb) includes \na river, a house in each side of the river and a bridge for crossing the river.\n\n![A Scene in Minecraft](https://raw.githubusercontent.com/juntosdesdecasa/mcthings_scenes/develop/notebooks/img/scene_basic.png)\n\nThings can be built using [MinecraftDrawing](https://minecraft-stuff.readthedocs.io/en/latest/index.html). \n[Sphere](mcthings/sphere.py) and [Circle](mcthings/circle.py) Things are used with Pyramids in the next \n[scene](https://github.com/juntosdesdecasa/mcthings_scenes/tree/develop/notebooks/scene_sphere_circle_pyramid.ipynb):\n\n![Pyramids with Spheres](https://raw.githubusercontent.com/juntosdesdecasa/mcthings_scenes/develop/notebooks/img/scene_sphere_circle_pyramid.png)\n\nAnd Things can also be built from [Schematics](https://www.minecraft-schematics.com/) (there are thousands!). \nThere is a [sample notebook](https://github.com/juntosdesdecasa/mcthings_scenes/tree/develop/notebooks/Schematics.ipynb). \n\n![Schematic inside McThings](https://raw.githubusercontent.com/juntosdesdecasa/mcthings_scenes/develop/notebooks/img/schematic.png)\n\nAnd Things can also be created from MagicaVoxel models.\n\n![MagicaVoxel model inside McThings](docs/img/ambulance_mc.png)\n\n[Minecraft](https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-tools/3020985-mcthings-a-framework-for-creating-scenes-using) \nand [Minetest](https://forum.minetest.net/viewtopic.php?t=24719) forums pages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVoxelers%2Fmcthings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FVoxelers%2Fmcthings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVoxelers%2Fmcthings/lists"}