Skip to content

Mannequins

A mannequin model is a ModelEngine model that a stand wears, set up in BoxStand's own files. Minecraft's own Mannequin entity needs no file: BoxStand dresses it as in Mannequins of other plugins. Each .yml file in plugins/BoxStand/mannequins/ is one kind, and each model in it is a variant in the picker. After you add, change or delete a file, run /boxstand reload.

The shipped kinds

File Name in game Variants and models Notes
mannequin.yml Mannequin wooden mannequin, white mannequin_white, black mannequin_black Full body
torso-mannequin.yml Torso Mannequin wooden mannequin_torso, white mannequin_torso_white, black mannequin_torso_black Hides leggings and boots
custom-mannequin.yml Custom Mannequin slim mannequin_custom_slim, steve mannequin_custom_wide permission: boxstand.custom-mannequin

The shipped kinds, each in its own pose: Mannequin and Torso Mannequin in three variants each, Custom Mannequin in two. Some wear a piece of armour or hold a weapon The same, turned round

Their pack:boxstand: icons need only the BoxStand resource pack, and no item plugin.

The whole file

torso-mannequin.yml:

name: Torso Mannequin
order: 2
off-item: pack:boxstand:mannequin_torso_off
hide-slots: [leggings, boots]
variants:
  wooden:
    model: mannequin_torso
    item: pack:boxstand:mannequin_torso_on
    defaults:
      base-plate: true
    animations:
      helmet: mannequin:wear_helmet
      chestplate: mannequin:wear_chestplate
      right-arm: mannequin:wear_right_arm
      left-arm: mannequin:wear_left_arm
      wear: mannequin:wear_chestplate
      balloon:
        on-fill: wear_balloon
        on-empty: mannequin:wear_chestplate
  white:
    model: mannequin_torso_white
    template: wooden
    item: pack:boxstand:mannequin_torso_white_on
  black:
    model: mannequin_torso_black
    template: wooden
    item: pack:boxstand:mannequin_torso_black_on

white and black copy wooden through template. The mannequin:... animations borrow from the full mannequin model.

Common changes

These are the changes server owners make most often. The first line of each snippet names the file in plugins/BoxStand/mannequins/. After you add or change a file, run /boxstand reload.

Add a variant with your own model

Build the model first, with a File Name such as mannequin_gold (Building a Model). Then add a variant for it under variants in a kind file. Here it joins the shipped Mannequin kind:

# mannequins/mannequin.yml
variants:
  # wooden, white and black stay as they are
  gold:                     # add this variant
    model: mannequin_gold   # your model's id
    template: wooden        # copies wooden's defaults and animations
    item: GOLD_INGOT        # its icon in the picker

After /meg reload models and /boxstand reload, the picker shows Mannequin (Gold) with a gold ingot icon. Picking it puts your model on the stand. Because your model is a copy of mannequin.bbmodel, it plays the same slot animations as Wooden. The full rules are in Variant keys and template.

A kind only VIPs see

Make a new file. permission names the permission that players need for the kind, here boxstand.vip-mannequin:

# mannequins/vip-mannequin.yml
name: VIP Mannequin
order: 4                            # after the three shipped kinds
permission: boxstand.vip-mannequin  # players need this permission
variants:
  gold:
    model: mannequin_gold           # your model's id, as in the recipe above
    item: GOLD_INGOT

Run /boxstand reload, then give the permission to your VIP group:

/lp group vip permission set boxstand.vip-mannequin true

VIPs see VIP Mannequin (Gold) in the picker, and other players do not. The full rules are in permission and Permissions in mannequin files.

An animation when a slot is filled

On the shipped Mannequin kind, helmet: wear_helmet plays on every trigger of the helmet slot. To play it only when a helmet goes in, and to show the helmet once the animation has run a little, change that line into a section:

# mannequins/mannequin.yml
variants:
  wooden:
    animations:
      helmet:                   # was: helmet: wear_helmet
        on-fill:
          play: wear_helmet
          item-delay-ticks: 6   # the helmet shows 6 ticks after it goes in

When a player puts a helmet on a stand that wears the wooden Mannequin, the model reaches up, and the helmet shows on it 6 ticks later. Taking the helmet off, or clicking the head, plays nothing. The white and black variants do the same, because they copy wooden through template. The full rules are in animations and Timing.

Kind keys

These keys sit at the top of a kind file. Only variants is required: a file with no variant that has a model is left out. Here is a small kind file, shop-mannequin.yml:

# mannequins/shop-mannequin.yml
name: Shop Mannequin            # the name in the picker and on the Mannequin button
order: 4                        # its place in the picker, lowest first
permission: boxstand.shop-mannequin  # players need this; leave it out for every player
off-item: ARMOR_STAND           # the Mannequin button's icon while no model is worn
hide-slots: []                  # slots its models do not draw
defaults:                       # stand settings while a model is worn, for every variant
  base-plate: false
animations:                     # animations for every variant, borrowed from the mannequin model
  helmet: mannequin:wear_helmet
