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
itemis the item shown. Its default is the shipped vanilla item.glowtakestrueorfalse, and its default is the shipped value. Withglow: falsethe plugin adds no glint, and an item from an item plugin keeps its own glint.modeldatatakes a whole number above 0. With0, a word or nomodeldata, 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 formia:),nexo:(nx:),oraxen:(ox:),craftengine:(ce:) andcrucible:(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 apack:id not written aspack:<namespace>:<name>is also named in the console when the files load.