pack_uv
Pack cube UVs into distinct texture regions for box_uv models. Required before texturing; re-run after adding or resizing cubes. Auto-grows texture if layout overflows.
Instructions
Shelf-pack the box UVs so every cube gets its own region of the texture. REQUIRED before texturing a box_uv model (GeckoLib/Bedrock): newly created cubes all sit at uv_offset [0,0] and otherwise paint onto the same pixels. Re-run after adding or resizing cubes. Auto-grows the texture (preserving paint) if the layout overflows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cubes | No | 'all' (default), or specific cube names/uuids. | |
| padding | No | Pixels between UV islands (default 1). | |
| auto_resize | No | Grow the texture if packing overflows (default true). |