variants:                       # the models
  oak: mannequin
  black: mannequin_black
  • off-item and off-modeldata set the Mannequin button's icon: Icons.
  • hide-slots, animations and defaults have their own sections below. Set on the kind, animations and defaults count for every variant.
  • variants holds the models: Variant keys.

name

name is the kind's name in the picker and on the Mannequin button. Default: the file name.

# mannequins/torso-mannequin.yml
name: Torso Mannequin
  • Without name, or with name: "", the file name shows: dark_oak.yml shows as Dark Oak.
  • Hyphens stay as they are: without its name, torso-mannequin.yml would show as Torso-mannequin.

order

order sets the kind's place in the picker, lowest first. It takes a whole number. The shipped kinds use 1, 2 and 3. Default: not set, which puts the kind last.

# mannequins/shop-mannequin.yml
order: 4
  • Kinds with the same order are sorted by file name. A value that is not a number counts as not set.
  • On a stand that has never worn a mannequin model, the Mannequin button shows the name of the first kind by order that the player may use.

permission

permission names the permission that players need to use the kind. It takes any permission name you choose, as a variant's permission does. Without it, or with permission: "", every player can use the kind, though a variant can still ask for its own permission. Default: not set.

# mannequins/custom-mannequin.yml
permission: boxstand.custom-mannequin
  • BoxStand registers the permission itself. Who has it: Permissions.
  • Files from before 2026-11-23 said require-permission: true or false. At the next start or /boxstand reload, true becomes permission: boxstand.<file name>, the same permission as before, so the permissions you gave still work. false is taken out, and so is true in a file that already has a permission.

Variant keys

A variant's key is its name in game, with only its first letter made upper case: wooden shows as Wooden, and dark_oak as Dark_oak. Variants show in the order they have in the file.

# mannequins/shop-mannequin.yml
variants:
  oak:
    model: mannequin                     # the ModelEngine model id
    item: pack:boxstand:mannequin_on     # its icon in the picker and on the Mannequin button
    permission: boxstand.mannequin.oak   # players without it do not see oak
    defaults:                            # stand settings while oak is worn
      base-plate: false
    animations:                          # what plays when oak's slots change
      helmet: wear_helmet
  black:
    model: mannequin_black
    item: pack:boxstand:mannequin_black_on
    template: oak                        # copies oak's defaults and animations, but not its permission
  • item and modeldata set the variant's icon (Icons), and template copies another variant (template).
  • animations and defaults work as they do on the kind (animations, defaults). When they are set in several places, the variant's wins, then the template's, then the kind's.

model

model is the id of the ModelEngine model the stand wears. It is required, but a variant with a template can take it from there. A variant with no model of its own and none from its template is left out. A model that ModelEngine has not loaded shows nothing. Change it and run /boxstand reload: stands that wear the variant switch to the new model once ModelEngine has loaded it.

A variant with only a model can be written on one line:

# mannequins/shop-torso.yml
variants:
  oak:
    model: mannequin_torso
    item: pack:boxstand:mannequin_torso_on
  black: mannequin_torso_black   # only a model, so one line is enough

permission

permission takes any permission name. Players without it do not see the variant. Default: not set. Without it, or with permission: "", every player sees the variant.

# mannequins/shop-mannequin.yml
variants:
  oak:
    model: mannequin
    permission: boxstand.mannequin.oak

Icons

item gives a variant its icon in the picker and on the Mannequin button. off-item gives the Mannequin button its icon while no model is worn. Both take menu icon ids. off-item defaults to ARMOR_STAND, and item has no default.

# mannequins/shop-mannequin.yml
off-item: pack:boxstand:mannequin_off   # the button while no model is worn
variants:
  oak:
    model: mannequin
    item: pack:boxstand:mannequin_on    # oak in the picker, and the button while oak is worn

modeldata and off-modeldata are for vanilla items. Each takes a whole number above 0. Neither has a default: without one, or with 0 or less, the item shows with no model data.

# mannequins/shop-mannequin.yml
off-item: ARMOR_STAND
off-modeldata: 1001
variants:
  oak:
    model: mannequin
    item: PAPER
    modeldata: 1002
  • If an icon's item is missing, the icon falls back to off-item when that is a vanilla item, or else to ARMOR_STAND. A name that is no item, or an id that names no item plugin, is also reported in the console.
  • In an older file, a kind's own item and modeldata still work as off-item and off-modeldata.

Permissions

A kind can need a permission (permission), and so can each variant (permission). How both work: Permissions in mannequin files.

hide-slots

hide-slots lists the slots that a kind's models do not draw, by the slot names in the table below. animations use these slot names too. Default: an empty list (hide-slots: []), so the models draw every slot.

# mannequins/shop-torso.yml
# A torso with no legs or feet
name: Shop Torso
hide-slots: [leggings, boots]
variants:
  oak: mannequin_torso
Slot Other names that also work
helmet head
chestplate chest
leggings legs
boots feet
right-arm hand, main-hand, mainhand
left-arm offhand, off-hand
head-wear (the head list) headwear
wear No other name
balloon No other name
  • Slot names work in upper or lower case, and _ or a space works in place of -. A name that is not in this table is ignored.
  • In these files, head means the helmet. The head list is head-wear.
  • Items in hidden slots are kept but not drawn. Only the menu can put them in or take them out.
  • Hiding leggings removes the leg buttons from the pose page.

