Package dev.plex.menu
Class AbstractMenu
java.lang.Object
dev.plex.menu.AbstractMenu
- Direct Known Subclasses:
PageableMenu.Page
,ToggleMenu
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Map
<net.kyori.adventure.text.Component, AbstractMenu> private final org.bukkit.inventory.Inventory
private final net.kyori.adventure.text.Component
-
Constructor Summary
ConstructorDescriptionAbstractMenu
(String name, AbstractMenu.Rows rows) AbstractMenu
(net.kyori.adventure.text.Component name, AbstractMenu.Rows rows) -
Method Summary
-
Field Details
-
INVENTORIES
-
name
private final net.kyori.adventure.text.Component name -
inventory
private final org.bukkit.inventory.Inventory inventory
-
-
Constructor Details
-
Method Details
-
onClick
public abstract boolean onClick(org.bukkit.inventory.InventoryView view, org.bukkit.inventory.Inventory inventory, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack clicked) -
open
public void open(org.bukkit.entity.Player player)
-