RepairMenu

public class RepairMenu extends EliteMenu

Constructors

Link copied to clipboard
public void RepairMenu()

Types

Link copied to clipboard
public class RepairMenuEvents implements Listener

Properties

Link copied to clipboard
public static Set<Inventory> inventories

Functions

Link copied to clipboard
public void constructRepairMenu(Player player)
Creates the repair menu.
Link copied to clipboard
public static int repairCost(ItemStack item)
Elite coins to fully repair an item: repairCostPerItemLevel x item level x share of durability missing, rounded up.
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)
Link copied to clipboard
protected static void validateSlots(int size, Collection<Integer> slots)