diff --git a/src/main/java/xyz/alexcrea/cuanvil/gui/MainConfigGui.java b/src/main/java/xyz/alexcrea/cuanvil/gui/MainConfigGui.java index c70f39c..891e011 100644 --- a/src/main/java/xyz/alexcrea/cuanvil/gui/MainConfigGui.java +++ b/src/main/java/xyz/alexcrea/cuanvil/gui/MainConfigGui.java @@ -28,7 +28,7 @@ private MainConfigGui() { private void init(){ Pattern pattern = new Pattern( - "000000000", + "I00000000", "012304560", "Q00000000" ); @@ -79,6 +79,17 @@ private void init(){ },CustomAnvil.instance); pane.bindItem('Q', quitItem); + // create & bind "info" item + ItemStack infoItemstack = new ItemStack(Material.PAPER); + ItemMeta infoMeta = infoItemstack.getItemMeta(); + + infoMeta.setDisplayName("\u00A7eThis is a alpha version of the gui !"); + infoMeta.setLore(Collections.singletonList("\u00A77If you have feedback or idea you can send them to the dev !")); + infoItemstack.setItemMeta(infoMeta); + + GuiItem infoItem = new GuiItem(infoItemstack, GuiGlobalActions.stayInPlace, CustomAnvil.instance); + pane.bindItem('I', infoItem); + } }