Interface ViewOpener<C>


public interface ViewOpener<C>
Opens a MenuView as a Bukkit Inventory.

Different inventory types may use different opener implementations.

  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull org.bukkit.inventory.Inventory
    open(@NotNull Lotus<C> lotus, @NotNull MenuView<C,?> view)
    Creates and opens the inventory for the given view.
  • Method Details

    • open

      @NotNull @NotNull org.bukkit.inventory.Inventory open(@NotNull @NotNull Lotus<C> lotus, @NotNull @NotNull MenuView<C,?> view)
      Creates and opens the inventory for the given view.