export_minecraft_texture
Export an Aseprite sprite to a Minecraft resource pack at its correct texture path, writing a PNG or animated vertical strip with .mcmeta sidecar.
Instructions
Export a sprite into a resource pack at its correct texture path.
A single-frame sprite exports as a plain PNG. A multi-frame sprite exports as a
**vertical strip** (frame 1 on top, no padding) and gets a ``.png.mcmeta`` sidecar -
that pairing is what the game reads as an animation, and either half alone is broken.
Args:
pack_root: The resource-pack directory (its ``assets/`` tree is written under this).
namespace: Your mod/pack id. Defaults to "minecraft", which overrides vanilla.
category: Texture subdirectory - block, item, entity, gui, particle, ...
texture_name: In-pack texture name, ``/`` allowed for subdirectories. Defaults to
the sprite's filename stem.
frametime: Ticks per frame for the animation sidecar (1 tick = 50 ms).
interpolate: Blend between animation frames.
frame_order: Optional playback order (see ``write_texture_mcmeta``).
overwrite: Replace existing files (default False = no-clobber).
Returns a ``workflow_manifest.v1`` manifest (kind ``minecraft_texture``).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Default: "block". | block |
| filename | Yes | ||
| frametime | No | Default: 1. | |
| namespace | No | Default: "minecraft". | minecraft |
| overwrite | No | Default: false. | |
| pack_root | Yes | ||
| frame_order | No | ||
| interpolate | No | Default: false. | |
| texture_name | No |