Package | Description |
---|---|
org.bukkit.event.inventory | |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull InventoryType.SlotType |
InventoryClickEvent.getSlotType() |
Gets the type of slot that was clicked.
|
static InventoryType.SlotType |
InventoryType.SlotType.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static InventoryType.SlotType[] |
InventoryType.SlotType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor | Description |
---|---|
CraftItemEvent(@NotNull Recipe recipe,
@NotNull InventoryView what,
@NotNull InventoryType.SlotType type,
int slot,
@NotNull ClickType click,
@NotNull InventoryAction action) |
|
CraftItemEvent(@NotNull Recipe recipe,
@NotNull InventoryView what,
@NotNull InventoryType.SlotType type,
int slot,
@NotNull ClickType click,
@NotNull InventoryAction action,
int key) |
|
InventoryClickEvent(@NotNull InventoryView view,
@NotNull InventoryType.SlotType type,
int slot,
@NotNull ClickType click,
@NotNull InventoryAction action) |
|
InventoryClickEvent(@NotNull InventoryView view,
@NotNull InventoryType.SlotType type,
int slot,
@NotNull ClickType click,
@NotNull InventoryAction action,
int key) |
|
InventoryCreativeEvent(@NotNull InventoryView what,
@NotNull InventoryType.SlotType type,
int slot,
@NotNull ItemStack newItem) |
Modifier and Type | Method | Description |
---|---|---|
InventoryType.SlotType |
InventoryView.getSlotType(int slot) |
Determine the type of the slot by its raw slot ID.
|
Copyright © 2020. All rights reserved.