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.5.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.5-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcdl-1.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 5890699f60529dcb6f1cc10956c17d8a2ef3c01a51c6e3a5614885fa3cfa7a24
MD5 daad2795a3379f55bebeca89be5c1a54
BLAKE2b-256 613cc397dc85ac3ef2d499c1ecb8a065b154adfce77b0182652df2cc10100e73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcdl-1.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c488b2a461569720f470ab545358a96b4635231763c47d659e7f5ac21f64b5ab
MD5 a43195ce0086399b8511a359140a01ec
BLAKE2b-256 d6ffa786baa10684c53e4ad8f15b1e07fc02495e9b6e83cd29c9e82a9178c84e

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