3 unstable releases
0.1.1 | Apr 9, 2024 |
---|---|
0.1.0 | Apr 9, 2024 |
0.0.0 | Apr 7, 2024 |
#653 in Game dev
15KB
284 lines
MCTools
A Rust library that contains some Minecraft tools.
Features
Usage
Skin to totem
List of supported png:
- RGB
- RGBA
- Indexed
- Grayscale
- GrayscaleAlpha
Although rgb
, indexed
and grayscale
supported, i recommend not using it.
fn main() {
mctools::skin_to_totem::generate("path_to_skin.png", "where_save_totem.png", true).unwrap();
}
Dependencies
~1MB
~21K SLoC