Interface MenuProvider

All Known Subinterfaces:
DuelMenuProvider, DuelReqestMenuProvider, KitLayoutEditorMenuProvider, StatsMenuProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MenuProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    open(org.bukkit.entity.Player player, Object... args)
    Opens a menu for the specified player.
  • Method Details

    • open

      void open(org.bukkit.entity.Player player, Object... args)
      Opens a menu for the specified player.

      This method is called to open a menu and pass necessary arguments to the provider for further handling.

      Parameters:
      player - The player to open the menu for.
      args - Optional arguments passed to the menu provider.