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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcdl-1.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 30b1cf9547eb6412adc1115d4358db8e02519f8395955a5a532776fda515920a
MD5 c928563aa758ddca33286885e92b9268
BLAKE2b-256 a54728750eac47feea7d1068f4dde6da1d9f3db1228c582984edc285ea621bde

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcdl-1.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b8f47cc91bf4aa1ad423b3500fd16f53cd4e0931e041358ff9533d17f961a9
MD5 22034ce42c1408df444cad1867800be0
BLAKE2b-256 2955c5f315eecd2fd03a0c18ea15931a7a2966731a0b44cc54c99164d830b7b1

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