Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

minecraft-python

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minecraft-python

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

  • 161348
  • Source
  • PyPI
  • Socket score

Maintainers
1

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-161348 as released on May 16, 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==161348.

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 five 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 (6 for saplings) 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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc