Class CommandInventoryExample
java.lang.Object
me.eddie.inventoryguiapi.examples.CommandInventoryExample
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected GUIElementcreateCommandElement(String command, org.bukkit.Material material, String name, String... lore) protected voidprotected List<GUIElement>voidshowGUI(org.bukkit.entity.Player player)
-
Constructor Details
-
CommandInventoryExample
public CommandInventoryExample()
-
-
Method Details
-
createGUI
protected void createGUI() -
showGUI
public void showGUI(org.bukkit.entity.Player player) -
genContents
-
createCommandElement
protected GUIElement createCommandElement(String command, org.bukkit.Material material, String name, String... lore)
-