Menu

Everything about creating a custom menu is explained here

Key
Data type
Description

Menu.config.rows

NUMBER

Specifies how many rows will be in the menu.

Menu.config.title

STRING

Displays the name of the menu

1 rows = 9 slots per line

View menu

An example of how the key "Menu.view" should look like:

Menu:
  view:
   - "SLOT%ITEM_KEY"
   - "SLOT%ITEM_KEY"
   - "SLOT%ITEM_KEY"
Key
Data type
Description

SLOT

Number

Indicates the slot where the ITEM should be located

ITEM_KEY

STRING

Selects from all Menu.items with the same Item_Key

An example of how the key "Menu.items" should look like:

Menu:
  items:
    ITEM_KEY:
      item: "MATERIAL"
      name: "NAME"
      fun: "FUN"
    ITEM_KEY:
      item: "MATERIAL"
      name: "NAME"
      fun: 
    ITEM_KEY:
      item: "MATERIAL"
      name: ""
      fun: 

Item configuration

Learn more about data type FUN here

Key
Data type
Description

item

MATERIAL

The material of this item

name

STRING

Item name

fun

FUN

The function that will be called when you take the item

Last updated