Uses of Class
io.github.lucfr1746.llibrary.inventory.InventoryButton
Packages that use InventoryButton
-
Uses of InventoryButton in io.github.lucfr1746.llibrary.inventory
Methods in io.github.lucfr1746.llibrary.inventory that return InventoryButtonModifier and TypeMethodDescriptionInventoryButton.clone()Sets the consumer that handles inventory click events.InventoryButton.creator(Function<org.bukkit.entity.Player, org.bukkit.inventory.ItemStack> iconCreator) Sets the function that generates the button's icon.Sets the identifier for the button.InventoryButton.priority(int priority) Sets the priority of the button, which may be used for sorting.InventoryButton.viewRequirements(List<Requirement> requirements) Sets the list of requirements that determine whether the button is visible.Methods in io.github.lucfr1746.llibrary.inventory that return types with arguments of type InventoryButtonModifier and TypeMethodDescriptionInventoryBuilder.getButtonMap()InventoryBuilder.getSlotButtons(int slot) Methods in io.github.lucfr1746.llibrary.inventory with parameters of type InventoryButtonModifier and TypeMethodDescriptionvoidInventoryBuilder.addButton(int slot, InventoryButton button) voidInventoryBuilder.refreshButton(org.bukkit.entity.Player player, int slot, InventoryButton button) Method parameters in io.github.lucfr1746.llibrary.inventory with type arguments of type InventoryButtonModifier and TypeMethodDescriptionvoidInventoryBuilder.refreshButtons(org.bukkit.entity.Player player, Map<Integer, TreeSet<InventoryButton>> newButtonMap) voidInventoryBuilder.setButtonMap(Map<Integer, TreeSet<InventoryButton>> buttonMap)