Interface InventoryProvider<I>

Type Parameters:
I - Represents the platform's Inventory object.
All Superinterfaces:
net.tnemc.menu.core.compatibility.PlayerInventory<I>
All Known Implementing Classes:
BukkitInventoryProvider, PaperInventoryProvider, SpongeInventoryProvider

public interface InventoryProvider<I> extends net.tnemc.menu.core.compatibility.PlayerInventory<I>
A class that acts as a bridge between various inventory objects on different server software providers.
Since:
0.1.2.0
Author:
creatorfromhell
  • Method Summary

    Modifier and Type
    Method
    Description
    getInventory(boolean ender)
    Used to get an inventory object.

    Methods inherited from interface net.tnemc.menu.core.compatibility.PlayerInventory

    build, build, close, inMenu, openInventory, openMenu, openMenu, openMenu, openMenu, player, updateInventory
  • Method Details

    • getInventory

      I getInventory(boolean ender)
      Used to get an inventory object.
      Parameters:
      ender - True if the ender chest object should be returned, otherwise false.
      Returns:
      The inventory object.