Package 

Class BasicMenu

  • 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
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class dev.kotx.flylib.menu.BasicMenu

        getKoin
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait