Export / convert materials
export_materialCook .sbs and .mcraft packages into PNG/JPG/TGA/EXR texture maps, .mcmat materials, or converted packages without altering inputs; outputs go beside each source or to an output directory.
Instructions
Cook one or many packages (.sbs, .mcraft) into texture maps (png, jpg, tga, exr...), portable .mcmat materials or converted packages, one after another. Inputs are never changed; outputs go next to each input or into output_dir.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formats | No | ||
| map_size | No | Pixels of the larger side (a power of two; default: the graph size). | |
| bit_depth | No | ||
| input_dir | No | ||
| overwrite | No | ||
| map_format | No | png | |
| output_dir | No | ||
| input_paths | No |