Uses of Enum Class
org.bukkit.event.inventory.InventoryCloseEvent.Reason
Package
Description
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of InventoryCloseEvent.Reason in org.bukkit.entity
Modifier and TypeMethodDescriptionvoid
HumanEntity.closeInventory
(InventoryCloseEvent.Reason reason) Force-closes the currently open inventory view for this player, if any. -
Uses of InventoryCloseEvent.Reason in org.bukkit.event.inventory
Modifier and TypeMethodDescriptionInventoryCloseEvent.getReason()
static InventoryCloseEvent.Reason
Returns the enum constant of this class with the specified name.static InventoryCloseEvent.Reason[]
InventoryCloseEvent.Reason.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionInventoryCloseEvent
(@NotNull InventoryView transaction, @NotNull InventoryCloseEvent.Reason reason)