Class PluginInventory.PluginHolder

java.lang.Object
com.burchard36.api.inventory.PluginInventory.PluginHolder
All Implemented Interfaces:
org.bukkit.inventory.InventoryHolder
Enclosing class:
PluginInventory

public static class PluginInventory.PluginHolder extends Object implements org.bukkit.inventory.InventoryHolder
The InventoryHolder that PluginInventory's have
  • Field Details

    • uuid

      public final UUID uuid
      The Identifier of this InventoryHolder
  • Constructor Details

    • PluginHolder

      public PluginHolder(UUID uuid, org.bukkit.inventory.Inventory inventory)
      Parameters:
      uuid - UUID uuid identifier of this holder
      inventory - Inventory The Bukkit Inventory
  • Method Details

    • setInventory

      public PluginInventory.PluginHolder setInventory(org.bukkit.inventory.Inventory inventory)
      Sets the inventory
      Parameters:
      inventory - Inventory
      Returns:
      Instance of this PluginInventory.PluginHolder class
    • getInventory

      @Nonnull public org.bukkit.inventory.Inventory getInventory()
      Specified by:
      getInventory in interface org.bukkit.inventory.InventoryHolder