Package | Description |
---|---|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.inventory |
Modifier and Type | Method and Description |
---|---|
void |
HumanEntity.closeInventory(InventoryCloseEvent.Reason reason)
Force-closes the currently open inventory view for this player, if any.
|
Modifier and Type | Method and Description |
---|---|
@NotNull InventoryCloseEvent.Reason |
InventoryCloseEvent.getReason() |
static InventoryCloseEvent.Reason |
InventoryCloseEvent.Reason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryCloseEvent.Reason[] |
InventoryCloseEvent.Reason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
InventoryCloseEvent(@NotNull InventoryView transaction,
@NotNull InventoryCloseEvent.Reason reason) |
Copyright © 2021. All rights reserved.