Package studio.mevera.lotus.api.menu
Interface Menu<C>
- Type Parameters:
C- the title component type —Componenton Paper,Stringon Spigot
- All Known Subinterfaces:
InteractiveMenu<C>
public interface Menu<C>
Defines the layout of a menu.
A menu describes its title, size, and content for a specific MenuView.
-
Method Summary
Modifier and TypeMethodDescription@NotNull CapacityReturns the capacity for the current view.@NotNull ContentBuilds the content for the current view.default @NotNull Stringname()Returns the menu name used for registration and logging.Returns the title for the current view.default @NotNull org.bukkit.event.inventory.InventoryTypetype()Returns the Bukkit inventory type used by this menu.
-
Method Details
-
name
Returns the menu name used for registration and logging. -
type
@NotNull default @NotNull org.bukkit.event.inventory.InventoryType type()Returns the Bukkit inventory type used by this menu.