Package valorless.havenbags.gui
Class FeaturesGUI
java.lang.Object
valorless.havenbags.gui.FeaturesGUI
- All Implemented Interfaces:
org.bukkit.event.Listener
@Experimental("In testing")
public class FeaturesGUI
extends Object
implements org.bukkit.event.Listener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classStatic class to keep track of all open UpgradeGUIs.static class -
Constructor Summary
ConstructorsConstructorDescriptionFeaturesGUI(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack bagItem, Bag bagData) -
Method Summary
Modifier and TypeMethodDescriptionList<org.bukkit.inventory.ItemStack> voidclose()createButton(String key) org.bukkit.inventory.InventorygetInv()voidonInventoryClick(org.bukkit.event.inventory.InventoryClickEvent event) voidonInventoryClose(org.bukkit.event.inventory.InventoryCloseEvent event) voidonInventoryDrag(org.bukkit.event.inventory.InventoryDragEvent event) void
-
Constructor Details
-
FeaturesGUI
public FeaturesGUI(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack bagItem, Bag bagData)
-
-
Method Details
-
getInv
public org.bukkit.inventory.Inventory getInv() -
onInventoryDrag
public void onInventoryDrag(org.bukkit.event.inventory.InventoryDragEvent event) -
updateGUI
public void updateGUI() -
onInventoryClick
public void onInventoryClick(org.bukkit.event.inventory.InventoryClickEvent event) -
onInventoryClose
public void onInventoryClose(org.bukkit.event.inventory.InventoryCloseEvent event) -
close
public void close() -
createButton
-
autoPickupFilters
-