Skip to main content

A simple game downloader for Minecraft (mc)

Project description

MCDL

a simple game downloader for Minecraft

Install

pip install mcdl

How to use?

# Example: download & launch Minecraft 1.21.11
from mcdl import get_version_meta, MinecraftVersionDownloader, Launcher

# create downloader
downloader = MinecraftVersionDownloader(get_version_meta("1.21.11"), "version-name")

# download
# Game path: ./game_folder/.minecraft/<version_name>/<version_name>.jar
Launcher(downloader.download("./game_folder")).launch("<username>")
# Example: launch 1.21.11
from mcdl import Launcher, MinecraftVersion
v1_21_11 = MinecraftVersion("1.21.11", "<version_name>", "<version_folder>", "29")  # 29: asset version
Launcher(v1_21_11).launch("<username>")

References

Minecraft Wiki 编写启动器 Mojang API

Project details


Download files

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

Source Distribution

mcdl-1.1.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcdl-1.1.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file mcdl-1.1.2.tar.gz.

File metadata

  • Download URL: mcdl-1.1.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mcdl-1.1.2.tar.gz
Algorithm Hash digest
SHA256 6fdec02d12ce2706d687b3c090392d25ba82db1adf192cbee69e12210e4f8695
MD5 2ed74966472853733cd5c2f41dec8d0a
BLAKE2b-256 8aaa62212d98382ecf99698d3eb85426e46285b4df348f7eb5aa0102f45cbde3

See more details on using hashes here.

File details

Details for the file mcdl-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: mcdl-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for mcdl-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e0b5dc846b2fbffd4bfd220338135f90079115682a61f6644c61142d0bf88302
MD5 99e5f982df141071383bd5245bee953a
BLAKE2b-256 084d1857e058f1ac37a9e4d4a5bbd68818caf8ab0d90606edb40e28d2178db34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page