Class BukkitInventoryProvider

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

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

    Constructors
    Constructor
    Description
    BukkitInventoryProvider(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.bukkit.BukkitInventory

    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.