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 intgetBagCarryLimit(org.bukkit.entity.Player player) static voidinit()voidonEntityPickupItem(org.bukkit.event.entity.EntityPickupItemEvent e) voidonInventoryClick(org.bukkit.event.inventory.InventoryClickEvent e) voidonInventoryClose(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)
-