Class CommandInventoryExample

java.lang.Object
me.eddie.inventoryguiapi.examples.CommandInventoryExample

public class CommandInventoryExample extends Object
An example of using the API to create a static inventory full of items that when clicked execute commands. This GUI is static in that it's contents never changes.
  • Constructor Details

    • CommandInventoryExample

      public CommandInventoryExample()
  • Method Details

    • createGUI

      protected void createGUI()
    • showGUI

      public void showGUI(org.bukkit.entity.Player player)
    • genContents

      protected List<GUIElement> genContents()
    • createCommandElement

      protected GUIElement createCommandElement(String command, org.bukkit.Material material, String name, String... lore)