๐Ÿ–ผ๏ธGUI Style

internal_name:
  max_material: <integer> (<rows*9)
  rows: <integer> (<7)
  items:
    item_id:
      Material: <item type>
      Data: <item data>
      Display: <item name>
      Hide_attributes: <true/false>
    .....
    smith:                       #change this display in config.yml do not change this key
      Material: IRON_AXE
      Data: 0
      Hide_attributes: true
    list:                        #change this display in config.yml do not change this key
      Material: PAPER
      Data: 0
      Hide_attributes: true
    close:                        #change this display in config.yml do not change this key
      Material: STAINED_GLASS_PANE
      Data: 14
      Hide_attributes: true
  slots: #decorate it in gui, require at least one material and only one result, smith key
  - '<slot>:<item>'
  - '<slot>:<item>'
  - '<slot>:<item>'
  - '<slot>:<item>'
  ...

internal_name

it can be anything Example: custom_style, bla_bla,....

max_material

it called for code :v that should equals amount of 'material' in slots Example: 3,6,9,...

rows

how much rows the inventory have (size) Example: 1,2,3,4,5,6

items

require smith, list, close

format:

item_id:
  Material: <item type>
  Data: <item data>
  Display: <item name>
  Hide_attributes: <true/false>

item id can be anything, used in slots Material: can found in https://helpch.at/docs/1.17.1/org/bukkit/Material.html,.... Make sure you choose right version Data: item data or CustomModelData Display: item name, can use Hide_attributes: does item display attributes (vanilla included attack_damage, armor,...)

slots

format: list of <slot>:<item>

slot:

from 0 to (rows*9)-1 it means if rows are 6 slot should be 0-53

item:

item id that found in items above

required at least one 'material', 'result', 'smith', 'close', 'list'.

Example:

  custom_style:
    max_material: 10
    rows: 4
    items:
      line:
        Material: STAINED_GLASS_PANE
        Data: 7
        Display: '&7-'
        Hide_attributes: true
      fill:
        Material: STAINED_GLASS_PANE
        Data: 8
        Display: 'watup bro'
        Hide_attributes: true
      bar:
        Material: STAINED_GLASS_PANE
        Data: 5
        Display: '&a&lResult'
        Hide_attributes: true
      smith:                       #change this display in config.yml do not change this key
        Material: IRON_AXE
        Data: 0
        Hide_attributes: true
      list:                        #change this display in config.yml do not change this key
        Material: PAPER
        Data: 0
        Hide_attributes: true
      close:                        #change this display in config.yml do not change this key
        Material: STAINED_GLASS_PANE
        Data: 14
        Hide_attributes: true
    slots: #decorate it in gui, require at least one material and only one result, smith key
    - '0:line'
    - '1:line'
    - '2:line'
    - '3:line'
    - '4:line'
    - '5:line'
    - '6:line'
    - '7:line'
    - '8:line'
    - '9:line'
    - '10:material'
    - '11:material'
    - '12:material'
    - '13:material'
    - '14:material'
    - '15:material'
    - '16:material'
    - '17:line'
    - '18:line'
    - '19:material'
    - '20:material'
    - '21:material'
    - '22:result'
    - '23:smith'
    - '24:list'
    - '25:close'
    - '26:line'
    - '27:line'
    - '28:line'
    - '29:line'
    - '30:line'
    - '31:line'
    - '32:line'
    - '33:line'
    - '34:line'
    - '35:line'
recipe of supper sword

Last updated