Skip to main content

Version manager for decompiled Minecraft source code

Project description

Shulkr

Shulkr is a tool that decompiles multiple versions of Minecraft and commits each version to Git

Requirements

  • Git
  • JDK (>= 17 for Minecraft 1.18)
  • Gradle >= 7.3

Installation

pip install shulkr

Usage

shulkr 1.16 1.17 1.18

A commit with the decompiled source code will be generated for each specified version of Minecraft:

40240b1 version 1.18
86dc440 version 1.17
5d13494 version 1.16

Version Patterns

Ranges of versions can be specified with the .. and ... operators:

  • A..B expands to all versions between A and B (inclusive), not including snapshots
  • A...B expands to all versions between A and B (inclusive), including snapshots

A and/or B can be omitted, defaulting to the earliest and latest supported versions, respectively.

Options

--repo / -p

By default the source code is generated in the current working directory. To specify a different location:

shulkr --repo minecraft-sources MINECRAFT_VERSION

If the directory does not exist, a new git repo will be created there.

--message / -m

This option lets you customize the commit message format:

shulkr -m "Minecraft {}" 1.18-rc4

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Licensed under the Apache License, Version 2.0.

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

shulkr-0.1.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

shulkr-0.1.1-py3-none-any.whl (3.8 MB view details)

Uploaded Python 3

File details

Details for the file shulkr-0.1.1.tar.gz.

File metadata

  • Download URL: shulkr-0.1.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for shulkr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 863f853fdb2e4580effe6d1965dfb53e65980ea1a9617cc2a29d3348d989a644
MD5 a0e2f16307a6eeb9eb1539f46edd0bf6
BLAKE2b-256 d8a7bfd33c3f47f99e1b189f58d28ad80486b13fe9397d6f61e77ed82f9774c8

See more details on using hashes here.

File details

Details for the file shulkr-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: shulkr-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for shulkr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f994eea8a39e0de4cdbfb8be97fb41b01b65b97a8139e1cf935073f742ae7cd
MD5 db633cae194f156cc0f3825567b154d1
BLAKE2b-256 cb940e16a808bb98662a1ab027bec836bb0977b3f37f450eb7ed138803a08c5d

See more details on using hashes here.

Supported by

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