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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcdl-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 595ccc72e37f53e79444f6ae06bc7b772413dddd066078387da092da71c4074d
MD5 23dce4ffade8b196ec2a55baf84fbf11
BLAKE2b-256 67a86b12cb855ee503b97dd3940fd868b4e87ecddd7fb84abd07ad0e6d451edc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcdl-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75ce59c3e4bc6df19a03df2a9de5867f96dfd035a89e7a939f4d73fb1d255af7
MD5 10d8434f1689529a2df2bad3ddf6557a
BLAKE2b-256 8779d50278efae4da6f6b519920dce8b4f535ddad7ef49b651394d80b857a236

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