Import skin PNG
texel_import_pngConvert a PNG into an editable spec with one layer per painted face, supporting Minecraft player skins, mobs, armor, and item textures.
Instructions
Convert an existing PNG in the workspace into an editable spec, one layer per painted face, palette keys c01…cNN. A player skin (64×64 or legacy 64×32) by default; pass layout for a mob, armor, cape, item or block texture. Rename palette keys to material names before editing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a .png file, relative to the workspace. | |
| layout | No | Texture layout of the PNG, e.g. "zombie", "humanoid" (armor), "item". Default: player skin. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| lossy | Yes | ||
| model | Yes | ||
| layout | Yes |