mcextract
Extract assets and data from the Minecraft jar.
Links
- 🥧 PyPI
- 📁 Download
- ⚙️ Source Code
Installation
Install the module with pip:
bat
pip3 install mcextract
Update existing installation: pip3 install mcextract --upgrade
Examples
Run using the API
py
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
sh
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
TIP
You can queue multiple commands by separating them using a semicolon (;
)
sh
echo First; echo Second; echo Last