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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcjar-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 da96463414a55b6218dfbdc819e0f009d2ebe357d0ef5327d269456082d9bc28
MD5 96b47b1c2d12975822054b1e34c4c723
BLAKE2b-256 00c54de3e85e03a4dee25af41bbad2fd6724c80006e004d1e0a66f99143eb307

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcjar-0.0.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: mcjar-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bbb25461eba7337b847f52111fd8e12a7c8193cf2944d1e39996aa2026bcbc2d
MD5 ef418933a821ed33bb6191ae54966a84
BLAKE2b-256 b7ac99e62e89c1f03a7184a1a726059d98f0a7afc13504a2d8c0f3d79be18d09

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcjar-0.0.2-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