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

# 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.0.tar.gz (5.7 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.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcdl-1.1.0.tar.gz
  • Upload date:
  • Size: 5.7 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.0.tar.gz
Algorithm Hash digest
SHA256 280a368c01eb2e49c629eea52b8458445a39839c6390240b7c96d5a05c16c435
MD5 d0ecaedf19737bedc073f10ae36e9384
BLAKE2b-256 df358ea4a4d60eeb739ef962edb44a31660a4d0991646671c00010da350ffe02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcdl-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 186c929e9b6200fd78370c3b78f969517d888c2c66d01fee3336efdd8a78a4a5
MD5 88b3fd2943b40cc65fd88066f62dc80c
BLAKE2b-256 a71970a02e8d5cc9a1d6bc88cc9779b097d74165dd05e5d37bc3e6cfe29e449a

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