mcextract
Extract assets and data from the Minecraft jar.
Installation
Install the module with pip:
pip3 install mcextract
Update existing installation: pip3 install mcextract --upgrade
Features
- Easy to use command line interface.
- Choose to extract the assets or data folders from the Minecraft jar
- Map objects to get access to all sounds, langs, and other hidden assets that aren't in the jar.
- Run the built-in data generator to get reports, registries, and vanilla world generation files.
Examples
Run using the API
import mcextract
api = mcextract.MCExtractAPI()
api.extract("1.20.4/1.20.4.jar", True, True, accept_eula=False)
api.map("16.json", accept_eula=True)
api.generate("1.20.6", ['--client', '--server', '--reports'], accept_eula=True)
Run using CLI
mcextract extract 1.20.4/1.20.4.jar --assets --data -eula
mcextract map 16.json -eula
mcextract generate 1.20.6 --client --server --reports -eula
Command line commands
usage: mcextract [-h] [-V] {extract,map,generate} ...
positional arguments:
{extract,map,generate}
extract Extract data or assets folders from the Minecraft jar.
map Maps Minecraft's objects using an index file.
generate Use Minecraft's built-in data generator.
options:
-h, --help show this help message and exit
-V, --version print the mcextract version number and exit.
Planned Features
- Add minimize or maximize JSONs.
License
This project's source code is under the MIT license and the Minecraft EULA.
Metadata
Release files for mcextract 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcextract-1.2.0.tar.gz | 6.3 kB | Without provenance | Details for mcextract-1.2.0.tar.gz |
Release files / mcextract-1.2.0.tar.gz
| Download URL | mcextract-1.2.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93b2a8a7136d418e752d9c7f9c70681c5562b598b93feb3f7517eca1ee7a8fbe
|
|
BLAKE2b-256 checksum How to use checksums |
65db631beadfb71a2ac24395423a1a1793aa0b4244ba80c68e75e565ad4c42e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Security for mcextract 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.