Class PaperInventoryProvider

java.lang.Object
net.tnemc.menu.paper.PaperInventory
net.tnemc.plugincore.paper.impl.PaperInventoryProvider
All Implemented Interfaces:
net.tnemc.menu.core.compatibility.PlayerInventory<org.bukkit.inventory.Inventory>, InventoryProvider<org.bukkit.inventory.Inventory>

public class PaperInventoryProvider extends net.tnemc.menu.paper.PaperInventory implements InventoryProvider<org.bukkit.inventory.Inventory>
BukkitInventoryProvider
Since:
0.1.2.0
Author:
creatorfromhell
  • Constructor Summary

    Constructors
    Constructor
    Description
    PaperInventoryProvider(UUID id, org.bukkit.plugin.java.JavaPlugin plugin)
     
  • Method Summary

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

    Methods inherited from class net.tnemc.menu.paper.PaperInventory

    build, close, openInventory, player, updateInventory

    Methods inherited from class java.lang.Object

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

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

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

  • Method Details

    • getInventory

      public org.bukkit.inventory.Inventory getInventory(boolean ender)
      Used to get an inventory object.
      Specified by:
      getInventory in interface InventoryProvider<org.bukkit.inventory.Inventory>
      Parameters:
      ender - True if the ender chest object should be returned, otherwise false.
      Returns:
      The inventory object.