Set display transforms
display_setSets item or block model display transforms for one or more slots, including rotation, translation, and scale, with optional presets and undo support.
Instructions
Sets display transforms (undoable). Give "display" for several slots, or "slot" with rotation/translation/scale, or a "preset" file. Fields you leave out keep their value unless replace is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | ||
| scale | No | [x, y, z], each within -4..4. Negative mirrors. | |
| preset | No | A .json file with a "display" block (for example another item model) in the output or assets folder. | |
| display | No | ||
| replace | No | Reset each given slot before applying. Default false. | |
| rotation | No | Degrees [x, y, z]. | |
| translation | No | [x, y, z], each within -80..80. |