Class InventoryCloseEvent
java.lang.Object
org.bukkit.event.Event
nl.mtvehicles.core.infrastructure.models.MTVEvent
nl.mtvehicles.core.events.inventory.InventoryCloseEvent
- All Implemented Interfaces:
HasInventory
On inventory close
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInventoryCloseEvent(InventoryTitle title)
Default constructor with the event-inventory's title -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()
Get the title of the inventory player has clicked inMethods inherited from class nl.mtvehicles.core.infrastructure.models.MTVEvent
call, getHandlerList, getHandlers, getPlayer, isCancelled, setPlayer
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
InventoryCloseEvent
Default constructor with the event-inventory's title- Parameters:
title
- Event-inventory's title
-
-
Method Details
-
getTitle
Description copied from interface:HasInventory
Get the title of the inventory player has clicked in- Specified by:
getTitle
in interfaceHasInventory
- Returns:
- Inventory title
- See Also:
InventoryTitle.getStringTitle()
-