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/grylaor~/.cache/gryla - macOS:
~/Library/Caches/gryla - Windows:
%LOCALAPPDATA%\gryla\Cache
License
AGPL-V3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82364d33c7e139a84c7bab7952b230e63ba2abbbb5085e74f5ba71aa55126ca4
|
|
| MD5 |
b9eec206b3c618be35b02aeb26609ca0
|
|
| BLAKE2b-256 |
a8d91f6e90cadbf18bb032b03f8e57cd8060da3781c937c615ce35f1a8c905db
|
Provenance
The following attestation bundles were made for mcjar-0.0.3.tar.gz:
Publisher:
python-publish.yml on GrylaMC/gryla_utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcjar-0.0.3.tar.gz -
Subject digest:
82364d33c7e139a84c7bab7952b230e63ba2abbbb5085e74f5ba71aa55126ca4 - Sigstore transparency entry: 813341894
- Sigstore integration time:
-
Permalink:
GrylaMC/gryla_utils@aed21a6b9adaea4115dbf12913819e05db71784f -
Branch / Tag:
refs/tags/McJar-0.0.3 - Owner: https://github.com/GrylaMC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@aed21a6b9adaea4115dbf12913819e05db71784f -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b7469ebe6af50e212ad6e9cc74cba1e008c74028aa43bcea864fbc754e62b99
|
|
| MD5 |
848635e50e75025bd8f3ae6309e5dcdf
|
|
| BLAKE2b-256 |
25dd04e19957e846e75e8d9bc45f11b362a21010c99014bd300040d0b49f1937
|
Provenance
The following attestation bundles were made for mcjar-0.0.3-py3-none-any.whl:
Publisher:
python-publish.yml on GrylaMC/gryla_utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcjar-0.0.3-py3-none-any.whl -
Subject digest:
7b7469ebe6af50e212ad6e9cc74cba1e008c74028aa43bcea864fbc754e62b99 - Sigstore transparency entry: 813341896
- Sigstore integration time:
-
Permalink:
GrylaMC/gryla_utils@aed21a6b9adaea4115dbf12913819e05db71784f -
Branch / Tag:
refs/tags/McJar-0.0.3 - Owner: https://github.com/GrylaMC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@aed21a6b9adaea4115dbf12913819e05db71784f -
Trigger Event:
release
-
Statement type: