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 20100104 as released on January 4, 2010.
This version is the first version of Minecraft released in 2010, and it reintroduces sound and music to the game.
To easily install this version of Minecraft: Python Edition, just run python -m pip install minecraft-python==0.31.20100104
.
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, Pillow, PyOgg, and NumPy are required dependencies and can easily be installed with pip. Use the versions specified in requirements.txt
.
For audio to work you will either need PyOgg which is recommended, or FFmpeg which has to be installed on your system. GStreamer is also supported on Linux through the gst-python library. PyOgg requires that your system have one of the Opus, FLAC, or Vorbis codecs. OpenAL is required and comes bundled with the source on Windows.
For a manual Cython source 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. The argument -creative
will force the game to be in creative mode.
Gameplay
Press I to open your inventory. Early tools are in the inventory, but they serve no function yet. Press F7 to take a cool isometric screenshot and F5 to toggle rain. Other keys are listed in the regular options menu.
The only mobs around are the Rana mobs, but they don't drop anything when killed. 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.20100104.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe1afc2ce3238b3afdb6244c62bb9adebb514089fad57518d360d0565644ec4b |
|
MD5 | 4fe14dfc4bc5cf4c1ae205bef6292e11 |
|
BLAKE2b-256 | 4d8886fedf51f7613b1930169439415b458e01b8adc68abcdec9f5dd995bbbd6 |
Hashes for minecraft_python-0.31.20100104-pp39-pypy39_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8451589f769555bfa6db1c3b69434716aca3d5e31d579fb7aef68d5f0ab2b5e4 |
|
MD5 | c66c092f291274224f72c9fafcb4bcdb |
|
BLAKE2b-256 | d0154b3756885632cbb493b189daf6c2d36e1e94a984bc9874a01dabebc7f70c |
Hashes for minecraft_python-0.31.20100104-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66548d4af8e9ceb6188f66b954d9892edbae7b7db0862fa857653df1c716be69 |
|
MD5 | 43d5b79c47389ab1f73c5e870c293c2d |
|
BLAKE2b-256 | d89e7687e34bbe403f781771fe19685d4171cb86378e6b166844d2372016a1fd |
Hashes for minecraft_python-0.31.20100104-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b03e438828fcf8668a9225b9d3fafac15fe4e238372133c63676e1409d7daf9 |
|
MD5 | 51a00aa98399a0732c48e732f64aa788 |
|
BLAKE2b-256 | 8618514855e11fee8edc8bda30409f2f49ed58cf4b1a3c1df1b7d3ebb3d55b71 |
Hashes for minecraft_python-0.31.20100104-pp39-pypy39_pp73-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78feaf5ca6953c83415fd288b522144ba095adedfe8a9eee399aad27cfeb71b |
|
MD5 | 18782751f94f33f0b6a42b84d06a6164 |
|
BLAKE2b-256 | 03571a7d2860287855808a20ede4f29f1272dddb9213b51226c04044cdf47ee3 |
Hashes for minecraft_python-0.31.20100104-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c4e04932fccd54894fd83d7eaf6b987004260f65756ff7e64f9f0f714380fb3 |
|
MD5 | e27f6d625ee048c5f7fc285f896d90a0 |
|
BLAKE2b-256 | d4dc7864fbecf5388ceedb9aada663f35f0ea3f426f93e44467f8adcec90576f |
Hashes for minecraft_python-0.31.20100104-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b15c1690f36fe896e0125f4ac65890168a04b46a8a0a93848ea71a57438e5d7 |
|
MD5 | 4d23202128aabe870be162fcdc117f55 |
|
BLAKE2b-256 | f5dc9f66dbb9ac5db68eff08a54a59e7f4c43230ef1ef66e586c63316cbe50e2 |
Hashes for minecraft_python-0.31.20100104-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5d4f5e3661e7634f3453b2599a7105fe21821554ec6dcc335bffac0de5f15cd |
|
MD5 | 17e5d4b70a0be6bc1b40b88b34468c0f |
|
BLAKE2b-256 | fab6362a3030ab189614253eb6ecb163ac1a5b3fc40f8624b9c025d2e00a2f12 |
Hashes for minecraft_python-0.31.20100104-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0826e08bcd8bcd191304cf46785028a933a5a11e81db8fdeab2329b62f3cdce0 |
|
MD5 | 7d098adbed6d41f26a0eeb15e37775f4 |
|
BLAKE2b-256 | e4942503e792ec01c97e19cd1ee5dedc839ad931beeaf78f0ca3aaaee38600ae |
Hashes for minecraft_python-0.31.20100104-cp312-cp312-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 247c97c7f21fe50dabf124904c0cd0af14d33d400cf939e6ee5ee5c89b54bc6e |
|
MD5 | 97449350e86892ede6e4dd441a64af28 |
|
BLAKE2b-256 | d9336423529ec06ca4a2da6394d9715dd1655cdb23baf7f726737bc9389406cf |
Hashes for minecraft_python-0.31.20100104-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5e5e1bb162cdca11c3416346f204a1a56d2270cefc595192c2f52c812d958e6 |
|
MD5 | abf53c652f0f9851f107b64762d42839 |
|
BLAKE2b-256 | d5816a4c3ee9d0bf455de25cef58d2be4efa7f3bc2d9ff3ffdc5680f37f272ac |
Hashes for minecraft_python-0.31.20100104-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6acb61d2bc58829c259c6b784a934734e2452e191f472c04bc1b16d0266c461 |
|
MD5 | e5af35574c86f776c37351df61d9a717 |
|
BLAKE2b-256 | 8bcad35bf22ff7a4cd7bdf0ed616e00184c27d7afd1536ba727798f4d6f53d45 |
Hashes for minecraft_python-0.31.20100104-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f1b23efad07ecd94441e5c97715165eca77d126706f2dbe343208d191cef866 |
|
MD5 | 8c5b9ad0523fad51cb8031899b895398 |
|
BLAKE2b-256 | 1610838839e8836a80f4434f6a251451ea900004856951b932b9a6746b3e2152 |
Hashes for minecraft_python-0.31.20100104-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcfef0fd0c7af31cdb218d3f20ce6c3721e8c23c129d02ae45f457e42935079e |
|
MD5 | fb9f8a7a6e75eb77b143e3a414ad1f78 |
|
BLAKE2b-256 | bf2ea2c2a6c7c0edda851eb47d7be6b540c6d174b9803e1921d206cfc1c031d0 |
Hashes for minecraft_python-0.31.20100104-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c97f42657ed97a8cf1edee34df8a4fc55da499791320d6e98fc320286f0475dd |
|
MD5 | 78918d7a2c6294020f7ca16788e2c8a9 |
|
BLAKE2b-256 | 7c75c79e81fb382c23695067e89d2763720440c50ceeab8b990f6fe09a62ea31 |
Hashes for minecraft_python-0.31.20100104-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da16c9d882e55c8a1d4e3cceea6a9f3be8a71bf575ed19ec765bf82cd67b33fc |
|
MD5 | 1d5034eae74841184149210ed6fc88e2 |
|
BLAKE2b-256 | 12d013de535cc814a05026141ca44e2dd15590cb898f66e4fd4fafd17af21306 |
Hashes for minecraft_python-0.31.20100104-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | faa4483ca9f81443ad5ab747ff439f05cc95e5716b1d66782c49ac825abf7aeb |
|
MD5 | f34c50df97cd580c1e6dcc752f89bed7 |
|
BLAKE2b-256 | 5efa894661009337d1d613a4930439a1c53d081385b7f4fc4e95bd1afb4a1bf3 |
Hashes for minecraft_python-0.31.20100104-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 991f40c1bb32982f5418cc549883bd45868289e6449d572a314c8538136e5c3e |
|
MD5 | 7b6b111613e9f0319ed5d5634222a06e |
|
BLAKE2b-256 | 384a7491c47d1b93184dcf72585ea4d0081a27f672bbb1304e75653feda7c38e |
Hashes for minecraft_python-0.31.20100104-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b993fd2e125fca15fed74d35e36679ac1e041ca4059efdf61ddcb88e599a88dd |
|
MD5 | c9948bd20870b685cb918971aa080441 |
|
BLAKE2b-256 | 5463c2c6939dd620e4a8c3107aa78ae2efac6346326d81396824b1d06aa37520 |
Hashes for minecraft_python-0.31.20100104-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0135612f76078fd39a359ca480ab1db267313b6779d5c59fae3df35f1a17e977 |
|
MD5 | 1527423e02357413d61ffc743065e55d |
|
BLAKE2b-256 | d7a5bebfccb48f4d701d0efad9115d0a3d6be586105d55061829559d7142181d |
Hashes for minecraft_python-0.31.20100104-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5f1e0c6a21e5a1af139209a02ee31a4d99faae7359d72b8f23b6cd145d1de07 |
|
MD5 | 7bad42f62078a69e02f594f88ef82943 |
|
BLAKE2b-256 | 9552571fb8158d37ade794685de779ef2e7fc70a42e39ac3cbbcf3cd3e888ced |
Hashes for minecraft_python-0.31.20100104-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f46c875c8dbc8b7589101d11790c6e653975fb4773d1b85735fca051238fe183 |
|
MD5 | 5125d39b64d5fce8abb4be8a2827cb41 |
|
BLAKE2b-256 | 700c64473d00a8d562d853ae0030b891e9e6f46021b16b87f7b2cdfdb687cd04 |
Hashes for minecraft_python-0.31.20100104-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef457aafe4f5c758018d1278dde368a114b161a2be97e4a78f8e4188df850368 |
|
MD5 | 366f29b81c4c5438ae56536b684b678b |
|
BLAKE2b-256 | 1523aa26f4e5959d574cff6916d5d4eb80a9a75a6379bed6476f9f0e1eed60b7 |
Hashes for minecraft_python-0.31.20100104-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2af8eebb382fda7ac36b8c798d06fadaa515c164579dee3dd6f4dde1b8fde1b1 |
|
MD5 | 9bef57b2baeffc3b43b5d6929e993e85 |
|
BLAKE2b-256 | 82e56fa176eff23300197f13c012609b60ffd8c1396c644d8b81e6a57726c93e |
Hashes for minecraft_python-0.31.20100104-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fc960d243c3f68175cbad5b2e9452fa3a58006c63bdf2f5d25eac3ff7650611 |
|
MD5 | 09f57e1f57da0c03f77d2a2a361f3b9a |
|
BLAKE2b-256 | 049276a9d11a1bb70642272cd97985079be3a0481ab81f507bf7d72d3abe0c52 |
Hashes for minecraft_python-0.31.20100104-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04fd834d9e56f094e41f56e0674692ef1e0a8b494422906b7b4729fa74eacd1f |
|
MD5 | 53ccc3802470c9b0d130735d1a42eb56 |
|
BLAKE2b-256 | bdb88938be9a0b3212908af9266cdebac451478216d23d8f91f31443b42b796d |
Hashes for minecraft_python-0.31.20100104-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d095988c08ecd085a611cd302d812b046ece2116e10a99a58f3606926671efd |
|
MD5 | 12b79d9d93e61614d04786f4b336c7f1 |
|
BLAKE2b-256 | f7ee12a4e0d2fc48d5c894e15aba565a2366f2157e0ef4ee652002b97a382f0e |
Hashes for minecraft_python-0.31.20100104-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2c3c0a5d990adf622d426ac04347e359aa6197325ef3c001bd6d7fee67472e3 |
|
MD5 | f5c08a5ecb1ac9f0ee15c6f90e580c87 |
|
BLAKE2b-256 | ae380e210cca74daebd95dc068ef6b1b041e4928241413c9cb7a83e0cc379cc2 |
Hashes for minecraft_python-0.31.20100104-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddbd6a560455fc5148737d656d305a77853b1260c727e8f6b16caa13e1f5bcd7 |
|
MD5 | d73551acbb7d2efe88eeb7d0598338e8 |
|
BLAKE2b-256 | 350eb622d3b15b543608b650b24fd652b3ec258028cae7f39809e1ce6e33fda0 |
Hashes for minecraft_python-0.31.20100104-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f717d9cfee3d1f1b3c26df45dd740156ade94273e02aabd4970e1d886347da4 |
|
MD5 | de8b518e582e4399f2103f3b80afaaaa |
|
BLAKE2b-256 | 18f4a955239bf4df50c6bf6b0479d1acf3814167235b6908b25356a5628a81b7 |
Hashes for minecraft_python-0.31.20100104-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c48d0983cdc945e45ff1e2ec098b5f89ae35640f438165a79f4607933706e23 |
|
MD5 | 86ce487de6eb717a3efcbef23e544931 |
|
BLAKE2b-256 | 4ba0142980ff0f703827196af4d0a392aa25301ae182a75d311b2b635056ba5a |
Hashes for minecraft_python-0.31.20100104-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06f39bd433c11315cf2e78fbd3d0a0f4e71011f31a3bd0872af240ba9819848 |
|
MD5 | 7a40009fdd94124fb72ec42bfbc8a80d |
|
BLAKE2b-256 | 19b02bf60630c09da89dbb1b1f475056a73e2670d61e251122e3a64f0ed08d7e |
Hashes for minecraft_python-0.31.20100104-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2508de15572d7d0248f1b2ee3e5dfe4c9c44a2ae916fbf3c4b74166380f83432 |
|
MD5 | 43c1ad056ecd97646594873e8b2fe931 |
|
BLAKE2b-256 | 147338161ee5f3947a581ac8b5a6dc763b7ed790f661497b70a5dcb55403350c |
Hashes for minecraft_python-0.31.20100104-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0ba7f566b04e791e63a73d4fdb8a0e59edc67d028ba972dc3084e92133192c8 |
|
MD5 | ef759e17c5364b0166937692fed909f9 |
|
BLAKE2b-256 | 4fb74722447669a27370c58659b10af0498ee0e8204f5d318af97037254d15dd |
Hashes for minecraft_python-0.31.20100104-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee92989ab61d79af4ed59875e6b04b90a63697fe48ccf40365a8dd1581d430a7 |
|
MD5 | b3dff61185451efa1466383517efed74 |
|
BLAKE2b-256 | 42a3afc0aa845aeb01f739b329d7936c432876a2b5318ec62ad51c062fa97dec |
Hashes for minecraft_python-0.31.20100104-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a275a0182c3d40efcc2221de3d3ba150b4577e04e202a46ab7e1fbaac5ddcde9 |
|
MD5 | 4e039cf3fe4573912694bb38290e9499 |
|
BLAKE2b-256 | 152a5a6b7f4f6c5ab9edc637abdde9632ac074942e0e03cbadc97b6fe4916102 |
Hashes for minecraft_python-0.31.20100104-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f15da735e35c21b88e974dbfcdb8c43c68df429fdd9e1da6931e14d40b2f24b9 |
|
MD5 | 32a7c3841cab420326034990626a835b |
|
BLAKE2b-256 | d7a40a6cde6c5da8237d217e4bfea960eda0d8c617c23fdead527da7f19cc03f |
Hashes for minecraft_python-0.31.20100104-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 899021ecc0479ee64be4060c1370ca75b307eec6871e94e19c66fb4dafd0d6df |
|
MD5 | 07e8a09e8473f52525888671923f7c5f |
|
BLAKE2b-256 | c6d1252998372fdacfb8aba7a64d9cabe05e8ca5f02cd34ca621b46b8e402b15 |