Skip to content

Icons

Every icon in a menu file has the same keys. Here is the Back button of common.yml:

# menus/common.yml
back:
  item: ARROW       # the item shown
  glow: false       # true adds the enchantment glint
  modeldata: 1001   # optional: custom model data for your own pack
  • item is the item shown. Its default is the shipped vanilla item.
  • glow takes true or false, and its default is the shipped value. With glow: false the plugin adds no glint, and an item from an item plugin keeps its own glint.
  • modeldata takes a whole number above 0. With 0, a word or no modeldata, the icon has no custom model data. It works on vanilla items only. It has no default, and updates never add or remove it.

item

item takes one of three forms. The examples are the Back button of common.yml.

For a vanilla item, write its name in upper or lower case:

# menus/common.yml
back:
  item: ARROW

For a resource pack's item model, write pack: before it, as pack:<namespace>:<name>. It shows on a paper item:

# menus/common.yml
back:
  item: pack:boxcosmetics:back

For an item from an item plugin, write the plugin's prefix, in upper or lower case, then the item id:

# menus/common.yml
back:
  item: nexo:bc_back
  • Do not write minecraft:arrow. A name with a colon is read as a pack or plugin item.
  • The prefixes are itemsadder: (short form ia:), nexo: (nx:), oraxen: (ox:), craftengine: (ce:) and crucible: (cr:).
  • Write MythicCrucible ids in the same upper and lower case as in their file.
  • With "", a missing plugin or item, or a wrong name, the menu shows the built-in icon. A wrong name, a prefix that is none of these, or a pack: id not written as pack:<namespace>:<name> is also named in the console when the files load.