Skip to main content

A project that seeks to recreate every old Minecraft version in Python using Pyglet and Cython.

Project description

Minecraft: Python Edition

Minecraft

Minecraft: Python Edition is a project that strives to recreate each and every old Minecraft version in Python using the Pyglet multimedia library and Cython for performance.

This project is currently recreating the Preclassic versions of Minecraft. The latest version is Preclassic rd-160052 as released on May 15, 2009.

Learn more about this version here.

General Usage

Pyglet and Cython are required dependencies and can easily be installed with pip. Use the versions specified in requirements.txt.

To easily install this version of Minecraft: Python Edition, just run python -m pip install minecraft-python==160052.

Alternatively, for a manual Cython build, run python setup.py build_ext --inplace.

Run python -m mc.net.minecraft.Minecraft to launch the game. Minecraft: Python Edition should be compatible with any modern platform that supports OpenGL and Cython.

Gameplay

Basic terrain, early block picking and placing, and human mobs are featured in this version. There are four different blocks you can place.

Press Esc to exit the game. Press Return to save, R to reset your position, G to spawn a mob, and numbers 1-4 to switch blocks.

Additional Notes

The resources directory contains all of the textures that this version uses. However, they are only there for convenience, as all of the texture buffers are already preloaded in the net.Resources module.

This would have been much more challenging to work on without the great tools provided by RetroMCP-Java.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

minecraft_python-160052-pp310-pypy310_pp73-win_amd64.whl (166.0 kB view hashes)

Uploaded PyPy Windows x86-64

minecraft_python-160052-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (208.0 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

minecraft_python-160052-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (220.0 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

minecraft_python-160052-pp310-pypy310_pp73-macosx_10_9_x86_64.whl (161.6 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

minecraft_python-160052-pp39-pypy39_pp73-win_amd64.whl (165.7 kB view hashes)

Uploaded PyPy Windows x86-64

minecraft_python-160052-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (207.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

minecraft_python-160052-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (219.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

minecraft_python-160052-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (161.1 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

minecraft_python-160052-pp38-pypy38_pp73-win_amd64.whl (164.2 kB view hashes)

Uploaded PyPy Windows x86-64

minecraft_python-160052-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (203.8 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

minecraft_python-160052-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (202.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

minecraft_python-160052-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (156.9 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

minecraft_python-160052-pp37-pypy37_pp73-win_amd64.whl (164.3 kB view hashes)

Uploaded PyPy Windows x86-64

minecraft_python-160052-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (203.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

minecraft_python-160052-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (202.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

minecraft_python-160052-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (156.9 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

minecraft_python-160052-cp311-cp311-win_amd64.whl (185.1 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

minecraft_python-160052-cp311-cp311-win32.whl (168.7 kB view hashes)

Uploaded CPython 3.11 Windows x86

minecraft_python-160052-cp311-cp311-musllinux_1_1_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

minecraft_python-160052-cp311-cp311-musllinux_1_1_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

minecraft_python-160052-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

minecraft_python-160052-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

minecraft_python-160052-cp311-cp311-macosx_10_9_x86_64.whl (204.8 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

minecraft_python-160052-cp310-cp310-win_amd64.whl (190.8 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

minecraft_python-160052-cp310-cp310-win32.whl (172.2 kB view hashes)

Uploaded CPython 3.10 Windows x86

minecraft_python-160052-cp310-cp310-musllinux_1_1_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

minecraft_python-160052-cp310-cp310-musllinux_1_1_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

minecraft_python-160052-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

minecraft_python-160052-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

minecraft_python-160052-cp310-cp310-macosx_10_9_x86_64.whl (211.9 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

minecraft_python-160052-cp39-cp39-win_amd64.whl (201.4 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

minecraft_python-160052-cp39-cp39-win32.whl (181.4 kB view hashes)

Uploaded CPython 3.9 Windows x86

minecraft_python-160052-cp39-cp39-musllinux_1_1_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

minecraft_python-160052-cp39-cp39-musllinux_1_1_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

minecraft_python-160052-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

minecraft_python-160052-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

minecraft_python-160052-cp39-cp39-macosx_10_9_x86_64.whl (221.9 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

minecraft_python-160052-cp38-cp38-win_amd64.whl (200.8 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

minecraft_python-160052-cp38-cp38-win32.whl (181.4 kB view hashes)

Uploaded CPython 3.8 Windows x86

minecraft_python-160052-cp38-cp38-musllinux_1_1_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

minecraft_python-160052-cp38-cp38-musllinux_1_1_i686.whl (1.2 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

minecraft_python-160052-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

minecraft_python-160052-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

minecraft_python-160052-cp38-cp38-macosx_10_9_x86_64.whl (218.1 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

minecraft_python-160052-cp37-cp37m-win_amd64.whl (198.7 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

minecraft_python-160052-cp37-cp37m-win32.whl (178.8 kB view hashes)

Uploaded CPython 3.7m Windows x86

minecraft_python-160052-cp37-cp37m-musllinux_1_1_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

minecraft_python-160052-cp37-cp37m-musllinux_1_1_i686.whl (1.0 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ i686

minecraft_python-160052-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

minecraft_python-160052-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.0 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

minecraft_python-160052-cp37-cp37m-macosx_10_9_x86_64.whl (214.6 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

minecraft_python-160052-cp36-cp36m-win_amd64.whl (224.8 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

minecraft_python-160052-cp36-cp36m-win32.whl (195.2 kB view hashes)

Uploaded CPython 3.6m Windows x86

minecraft_python-160052-cp36-cp36m-musllinux_1_1_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ x86-64

minecraft_python-160052-cp36-cp36m-musllinux_1_1_i686.whl (1.0 MB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ i686

minecraft_python-160052-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

minecraft_python-160052-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.0 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

minecraft_python-160052-cp36-cp36m-macosx_10_9_x86_64.whl (218.1 kB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

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