Index
All Classes and Interfaces|All Packages
A
- ActionConsumer - Class in de.eldoria.eldoutilities.inventory
-
Class which holds some simple consumers which can be used in a
ActionItem. - ActionItem - Class in de.eldoria.eldoutilities.inventory
-
A class which represents an item in a slot which will execute actions on click on the item and on close of the inventory.
- ActionItem(ItemStack, int, Consumer<InventoryClickEvent>, Consumer<ItemStack>) - Constructor for class de.eldoria.eldoutilities.inventory.ActionItem
-
Creates a new Action Item.
- addAction(ActionItem) - Method in class de.eldoria.eldoutilities.inventory.InventoryActions
-
Adds an action to the inventory actions.
- addAction(ItemStack, int, Consumer<InventoryClickEvent>, Consumer<ItemStack>) - Method in class de.eldoria.eldoutilities.inventory.InventoryActions
B
- booleanToggle(NamespacedKey) - Static method in class de.eldoria.eldoutilities.inventory.ActionConsumer
-
Gets a consumer which allows to toggle a boolean value.
C
- create(Plugin) - Static method in class de.eldoria.eldoutilities.inventory.InventoryActionHandler
- create(Plugin, Runnable) - Static method in class de.eldoria.eldoutilities.inventory.InventoryActionHandler
D
- de.eldoria.eldoutilities.inventory - package de.eldoria.eldoutilities.inventory
G
- getDoubleRange(NamespacedKey, double, double) - Static method in class de.eldoria.eldoutilities.inventory.ActionConsumer
-
Get a consumer which allows to raise and lower a value between a range.
- getIntRange(NamespacedKey, int, int) - Static method in class de.eldoria.eldoutilities.inventory.ActionConsumer
-
Get a consumer which allows to raise and lower a value between a range.
- getItemStack() - Method in class de.eldoria.eldoutilities.inventory.ActionItem
- getPluginInventoryHandler(Class<? extends Plugin>) - Static method in class de.eldoria.eldoutilities.inventory.InventoryActionHandler
- getSlot() - Method in class de.eldoria.eldoutilities.inventory.ActionItem
I
- InventoryActionHandler - Class in de.eldoria.eldoutilities.inventory
-
A InventoryActionHandler allows to handle basic click uis easily.
- InventoryActionHandler() - Constructor for class de.eldoria.eldoutilities.inventory.InventoryActionHandler
- InventoryActionHandler(Runnable) - Constructor for class de.eldoria.eldoutilities.inventory.InventoryActionHandler
- InventoryActions - Class in de.eldoria.eldoutilities.inventory
-
Represens a set of
ActionItems.
O
- of(Inventory) - Static method in class de.eldoria.eldoutilities.inventory.InventoryActions
- of(Inventory, Consumer<InventoryCloseEvent>) - Static method in class de.eldoria.eldoutilities.inventory.InventoryActions
- onInventoryClick(InventoryClickEvent) - Method in class de.eldoria.eldoutilities.inventory.ActionItem
-
This method will be called for the clicked item stack and only for the clicked item stack.
- onInventoryClick(InventoryClickEvent) - Method in class de.eldoria.eldoutilities.inventory.InventoryActionHandler
- onInventoryClick(InventoryClickEvent) - Method in class de.eldoria.eldoutilities.inventory.InventoryActions
- onInventoryClose(InventoryCloseEvent) - Method in class de.eldoria.eldoutilities.inventory.InventoryActionHandler
- onInventoryClose(InventoryCloseEvent) - Method in class de.eldoria.eldoutilities.inventory.InventoryActions
- onInventoryClose(ItemStack) - Method in class de.eldoria.eldoutilities.inventory.ActionItem
-
This method is called for each registered item stack individually when an inventory is closed.
W
- wrap(Player, Inventory) - Method in class de.eldoria.eldoutilities.inventory.InventoryActionHandler
-
Wraps an inventory in inventory actions and registers it.
- wrap(Player, Inventory, Consumer<InventoryCloseEvent>) - Method in class de.eldoria.eldoutilities.inventory.InventoryActionHandler
All Classes and Interfaces|All Packages