| 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 | Description | 
|---|---|---|
void | 
HumanEntity.closeInventory(InventoryCloseEvent.Reason reason) | 
 Force-closes the currently open inventory view for this player, if any. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
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 | Description | 
|---|---|
InventoryCloseEvent(InventoryView transaction,
                   InventoryCloseEvent.Reason reason) | 
Copyright © 2019. All rights reserved.