Class DepositoryGUI


  • public class DepositoryGUI
    extends cc.carm.lib.easyplugin.gui.GUI
    • Field Summary

      • Fields inherited from class cc.carm.lib.easyplugin.gui.GUI

        inv, items, name, type
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean canSell​(DepositoryItem item)  
      static java.util.List<java.lang.String> getExtraLore​(@NotNull org.bukkit.entity.Player player, @NotNull DepositoryItemData itemData)  
      static org.bukkit.inventory.ItemStack getItemIcon​(@NotNull org.bukkit.entity.Player player, @NotNull UserData userData, @NotNull DepositoryItem item)  
      static boolean hasEmptySlot​(org.bukkit.entity.Player player)  
      void loadConfigItems()  
      void loadDepositoryItems()  
      static void open​(@NotNull org.bukkit.entity.Player player, @NotNull Depository depository)  
      void setupItems()  
      • Methods inherited from class cc.carm.lib.easyplugin.gui.GUI

        addFlag, getFlag, getItem, getItems, getOpenedGUI, getOpenedGUIs, getPlugin, hasOpenedGUI, initialize, onClose, onDrag, openGUI, rawClickListener, removeFlag, removeOpenedGUI, setCancelOnOuter, setCancelOnSelf, setCancelOnTarget, setFlag, setItem, setItem, setOpenedGUI, updateView
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setupItems

        public void setupItems()
      • loadConfigItems

        public void loadConfigItems()
      • loadDepositoryItems

        public void loadDepositoryItems()
      • hasEmptySlot

        public static boolean hasEmptySlot​(org.bukkit.entity.Player player)
      • getItemIcon

        public static org.bukkit.inventory.ItemStack getItemIcon​(@NotNull
                                                                 @NotNull org.bukkit.entity.Player player,
                                                                 @NotNull
                                                                 @NotNull UserData userData,
                                                                 @NotNull
                                                                 @NotNull DepositoryItem item)
      • getExtraLore

        public static java.util.List<java.lang.String> getExtraLore​(@NotNull
                                                                    @NotNull org.bukkit.entity.Player player,
                                                                    @NotNull
                                                                    @NotNull DepositoryItemData itemData)
      • open

        public static void open​(@NotNull
                                @NotNull org.bukkit.entity.Player player,
                                @NotNull
                                @NotNull Depository depository)