This action generates isometric block icons for Minecraft using textures from a specified directory. It is based on the cubeSpriteGenerator project by ofunny.
- ImageMagick (Ensure "convert" is included during installation)
- Bash (Linux, macOS, or Windows WSL)
- Go to the "Actions" tab in your GitHub repository.
- Select "Render Block" from the list of workflows.
- Click "Run workflow" and enter the URL to the textures zip file.
- The generated icons will be available as an artifact named "Icon".
Run the script with:
bash ./convert.sh [input_directory] [output_directory]Example:
bash ./convert.sh input/ output/To specify different textures for cube sides, add suffixes to the filenames:
_top→ Top side_north→ Front side_west→ Left side
Example files:
andesite_pillar.png
andesite_pillar_top.png
andesite_pillar_north.png
andesite_pillar_west.png
This project is based on cubeSpriteGenerator by ofunny. Please respect the original license.