-
- All Implemented Interfaces:
-
dev.kotx.flylib.FlyLibComponent
,org.bukkit.event.Listener
,org.koin.core.component.KoinComponent
public final class BasicMenu implements FlyLibComponent, Listener
A Inventory menu.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
BasicMenu.Companion
-
Method Summary
Modifier and Type Method Description final String
getTitle()
final Integer
getSize()
final List<MenuItem>
getItems()
final Unit
display(Player player)
Show the inventory to the player. final Unit
close()
Close the menus of all players displaying this menu. final Unit
update(BasicMenuAction builder)
Updates the menus of all players displaying this menu. -
-
Method Detail
-
update
final Unit update(BasicMenuAction builder)
Updates the menus of all players displaying this menu.
-
-
-
-