Inventory GUI Creation Utilities beta_b#1

Easy GUI Creation

  1. Xilixir
    Tested Minecraft Versions:
    • 1.9
    Example usage
    Code (Text):
    // Written by Xilixir on 5/21/2016
    public class TempClass extends CustomInventory {
        public TempClass(String name, int size, boolean deleteOnClose) {
            super(name, size, deleteOnClose);

            addItem(new ItemBuilder(Material.DIAMOND).name("Click to Test").toItemStack(), 4, new Action() {
                @Override
                public void click(ClickType clickType, Player player) {
                    player.sendMessage("Wow, it really works!");
                }
            });
        }
    }
     
    Calling CustomInventory#open(Player varPlayer) will open the inventory.
    feldim2425 likes this.