Class BukkitInventoryUtil

java.lang.Object
com.plotsquared.core.util.InventoryUtil
com.plotsquared.bukkit.util.BukkitInventoryUtil

public class BukkitInventoryUtil extends com.plotsquared.core.util.InventoryUtil
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close(com.plotsquared.core.plot.PlotInventory inv)
     
    com.plotsquared.core.plot.PlotItemStack
     
    com.plotsquared.core.plot.PlotItemStack[]
    getItems(com.plotsquared.core.player.PlotPlayer<?> player)
     
    boolean
    isOpen(com.plotsquared.core.plot.PlotInventory plotInventory)
     
    void
    open(com.plotsquared.core.plot.PlotInventory inv)
     
    void
    setItem(com.plotsquared.core.plot.PlotInventory inv, int index, com.plotsquared.core.plot.PlotItemStack item)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BukkitInventoryUtil

      public BukkitInventoryUtil()
  • Method Details

    • open

      public void open(com.plotsquared.core.plot.PlotInventory inv)
      Specified by:
      open in class com.plotsquared.core.util.InventoryUtil
    • close

      public void close(com.plotsquared.core.plot.PlotInventory inv)
      Specified by:
      close in class com.plotsquared.core.util.InventoryUtil
    • setItem

      public void setItem(com.plotsquared.core.plot.PlotInventory inv, int index, com.plotsquared.core.plot.PlotItemStack item)
      Specified by:
      setItem in class com.plotsquared.core.util.InventoryUtil
    • getItem

      public com.plotsquared.core.plot.PlotItemStack getItem(ItemStack item)
    • getItems

      public com.plotsquared.core.plot.PlotItemStack[] getItems(com.plotsquared.core.player.PlotPlayer<?> player)
      Specified by:
      getItems in class com.plotsquared.core.util.InventoryUtil
    • isOpen

      public boolean isOpen(com.plotsquared.core.plot.PlotInventory plotInventory)
      Specified by:
      isOpen in class com.plotsquared.core.util.InventoryUtil