Script that allows you to extract and scale Minecraft's item and block textures.
Project description
texture_miner
Texture Miner is a Python script that allows you to extract and scale Minecraft's item and block textures. It automates the process of downloading the necessary files and performing the required operations.
Table of Contents
Getting Started
Prerequisites
Install/update the pip package manager.
python3 -m pip install --upgrade pip
It's also recommended to use a virtual environment.
- Linux / MacOS
python3 -m venv venv-name source venv/bin/activate
- Windows
python3 -m venv venv-name venv\Scripts\activate
Installation
Use pip to install texture_miner
.
python3 -m pip install --upgrade textureminer
Install the required libraried as listed on requirements.txt.
python3 -m pip install -r requirements.txt
Usage
To download and scale textures for the most recent stable release do the following.
python3 -m textureminer
At a high level, the script follows the following steps.
- Download the client
.jar
file for the specified version from Mojang's servers. - Extract the textures from the
.jar
file. - Filter the extracted files, only leaving item and block textures to the specified output directory (default:
~/Downloads/mc-textures
). - Scale the textures by a specified factor (default: 100).
- Merge the block and item textures into a single directory by default.
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
textureminer-0.0.2.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for textureminer-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 365cebbec8379872f83eae618d3f9d28aab799777cc4d41e7269aedb6002ad26 |
|
MD5 | 48f8839136b3df77d722fbb88365ea9b |
|
BLAKE2b-256 | c70dd58822fe7d59759ad88a189a76bb2f4ca997d5aef5f00d75fbbd2a9d0dcc |