How it looks
These keys set how a cosmetic looks: the item it looks like, its name and lore, the model, mob or other item it shows, its glint and colour, the real armour it hides, and the sound it makes as it goes on.
item
The item the cosmetic looks like. The cosmetic borrows only the item's look: its item never stacks and gives no armour or damage, even held in the hand. The item's enchantments are left off too; an enchanted item keeps its shine. Every cosmetic needs one, unless it shows a model without an item.
# cosmetics/hats.yml
ufo-hat:
item: itemsadder:alien_pack:ufo_hat # an ItemsAdder item
slot: head
Write the item in one of these ways:
| Written as | Item |
|---|---|
LEATHER_HELMET |
Vanilla material, any case, no minecraft: |
itemsadder:<namespace>:<id> or ia: |
ItemsAdder |
nexo:<id> or nx: |
Nexo |
oraxen:<id> or ox: |
Oraxen |
craftengine:<namespace>:<id> or ce: |
CraftEngine |
crucible:<id> or cr: |
MythicCrucible, by its file's name, case kept |
- These are the same ids as menu icons, but
pack:is not allowed. - When the files load, a vanilla name is checked in full, but an item plugin's id only by its prefix. A name that is no item, or an id with no prefix from the table, is warned about, and the cosmetic has no item to give.
/bc givechecks the item itself. - MythicCrucible triggers run in any slot.
~onEquipand~onUnEquiprun in Head, Wear, armour and their accessory slots.
name
The cosmetic's name, written in MiniMessage. Quote it when it starts with <. Default: the item's own name.
# cosmetics/back.yml
neon-jetpack:
item: FIREWORK_ROCKET
slot: wear
name: "<aqua>Neon Jetpack"
- A name with no colour is white. Italic needs
<italic>. - Players cannot rename it: What the game may do.
lore
Lines under the cosmetic's name, written the same way as name, except that a line with no colour is gray. Default: the item's own lore.
# cosmetics/back.yml
neon-jetpack:
item: FIREWORK_ROCKET
slot: wear
lore:
- "A pack of blue fire"
- "" # a blank line
- "<yellow>Hold jump:<gray> fly"
lore: []gives no lore. A single line may be written without the list:lore: "A pack of blue fire". A text of several lines, written afterlore: |, gives one line of lore for each.- The Collection shows the lore on the cosmetic's place, even to players who own none.
show
What the wearer shows in place of the cosmetic's item: a ModelEngine model, a living mob or another item. Default: the item itself.
# cosmetics/back.yml
dragon-wings:
item: FEATHER
show: meg:dragon_wings # a ModelEngine model
slot: wear
| Written as | Shows | Drawn in |
|---|---|---|
meg:<model> or model:<model> |
A ModelEngine model | Head, wear, balloon |
meg:<model>/<bone> |
One bone and those under it | Head, wear, balloon |
mob:<type> |
A living vanilla mob, such as mob:pig |
Balloon |
| Anything else | Another item, as in item | Every slot |
- In a slot that the Drawn in column does not list, the cosmetic's item shows instead. The item also shows when ModelEngine is missing, for an unknown item, for
mythic:ormm:, and for a prefix with no name after it, such asmeg:alone. All but the unknown item are warned about in the console. - A
meg:model that ModelEngine does not have is not warned about. The cosmetic still goes in its list, but nothing shows on the wearer until ModelEngine has the model, for example after its next import. mob:takes a living mob that can be spawned, in any case:pig,cow,chicken. Any other name is warned about, and no balloon flies.- Use slot to keep the cosmetic in the slots where its
showis drawn. - A model is worn once per list, and the matching accessory list counts as the same list (Head with Accessory Head, Wear with Accessory Wear, Balloon with Accessory Balloon). If either has it already, the item is refused.
- A model's
seg_bones (ModelEngine segments) trail behind as the wearer moves: see them.
One bone of a model
Write meg:<model>/<bone> to show one bone of a model and the bones under it. The other bones are hidden. The part keeps its place in the model: move it with position.
# cosmetics/neon-knight.yml
set-drone:
item: ECHO_SHARD
show: meg:neon_knight_set/hi_group5 # one bone and the bones under it
slot: head, wear
- Put
/between the model and the bone, not a backslash: in double quotes,\nis a line break. - Bone names are as in Blockbench, and the prefix is optional (
hi_group5isgroup5). Without their prefixes, no two bones may share a name. - Pick a top bone, or one whose parent bones have no cubes. If the bone does not exist, nothing shows on the wearer, as for a model ModelEngine does not have.
enchant
With true, the cosmetic gets the enchant glint. It adds the glint only, and on an item the whole item glints. Default: false.
# cosmetics/hats.yml
red-cap:
item: LEATHER_HELMET
enchant: true
- On a model, the glint goes on bones whose name has
enchant(model.enchant-bone), or on every bone if none has it. Bones under them need the word in their name too. - A
mob:has no glint.
tint
A colour on the cosmetic's item or model, such as "#FF3030". Write six hex digits (0 to 9, A to F) after the #, or the six digits alone. Quote it, or # starts a comment. Default: none.
# cosmetics/hats.yml
red-cap:
item: LEATHER_HELMET
tint: "#FF3030"
- A bad colour is warned about and not used.
- On a model, the colour goes on bones whose name has
tint(model.tint-bone), but not on the bones under them. If no bone has the word, it goes on all bones. - On an item, it works as a dye, seen only on leather armour or on item models that take a dye tint. It looks best on white or grey.
dyeable
With true, the wearer picks the cosmetic's colour, in the Collection or with /bc color. The picked colour replaces tint on that piece. Default: false.
# cosmetics/hats.yml
red-cap:
item: LEATHER_HELMET
slot: helmet
dyeable: true
- Only items whose model takes a dye tint show the colour. An item plugin's item needs a dye colour set in its plugin.
- On a model (
show: meg:), the picked colour goes on the same bones astint. - Who may pick a colour:
vanilla-color. - Where the colour shows and where it stays: Collection. On stands: Colors.
hide-armor
The real armour the cosmetic hides on every screen while it is worn and shown. Name helmet, chestplate, leggings or boots, in any case, with commas or as a list. Any other name is warned about and passed over. Default: none.
# cosmetics/hats.yml
ufo-hat:
item: itemsadder:alien_pack:ufo_hat
slot: head
hide-armor: helmet, boots
- Cosmetic armour and an elytra still show.
- No armour is hidden while an accessory of the same group keeps this cosmetic out of sight, or while
equipment.show-over-armoris set to show real armour first.
wear-sound
The sound that plays as the cosmetic goes on: in the menu, by right-click, or on a stand. It replaces the item's own sound. Default: the main config's sound.
# cosmetics/neon-knight.yml
neon-knight-helmet:
item: DIAMOND_HELMET
slot: helmet
wear-sound: item.armor.equip_netherite # a /playsound key
# cosmetics/neon-knight.yml
neon-knight-jetpack:
item: FIREWORK_ROCKET
slot: wear
wear-sound:
sound: boxpix:jetpack_on # a resource pack's sound works too
volume: 0.8 # 0 to 10, default 1.0
pitch: 1.2 # 0.5 to 2.0, default 1.0
# cosmetics/back.yml
# No sound at all
quiet-cape:
item: LEATHER_CHESTPLATE
slot: wear
wear-sound: none
- A bad key is warned about, and the main config's sound plays instead. A
volumeorpitchoutside its range is held to the nearest end. - Who hears it: Sounds.