LootMenu

public class LootMenu extends EliteMenu

Need/greed menu with exact roll identities, pagination, and support for overlapping active loot sessions.

Constructors

Link copied to clipboard
public void LootMenu(Player player, SharedLootTable sharedLootTable, SharedLootTable.PlayerTable playerTable)

Types

Link copied to clipboard
public class LootMenuEvents implements Listener

Properties

Link copied to clipboard
public final Inventory inventory

Functions

Link copied to clipboard
public Inventory getInventory()
Link copied to clipboard
public static HashMap<UUID, LootMenu> getPlayerLoot()
Backward-compatible snapshot exposing the most recent active loot menu per player.
Link copied to clipboard
public static void openMenu(Player player)
Link copied to clipboard
public void removeMenu()
Link copied to clipboard
public static void shutdown()

Inherited functions

Link copied to clipboard
public static void cancel(HumanEntity player, Inventory eliteInventory, Inventory playerInventory, List<Integer> inputSlots)
Link copied to clipboard
public static void createEliteMenu(Inventory inventory, Set<Inventory> inventories)
Link copied to clipboard
public static boolean isBottomMenu(InventoryClickEvent event)
Link copied to clipboard
public static boolean isEliteMenu(InventoryClickEvent event, Set<Inventory> inventories)
Link copied to clipboard
public static boolean isTopMenu(InventoryClickEvent event)
Link copied to clipboard
public static void moveItemDown(Inventory inventoryToClear, int slotToClear, HumanEntity player)
public static boolean moveItemDown(Inventory inventoryToClear, int slotToClear, HumanEntity player, boolean canDrop)
Link copied to clipboard
public static void moveOneItemUp(int targetSlot, InventoryClickEvent event)