| Package | Description |
|---|---|
| io.github.portlek.smartinventory |
the package that contains common interfaces.
|
| io.github.portlek.smartinventory.listener |
the package that contains
Listener classes. |
| io.github.portlek.smartinventory.manager |
the package that contains
SmartInventory implementations. |
| io.github.portlek.smartinventory.page |
the package that contains
Page implementations. |
| Modifier and Type | Field and Description |
|---|---|
static Function<SmartInventory,List<org.bukkit.event.Listener>> |
SmartInventory.LISTENERS
all listener to register.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull SmartInventory |
Page.inventory()
obtains the page's inventory manager.
|
| Modifier and Type | Method and Description |
|---|---|
static Page |
Page.build(@NotNull SmartInventory inventory)
creates a simple page instance from the given inventory.
|
static Page |
Page.build(@NotNull SmartInventory inventory,
@NotNull InventoryProvider provider)
creates a simple page instance from the given parameters.
|
| Constructor and Description |
|---|
InventoryClickListener(@NotNull SmartInventory inventory) |
InventoryCloseListener(@NotNull SmartInventory inventory) |
InventoryDragListener(@NotNull SmartInventory inventory) |
InventoryOpenListener(@NotNull SmartInventory inventory) |
PlayerQuitListener(@NotNull SmartInventory inventory) |
PluginDisableListener(@NotNull SmartInventory inventory) |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicSmartInventory
an implementation for
SmartInventory. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull SmartInventory |
BasicPage.inventory() |
| Constructor and Description |
|---|
BasicPage(@NotNull SmartInventory inventory)
ctor.
|
BasicPage(@NotNull SmartInventory inventory,
@NotNull InventoryProvider provider)
ctor.
|
Copyright © 2021. All rights reserved.