Package valorless.havenbags.features
Class BagCarryLimit
java.lang.Object
valorless.havenbags.features.BagCarryLimit
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getBagCarryLimit
(org.bukkit.entity.Player player) static void
init()
void
onEntityPickupItem
(org.bukkit.event.entity.EntityPickupItemEvent e) void
onInventoryClick
(org.bukkit.event.inventory.InventoryClickEvent e) void
onInventoryClose
(org.bukkit.event.inventory.InventoryCloseEvent e)
-
Constructor Details
-
BagCarryLimit
public BagCarryLimit()
-
-
Method Details
-
init
public static void init() -
onInventoryClick
public void onInventoryClick(org.bukkit.event.inventory.InventoryClickEvent e) -
onEntityPickupItem
public void onEntityPickupItem(org.bukkit.event.entity.EntityPickupItemEvent e) -
onInventoryClose
public void onInventoryClose(org.bukkit.event.inventory.InventoryCloseEvent e) -
getBagCarryLimit
public static int getBagCarryLimit(org.bukkit.entity.Player player)
-