template

template takes the name of another variant in the same file, and copies the keys this variant does not set from it. A template's own template is not followed. Default: not set, so the variant copies nothing.

# mannequins/shop-mannequin.yml
variants:
  oak:
    model: mannequin
    item: pack:boxstand:mannequin_on
    defaults:
      base-plate: false
    animations:
      helmet: wear_helmet
  white:
    model: mannequin_white
    template: oak          # white has no item of its own, so it shows oak's icon
    defaults:
      base-plate: true     # white's own value wins over oak's
  • model and item are copied only when the variant has none. item comes with its modeldata.
  • animations and defaults are combined. Where both set the same key, the variant wins (which animation plays).
  • Animation names copied from the template still play the template's model's animations, unless the worn model has its own animation of that name. Here, white plays wear_helmet from the mannequin model, because mannequin_white has no wear_helmet of its own.
  • permission is never copied.

animations

Entries are keyed by slot name, or by all for the slots that the same animations block does not list. An animation name written straight after a slot (helmet: wear_helmet) plays on every trigger.

# mannequins/shop-mannequin.yml
variants:
  oak:
    model: mannequin
    animations:
      helmet: wear_helmet            # every trigger of the helmet slot
      chestplate:
        on-fill: wear_chestplate     # a chestplate goes in; on-empty and on-click play nothing
      all:
        on-click: wear_chestplate    # a click on a part whose slot is not listed here
Trigger Plays when
on-fill An item goes in or is replaced, or a list grows
on-empty A slot empties (not on swaps), or a list shrinks
on-click The part is clicked and no item goes in or out
  • Clicking a part plays the on-click of its slot: the head plays helmet, the chest chestplate, the back wear, an arm right-arm or left-arm, the legs leggings and the feet boots.
  • BoxStand looks for a slot's animation in the variant first, then in its template, then in the kind. In each of them, the slot's own entry comes before all.
  • A listed slot decides all three triggers: triggers that its entry leaves out play nothing, and BoxStand looks no further for that slot. all decides only the triggers it names.
  • An empty name (helmet: "") lists the slot with no animation. That slot then plays nothing, even where all names an animation. Set on a variant, it also stops the template's and the kind's animation for that slot.
  • When several slots change at once, each animation plays once, and the last one stays.

Animation names

A name without model: in front is the model's own animation. Set on the kind, it is the animation of whichever model is worn. model:animation borrows the animation from another model with the same bones, unless the worn model has its own animation of that name.

# mannequins/shop-torso.yml
variants:
  oak:
    model: mannequin_torso
    animations:
      helmet: mannequin:wear_helmet   # borrowed from the full mannequin model
      balloon:
        on-fill: wear_balloon         # the torso model's own animation
  • Unknown names play nothing.
  • If the model before the colon, or its animation, does not exist, BoxStand says so once in the console and plays the worn model's own animation of that name, if it has one.

Timing

A trigger can also be a section of keys, with times in ticks (20 ticks = 1 second). play takes an animation name and has no default. hide-worn defaults to false. The other keys take a whole number of ticks and default to 0. A number below 0 counts as 0.

# mannequins/shop-mannequin.yml
variants:
  oak:
    model: mannequin
    animations:
      helmet:
        on-fill:
          play: wear_helmet           # the animation to play
          item-delay-ticks: 6         # the model shows the new helmet only after 6 ticks
          hide-worn: false            # true: the six item slots wait too
          animation-delay-ticks: 0    # ticks to wait before the animation starts
          animation-lerp-ticks: 0     # ticks the animation takes to blend in; 0 starts it at once

Set directly under a slot, play plays on every trigger:

# mannequins/shop-mannequin.yml
variants:
  oak:
    model: mannequin
    animations:
      helmet:
        play: wear_helmet
        item-delay-ticks: 6
  • item-delay-ticks works on on-fill, on the six item slots (helmet, chestplate, leggings, boots, right-arm, left-arm) and on balloon. The menu shows the item at once, and taking an item off has no delay.
  • With hide-worn: true, what the six item slots hold leaves the model and comes back together with the new item. hide-worn works only while item-delay-ticks is above 0.
  • If anything else changes on the stand during the wait, even a chunk unload, the item goes on the model at once first.

defaults

defaults sets base-plate, gravity and arms (true or false) while the model is worn. Set on the kind, they count for every variant. Other keys, and values other than true or false, are ignored. Default: not set, so the model changes none of the three.

# mannequins/shop-mannequin.yml
variants:
  oak:
    model: mannequin
    defaults:          # while oak is worn
      base-plate: false
      gravity: false
      arms: true
  • Players can still switch them. The ones nobody switched go back when the model comes off.
  • As shipped, the wooden variant of the Mannequin kind sets base-plate: false, and the wooden variant of the Torso Mannequin kind sets base-plate: true. Their other variants copy it through template.

Mannequins of other plugins

For a player-shaped figure with a skin, use Minecraft's Mannequin entity, made by another plugin such as MythicMobs or Citizens, and dress it.