Interface InventorySupplier

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 InventorySupplier
Represents a supplier of an Inventory.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.inventory.Inventory
    create(String title)
    Creates a new Inventory with the given title.
  • Method Details

    • create

      org.bukkit.inventory.Inventory create(String title)
      Creates a new Inventory with the given title.
      Parameters:
      title - the title of the inventory
      Returns:
      a new inventory