Now you can define the characters (1 letters) and function of the gui structure, this enables adding more decorative blocks to the gui.
Remember to update the config.yml
Code (YAML):
structure
:
-
"B A B A * A B A B"
-
". . . . . . . . ."
-
". . . . . . . . ."
-
"B B B < X > B B B"
recipe:
"*":
icon
: PLAYER_HEAD
icon_amount
: 1
icon_model_data
: 3
function
: PLAYER
display_name
: '&7
%player%'
lore
:
-
"Current rank %rank%"
-
"..."
-
"..."
# Fill the empty space with a material
".":
icon
: AIR
function
: RANK
# You can use as a material
"A":
icon
: BLACK_STAINED_GLASS_PANE
function
: DECORATIVE
# You can also not define a function, default will be DECORATIVE
"B"
: WHITE_STAINED_GLASS_PANE
"X":
icon
: REDSTONE
function
: CLOSE
# You can use as an item with model data
"<":
icon
: RED_STAINED_GLASS_PANE
icon_model_data
: 10
function
: BACK
">":
icon
: LIME_STAINED_GLASS_PANE
icon_model_data
: 0
function
: FORWARD