| Package | Description |
|---|---|
| me.lucko.helper.menu | |
| me.lucko.helper.menu.scheme |
| Modifier and Type | Class and Description |
|---|---|
class |
DummySlot
Useless implementation of
Slot to fulfill not-null contracts. |
class |
SimpleSlot
Basic implementation of
Slot. |
| Modifier and Type | Method and Description |
|---|---|
Slot |
DummySlot.applyFromItem(Item item) |
Slot |
Slot.applyFromItem(Item item)
Applies an item model to this slot.
|
Slot |
SimpleSlot.applyFromItem(Item item)
Applies an item model to this slot.
|
Slot |
DummySlot.bind(org.bukkit.event.inventory.ClickType type,
Consumer<org.bukkit.event.inventory.InventoryClickEvent> handler) |
Slot |
Slot.bind(org.bukkit.event.inventory.ClickType type,
Consumer<org.bukkit.event.inventory.InventoryClickEvent> handler) |
Slot |
SimpleSlot.bind(org.bukkit.event.inventory.ClickType type,
Consumer<org.bukkit.event.inventory.InventoryClickEvent> handler) |
Slot |
DummySlot.bind(org.bukkit.event.inventory.ClickType type,
Runnable handler) |
Slot |
Slot.bind(org.bukkit.event.inventory.ClickType type,
Runnable handler) |
Slot |
SimpleSlot.bind(org.bukkit.event.inventory.ClickType type,
Runnable handler) |
Slot |
DummySlot.bind(Consumer<org.bukkit.event.inventory.InventoryClickEvent> handler,
org.bukkit.event.inventory.ClickType... types) |
Slot |
Slot.bind(Consumer<org.bukkit.event.inventory.InventoryClickEvent> handler,
org.bukkit.event.inventory.ClickType... types) |
Slot |
SimpleSlot.bind(Consumer<org.bukkit.event.inventory.InventoryClickEvent> handler,
org.bukkit.event.inventory.ClickType... types) |
Slot |
DummySlot.bind(Runnable handler,
org.bukkit.event.inventory.ClickType... types) |
Slot |
Slot.bind(Runnable handler,
org.bukkit.event.inventory.ClickType... types) |
Slot |
SimpleSlot.bind(Runnable handler,
org.bukkit.event.inventory.ClickType... types) |
<T extends Consumer<org.bukkit.event.inventory.InventoryClickEvent>> |
DummySlot.bindAllConsumers(Iterable<Map.Entry<org.bukkit.event.inventory.ClickType,T>> handlers) |
<T extends Consumer<org.bukkit.event.inventory.InventoryClickEvent>> |
Slot.bindAllConsumers(Iterable<Map.Entry<org.bukkit.event.inventory.ClickType,T>> handlers) |
<T extends Consumer<org.bukkit.event.inventory.InventoryClickEvent>> |
SimpleSlot.bindAllConsumers(Iterable<Map.Entry<org.bukkit.event.inventory.ClickType,T>> handlers) |
<T extends Runnable> |
DummySlot.bindAllRunnables(Iterable<Map.Entry<org.bukkit.event.inventory.ClickType,T>> handlers) |
<T extends Runnable> |
Slot.bindAllRunnables(Iterable<Map.Entry<org.bukkit.event.inventory.ClickType,T>> handlers) |
<T extends Runnable> |
SimpleSlot.bindAllRunnables(Iterable<Map.Entry<org.bukkit.event.inventory.ClickType,T>> handlers) |
Slot |
DummySlot.clear() |
Slot |
Slot.clear()
Clears all attributes of the slot.
|
Slot |
SimpleSlot.clear()
Clears all attributes of the slot.
|
Slot |
DummySlot.clearBindings() |
Slot |
Slot.clearBindings()
Clears all bindings on this slot.
|
Slot |
SimpleSlot.clearBindings()
Clears all bindings on this slot.
|
Slot |
DummySlot.clearBindings(org.bukkit.event.inventory.ClickType type) |
Slot |
Slot.clearBindings(org.bukkit.event.inventory.ClickType type)
Clears all bindings on this slot for a given click type.
|
Slot |
SimpleSlot.clearBindings(org.bukkit.event.inventory.ClickType type)
Clears all bindings on this slot for a given click type.
|
Slot |
DummySlot.clearItem() |
Slot |
Slot.clearItem()
Clears the item in this slot
|
Slot |
SimpleSlot.clearItem()
Clears the item in this slot
|
Slot |
Gui.getSlot(int slot) |
Slot |
DummySlot.setItem(org.bukkit.inventory.ItemStack item) |
Slot |
Slot.setItem(org.bukkit.inventory.ItemStack item)
Sets the item in this slot
|
Slot |
SimpleSlot.setItem(org.bukkit.inventory.ItemStack item)
Sets the item in this slot
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Slot> |
Gui.getFirstEmptySlot() |
| Modifier and Type | Method and Description |
|---|---|
MenuPopulator |
MenuPopulator.consume(Consumer<Slot> action) |
MenuPopulator |
MenuPopulator.consumeIfSpace(Consumer<Slot> action) |
boolean |
MenuPopulator.tryConsume(Consumer<Slot> action) |
Copyright © 2022. All rights reserved.