Icons
Every icon in the menu files takes the same keys: item, glow and modeldata. item is a vanilla item, a pack: model or a plugin item (Item ids). Here is the Visible button's icon while it is on, in stand.yml:
# menus/stand.yml
visible:
enabled:
item: ARMOR_STAND
glow: true # true adds the enchantment glint; false keeps whatever glint the item has
modeldata: 1001 # custom model data, above 0
modeldatatakes a whole number above 0.0, a number below 0, or an empty value means none. It works on vanilla items andpack:icons. The shipped files have none, and updates never add or removemodeldata. With a plugin item id,modeldatais used only on the built-in item that shows when that plugin item is missing.- In the files BoxStand writes, every toggle's
enabledicon glows. In the download's files, nothing glows. - Part icons on the pose page ignore
glow.
Item ids
item takes one of three kinds of id. A vanilla item is written by its name, in upper or lower case:
# menus/stand.yml
pose:
item: ARMOR_STAND
A pack: id is a model from the resource pack, shown on a paper item. pack:boxstand:pose is the model assets/boxstand/items/pose.json. On 1.21.3 the model is in models/item/ instead.
# menus/stand.yml in the download
pose:
item: pack:boxstand:pose
An item from an item plugin starts with that plugin's prefix:
# menus/stand.yml
pose:
item: nexo:pose
| Plugin | Written like |
|---|---|
| Nexo | nexo:pose or nx:pose |
| ItemsAdder | ia:boxstand:pose, or with the long prefix itemsadder: |
| Oraxen | ox:pose, or with the long prefix oraxen: |
| CraftEngine | ce:boxstand:pose, or with the long prefix craftengine: |
| MythicCrucible | cr:pose, or with the long prefix crucible:. Write the id with the same upper and lower case as in its file |
- A prefix may be written in upper or lower case. Do not write
minecraft:arrow: a name with a colon is read as apack:or plugin id. - If the plugin or item is missing, the built-in item shows, with no warning. An unknown prefix (
boxstand:pose) or a word that is not a vanilla item also shows the built-in item, and logs a warning. - The same ids work in the
itemandoff-itemkeys of the mannequin files. - After a restart, a menu opened before the item plugin has loaded shows the built-in items. Open it again once the item plugin has loaded.
Built-in items
When an icon's item is empty (item: "") or names no item that can be found, the icon shows its built-in item. That is not always the item the file ships with:
| Icon | Built-in item |
|---|---|
back in common.yml |
ARROW |
blank-slot in common.yml |
WHITE_STAINED_GLASS_PANE |
empty-slots in stand.yml |
LIGHT_GRAY_STAINED_GLASS_PANE |
visible |
GLASS |
gravity |
FEATHER |
arms |
STICK |
base-plate |
STONE_PRESSURE_PLATE |
lock |
IRON_DOOR |
size, the parts in pose.yml, and reset in pose.yml and reset.yml |
ARMOR_STAND |
pose in stand.yml |
BONE |
pose.busy |
BARRIER |
colors and colors.shown |
BRUSH |
paste in stand.yml, paste-pose in pose.yml |
YELLOW_STAINED_GLASS_PANE |
edit in pose.yml |
WRITABLE_BOOK |
| Your own buttons | PAPER |
- A toggle's
enabledanddisabledicons have the same built-in item. - A part's
editedicon has none: when it names no item, the part shows its plain icon with a glint (parts).