public interface ViewContainer
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(int slot,
@NotNull org.bukkit.inventory.ItemStack item) |
@Nullable ViewContainer |
at(int slot) |
int |
columnsCount() |
int |
firstSlot() |
boolean |
hasItem(int slot) |
@NotNull org.bukkit.inventory.InventoryHolder |
inventoryHolder() |
boolean |
isPlayerInventory() |
int |
lastSlot() |
void |
open(@NotNull Viewer viewer) |
void |
removeItem(int slot) |
int |
rowsCount() |
int |
size() |
int |
slotsCount() |
@NotNull InvType |
type() |
@NotNull @NotNull org.bukkit.inventory.InventoryHolder inventoryHolder()
@NotNull @NotNull InvType type()
int size()
int slotsCount()
int rowsCount()
int columnsCount()
int firstSlot()
int lastSlot()
boolean hasItem(int slot)
void removeItem(int slot)
void addItem(int slot,
@NotNull
@NotNull org.bukkit.inventory.ItemStack item)
void open(@NotNull
@NotNull Viewer viewer)
boolean isPlayerInventory()
@Nullable @Nullable ViewContainer at(int slot)