PropInventoryListener

public class PropInventoryListener implements Listener

Constructors

Link copied to clipboard
public void PropInventoryListener()

Functions

Link copied to clipboard
public static void closeAndUntrackAll(ArmorStand armorStand)
Closes all inventories tracked for the given armor stand and removes them from tracking.
Link copied to clipboard
public static void initialize()
Link copied to clipboard
public static boolean isViewingInventory(UUID playerUUID, ArmorStand armorStand)
Returns true if the player currently has a prop inventory open for the given armor stand.
Link copied to clipboard
public void onInventoryClose(InventoryCloseEvent event)
Link copied to clipboard
public static void shutdown()
Saves all currently open prop inventories and resets state.
Link copied to clipboard
public static void trackInventory(UUID playerUUID, Inventory inventory, ArmorStand armorStand)