A project that seeks to recreate every old Minecraft version in Python using Pyglet and Cython.
Project description
Minecraft: Python Edition
Minecraft: Python Edition is a project that strives to recreate each and every old Minecraft version in Python 3 using the Pyglet multimedia library and Cython for performance.
The project is currently working on the Indev versions of Minecraft. The latest version is Indev 0.31 20091223-2, the first version of Indev which was released on December 23, 2009.
This version is the last available version of Minecraft to be released in creative mode exclusively.
However, the work-in-progress survival mode can be enabled by running the game with the argument -survival
.
This is the first version to feature one of the MD3 mobs of Indev, Rana.
You can learn more about this version on the Minecraft wiki..
Organization
This project's commits represent the Python versions of each Minecraft Java game version.
You can view source code changes between game versions by checking the commit history or comparing branches.
To play any version, specify it in the pip install
command as demonstrated below.
General Usage
Pyglet, Cython, and Pillow are required dependencies and can easily be installed with pip. Use the versions specified in requirements.txt
.
While the late Classic versions and later Indev versions feature audio, this version does not.
To easily install this version of Minecraft: Python Edition, just run python -m pip install minecraft-python==0.31.20091223-2
.
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.
Run with the argument -fullscreen
to open the window in fullscreen mode.
Gameplay
Press B to pick any of the ores and tiles that exist in this creative version. Press F5 to toggle rain. Other keys are listed in the regular options menu.
If you enable survival mode, you will spawn with some lava and water blocks for testing. You will be able to attack the Rana mobs, but items in general won't drop. Arrows and mushrooms are unusable.
Additional Notes
The mc.resources
directory contains all of the textures and sounds that this version uses. However,
the textures are only there for convenience, as all of the texture buffers are already preloaded
in the mc.Resources
module.
This would have been much more challenging to work on without the great tools provided by RetroMCP-Java.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for minecraft-python-0.31.20091223.post2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f813ff22dfd0ef2753d7b110c6daad5e9c0acf17b76e999e6c0a9a378f7b8e8 |
|
MD5 | 2bd52a8b33a75e6b549103994f5e81c7 |
|
BLAKE2b-256 | a2fc619c122c87a94451df444322d1d4c7b29d2ac1d7923b043b27184880d2c4 |
Hashes for minecraft_python-0.31.20091223.post2-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa4d70e8181ea6e91319ca590e87237e4c22578b43257356cfa045699c23d758 |
|
MD5 | 12bf400ff46dac181c2c85678605c899 |
|
BLAKE2b-256 | c0753aa2145191fdfa5afd402a9852b1d44fcc00b13d5fa5dfa34ee5be25f651 |
Hashes for minecraft_python-0.31.20091223.post2-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6b2378eafdb8e58cac914b10f6c8f0a34d26a712cc583fdaa91cb63b50050c9 |
|
MD5 | 9639ccb7cc06d1d8fcf83d57003b4241 |
|
BLAKE2b-256 | 38c0bda11954fbde12f88d8eb14a61f37352d16f24ea85349f1592bd4eaf84e8 |
Hashes for minecraft_python-0.31.20091223.post2-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61470b2f13f020a76d752f90379e8e7f7536dc3e2f53b12b9ab2606bbc79e0b4 |
|
MD5 | 6e50c0bd36af8300102ae1c3ca612562 |
|
BLAKE2b-256 | a5a197658a723b8d67fd67cbfe6b5b5db8338b97b6f6cc36140211cfbe690b18 |
Hashes for minecraft_python-0.31.20091223.post2-cp312-cp312-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f6ac90c6758a2ef6d26e7db7e5ce49ef03500b6e6f0a3e7a838baa54e40fde9 |
|
MD5 | d5d375250a74ef4a5368b22daa574262 |
|
BLAKE2b-256 | 54198c65a8a35675249748cde6f51ae7c3eca766fb213152e79620c7b1898c77 |
Hashes for minecraft_python-0.31.20091223.post2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4db065d8ee0d5072aa5ea75d69a95931881b745017d54776dd6185a75e94c326 |
|
MD5 | 7541095d1d91eee2e44b914fc4614465 |
|
BLAKE2b-256 | 0e8021c8663d0f3b0bf336a2de1cb1e58c772d8b903ae52cb061ce91a0d0513f |
Hashes for minecraft_python-0.31.20091223.post2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5951436c302f4f0bf7a460c7c1a1257fe4473ac312187331531a2af15e07d6ad |
|
MD5 | 8566e66b7c6ed376614091c068dbc30f |
|
BLAKE2b-256 | b5f15172b7b5e523c3646d5060b553d256fab63f197a2bc1edea21179efb3c2f |
Hashes for minecraft_python-0.31.20091223.post2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27c2e3602d7ed185b253c4b233fbccd9068b2f0542e272251e5a15bb4db0b55c |
|
MD5 | 3db46b0a6eb4dbf55c7de964ef054162 |
|
BLAKE2b-256 | e2e6b00d43c87824d39bc6296276a896a17a62b50e2798c1404adfa98b36a5ff |
Hashes for minecraft_python-0.31.20091223.post2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2a8ae41f70870824dc0486141c87c6135e621f1e7663d25f28110e345497101 |
|
MD5 | 9fde57f2edac436dacec9180257c19a3 |
|
BLAKE2b-256 | 80bf318bab68000e76b3d4bd4a125575dbbaa1b7691a33068c08d928bfcfdf4f |
Hashes for minecraft_python-0.31.20091223.post2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d0b0debedff6169cb1119c8acb47dcdb2269e107347758f19042bd9bce859a4 |
|
MD5 | ec7d96eb4df17c63e1b8b13e14e993b4 |
|
BLAKE2b-256 | 119a1db18fb943fc5f4ce3d3b970becb44ecbf4e0389b24167448b744c78f16e |
Hashes for minecraft_python-0.31.20091223.post2-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f61bf0e78dde900e4139ffb8373b79ca8e3b74d81e1e7339cac7b0aa417fce18 |
|
MD5 | 7c38cb10f2054576bc1d0e794af29408 |
|
BLAKE2b-256 | 2013f6fa9d35ca41f00dd50c18c76ab2ed17dae78d98969f12bd4f1f2e6e667a |
Hashes for minecraft_python-0.31.20091223.post2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b86c4996c416c297ff3a303da92a94907f081cd452024a2d87ab0d76043d0ade |
|
MD5 | e279ee5073971dedf66feb75677d6436 |
|
BLAKE2b-256 | cf65f3301819abb10145731944958a6db4df134ac44aac20e43b2dde3c29fed7 |
Hashes for minecraft_python-0.31.20091223.post2-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d410f19576846d3130fceae793225922b601bbd2f8f88013b75a2197d5080a22 |
|
MD5 | eae6772ba3dd7b9a252ccf1aaada6837 |
|
BLAKE2b-256 | 4f1520945a26b7610eb785682c134fc46db1b27d200f0609e3af67e009c7b1b9 |
Hashes for minecraft_python-0.31.20091223.post2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceab43e004a7335a0e2cb59e859fd2b594954d2b082e1f18818782dc9b7308f0 |
|
MD5 | c305d8b4e551feee825fe870fc1f8d91 |
|
BLAKE2b-256 | c16665638dd62242fe4034893d5031d6ba8cd4c1872456f827d8e67b8ce0b2df |
Hashes for minecraft_python-0.31.20091223.post2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8985fa81a8709660c7a0c891bf0e1fb40b8aa26e3203fd216ce584aaf26b81a8 |
|
MD5 | 7bd3c23501a2bb06da3829083f54fcae |
|
BLAKE2b-256 | 0ed87aa1d60f9d5df5de5182023dac63e2932cfeb2933b0df764abe2975310f0 |
Hashes for minecraft_python-0.31.20091223.post2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0ca83189f4e5dfffd2c0e075ade20478ae760ebd5aace80be00f89cb70a1bd3 |
|
MD5 | b483a456dae440a837b5000bcf910c04 |
|
BLAKE2b-256 | 8ddd2528486fcecbc5e1eceda51c84a276959b0e55bf849d53941bd77bbbd29e |
Hashes for minecraft_python-0.31.20091223.post2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49cf24eca6d7a2a8d401b3afc1a6204167ebde7fddf051a88169f729a6eed7c4 |
|
MD5 | 4cf0b1ecd4b5e60117ac054f0e60df3e |
|
BLAKE2b-256 | 89e0d49afad67ad13a6efe4d3285f4832eff300adc46a3bc07a44c0c85305572 |
Hashes for minecraft_python-0.31.20091223.post2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a80909a313794ca65bfb4b8f947d1f2068a88e86fa5d832eb13409bd20e7959b |
|
MD5 | 0601e4439a3d8502953dbb6dd8ce7e02 |
|
BLAKE2b-256 | cee4684491b2ca43a705abeb3ea7063c6c7f2e04620314060e14b4f2fe9c1ada |
Hashes for minecraft_python-0.31.20091223.post2-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1dfdbd45e668e8fd211af2cebee4585daae6e69a5393393b90b86182da728cc |
|
MD5 | 3dc4aec170b063d2f8028b804a77a922 |
|
BLAKE2b-256 | f9d2ae0898db1725950b377cae949c5a227b172d697e4508cc99c0558f36d6d4 |
Hashes for minecraft_python-0.31.20091223.post2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52aaaa6a1104b7c422448f5a70457a179b01c23e63e8f322e14263d8d2c92a2c |
|
MD5 | 918470eb622f9f4b4b7f63ac8a179337 |
|
BLAKE2b-256 | 05059a0cf59164697a17884e4692bd63063e9fa72822a00552bbdd1e3537ff64 |
Hashes for minecraft_python-0.31.20091223.post2-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4cb198d900566300d4445038423dc3e76e1683027393a55fa7be5908ff025b4 |
|
MD5 | 77636d8fa821d85217f36a2d3e240ed7 |
|
BLAKE2b-256 | 17c783e1856ea275731fdc6e293293423b7d57853a823268314d6e782bd09639 |
Hashes for minecraft_python-0.31.20091223.post2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69b481403f29d026ad526c0f3c2798e2f0d0a7cd5eba1a66eb9caeb62be25dfd |
|
MD5 | 57aa5b459255a1ef87c92d5c45acb7f1 |
|
BLAKE2b-256 | 3f9f0e921137859540cc3f1c4b226e749996d5b5310f540ead2f415ca4ef2374 |
Hashes for minecraft_python-0.31.20091223.post2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 706bd4a01eb2af1a4ebf7abc47daeb8c09c154e10128277868b812b9fd211e82 |
|
MD5 | 8144243f6dee88defa7ef0c743212177 |
|
BLAKE2b-256 | a23f7f67c9327b10a5ecec885fb77c304bc4c3940f7defbce24bb59823dfc3a6 |
Hashes for minecraft_python-0.31.20091223.post2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9adfb10ea1711168f38829cf72ebcf7687322eb8bdc7cd60e8c776d4bec0835d |
|
MD5 | c58edfea126decdf976711d4f7aeda09 |
|
BLAKE2b-256 | 638cf10ef94a7a39250ef7f461a69328a1f817d7e4c739ae6dc94ea4024a6cf9 |
Hashes for minecraft_python-0.31.20091223.post2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6a2eeecd7ecbe5c415d98db0aaa7af717480b9ef927ff9a54413e9ca4504df1 |
|
MD5 | 3fab036ba43d6948d2962d4bf84f5fe3 |
|
BLAKE2b-256 | 59daed3eae476d6ff0a7168679a8a9ec35fae145b28e6749d56b3a7b146ecc2d |
Hashes for minecraft_python-0.31.20091223.post2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebe45e1f8f5409bf597ce32e7ca7066b6fdcaed0d29144c2fdb12149fb4f4872 |
|
MD5 | fadcf032bb8e6bda8450e088eaa87054 |
|
BLAKE2b-256 | 61a27ebe25e1cfbc9ba04970618f07709f39ea60ec82e09bcbacdd4b103309eb |
Hashes for minecraft_python-0.31.20091223.post2-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24622fe9444c027427c1a5754840da94b116255f90c90dd3a4da42f689526cc4 |
|
MD5 | 772088866b6019e0eec7920d0de72939 |
|
BLAKE2b-256 | 47dbef4fd73217dbefb87850040b650a97961026ec23422e29b680140b74fa95 |
Hashes for minecraft_python-0.31.20091223.post2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9aa15d56d92b39d5c41e6c21b1bc5dc887094ba0ab705d33343dc5b271cfab8 |
|
MD5 | 01247a5a46f5fbcfc067bf95acfe4c35 |
|
BLAKE2b-256 | d84e7a2e2acc7214ff3bf89a49473de00c4e755d70a7a8a33408528d342ee588 |
Hashes for minecraft_python-0.31.20091223.post2-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad6e15d15a0540d7eaf098c4d1bf3686f8bfccbf549f99d47f81589b49feaeb1 |
|
MD5 | 28efcfc2e4b26cc60a0ee84c602e7942 |
|
BLAKE2b-256 | a419018ff2dc9ae9a27f022934a84d104458dc82e2db9ed3cbe8e239dd230bc3 |
Hashes for minecraft_python-0.31.20091223.post2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 672b9aede7a3da65101974f5626b835852d58e5949b64bd0babfb9d0d05d8219 |
|
MD5 | f1f5ca705a21b6c9a63b5283e1492261 |
|
BLAKE2b-256 | 988c8b60e2bc5ab464efc6d9ec04e8e25232be407b2ea005b91494854f4ba232 |
Hashes for minecraft_python-0.31.20091223.post2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d34362bd5e82a60315185d70fe2f92fb5ade8bc0f7c7c12d520ec8b9681f2554 |
|
MD5 | a74f2ecd22be7e0805f5d2f55902349a |
|
BLAKE2b-256 | 22f43dc329c351b645a1d6b4162f08287f0e15c9a97966116c306b2c8cde52ec |
Hashes for minecraft_python-0.31.20091223.post2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a050d5f6e54a220cfce2a6a66e63223874dfd1535b0aff7a93183e71d9926321 |
|
MD5 | 2bf6fe2d1061c5a134be042b548a6bbc |
|
BLAKE2b-256 | b78a3739c0bfc87f56be209e05f01ab9816f00739995b5b7ef51a83b60b7db65 |
Hashes for minecraft_python-0.31.20091223.post2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a817abdb778e73da09f59626d9b5d6074085b026ee91e74c40be45203c782fa |
|
MD5 | 6fa358647d8e5dc87607743ae34bbd89 |
|
BLAKE2b-256 | c600f84d07a8ad45d4ab3945d300615acb0a207bfd4ed59983ede3994f0cdaa6 |