Skip to main content

No project description provided

Project description

Gryla McJar.py

A general-purpose utility for downloading and deobfuscating Minecraft JAR files. This tool handles fetching vanilla binaries, resolving mappings (Yarn, Mojang, Spigot, RetroMCP), and remapping JARs to named namespaces.

Features

  • Vanilla Downloads: Fetch client or server JARs from Mojang's Piston meta or OmniArchive.
  • Mapping Support:
    • Yarn: Automatic lookup for Fabric's Yarn mappings (Modern and Legacy).
    • Mojang: Official Mojang obfuscation maps.
    • Spigot: BuildData-based remapping for server JARs.
    • RetroMCP: Support for historical versions via MCPHackers.
  • Smart Caching: Avoids redundant downloads and remapping operations by storing artifacts in ~/.cache/gryla (or OS equivalent).

Prerequisites

  • Python 3.8+
  • Java JRE/JDK: Required for the remapping tools (Tiny Remapper, SpecialSource-2, etc.).
  • Git: Required for cloning Spigot BuildData.

Usage

1. Download a Vanilla JAR

Download a specific version without remapping. Use @omni@ prefix for OmniArchive versions.

mcjar get 1.20.1 client -o minecraft_1.20.1.jar
mcjar get @omni@b1.7.3 server

2. Remap a JAR

Download and remap a JAR to named mappings using a specified mapping provider.

Using Yarn (Default):

mcjar remap 1.20.1 client -m yarn

Using Mojang Mappings:

mcjar remap 1.19.2 server -m mojang -o server-mapped.jar

Using Spigot Mappings:

mcjar remap 1.12.2 server -m spigot

Using RetroMCP (for older versions):

mcjar remap b1.7.3 client -m retromcp

3. Cache Management

Clear the local cache directory to free up space or force fresh downloads.

mcjar clear_cache

Configuration

The storage directory can be overridden by setting the GRYLA_HOME environment variable. By default, it uses:

  • Linux: $XDG_CACHE_HOME/gryla or ~/.cache/gryla
  • macOS: ~/Library/Caches/gryla
  • Windows: %LOCALAPPDATA%\gryla\Cache

License

AGPL-V3

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

mcjar-0.0.3.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcjar-0.0.3-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file mcjar-0.0.3.tar.gz.

File metadata

  • Download URL: mcjar-0.0.3.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcjar-0.0.3.tar.gz
Algorithm Hash digest
SHA256 82364d33c7e139a84c7bab7952b230e63ba2abbbb5085e74f5ba71aa55126ca4
MD5 b9eec206b3c618be35b02aeb26609ca0
BLAKE2b-256 a8d91f6e90cadbf18bb032b03f8e57cd8060da3781c937c615ce35f1a8c905db

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcjar-0.0.3.tar.gz:

Publisher: python-publish.yml on GrylaMC/gryla_utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcjar-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: mcjar-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcjar-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7b7469ebe6af50e212ad6e9cc74cba1e008c74028aa43bcea864fbc754e62b99
MD5 848635e50e75025bd8f3ae6309e5dcdf
BLAKE2b-256 25dd04e19957e846e75e8d9bc45f11b362a21010c99014bd300040d0b49f1937

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcjar-0.0.3-py3-none-any.whl:

Publisher: python-publish.yml on GrylaMC/gryla_utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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