Package com.plotsquared.bukkit.util
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidclose(com.plotsquared.core.plot.PlotInventory inv) com.plotsquared.core.plot.PlotItemStackcom.plotsquared.core.plot.PlotItemStack[]getItems(com.plotsquared.core.player.PlotPlayer<?> player) booleanisOpen(com.plotsquared.core.plot.PlotInventory plotInventory) voidopen(com.plotsquared.core.plot.PlotInventory inv) voidsetItem(com.plotsquared.core.plot.PlotInventory inv, int index, com.plotsquared.core.plot.PlotItemStack item)
-
Constructor Details
-
BukkitInventoryUtil
public BukkitInventoryUtil()
-
-
Method Details
-
open
public void open(com.plotsquared.core.plot.PlotInventory inv) - Specified by:
openin classcom.plotsquared.core.util.InventoryUtil
-
close
public void close(com.plotsquared.core.plot.PlotInventory inv) - Specified by:
closein classcom.plotsquared.core.util.InventoryUtil
-
setItem
public void setItem(com.plotsquared.core.plot.PlotInventory inv, int index, com.plotsquared.core.plot.PlotItemStack item) - Specified by:
setItemin classcom.plotsquared.core.util.InventoryUtil
-
getItem
-
getItems
public com.plotsquared.core.plot.PlotItemStack[] getItems(com.plotsquared.core.player.PlotPlayer<?> player) - Specified by:
getItemsin classcom.plotsquared.core.util.InventoryUtil
-
isOpen
public boolean isOpen(com.plotsquared.core.plot.PlotInventory plotInventory) - Specified by:
isOpenin classcom.plotsquared.core.util.InventoryUtil
-