Edit our item.
Create GUI "[MagicItems]" for sword item.
%color_code = % is placeholder for 'ยง'
1) Create gui -> '/
mmc create
%c[Magic]
magic-items-gui'
== Open Menu ==
/mmc menu
/
mmc .. ( '..' shortcut for opening menu )
Navigate to created editor
or via:
/
mmc . ( '.' shortcut for opening current editor )
== Bind Action To Item ==
1) Switch to binding mode -> '/mmc -se'
2) Open editor -> '/mmc . '
3) Click on item added by: '/mmc addhand'
4) Bind command to Item:
/mmc bind kill @s
OR:
/mmc bind bind mmc open another-gui
whatever you want.
== Finally ==
/mmc deploy
/mmc open magic-items-gui
> magic-items-gui is name that we passed on running:
/mmc create <title> <UNIQUE_NAME>
- We're calling
/mmc open <UNIQUE_NAME>