Class PlayerStopSpecialItemEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.event.player.PlayerStopSpecialItemEvent
- All Implemented Interfaces:
- ArenaEvent
Gets called when a special item is done doing its thing
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields inherited from class org.bukkit.event.player.PlayerEventplayer
- 
Constructor SummaryConstructorsConstructorDescriptionPlayerStopSpecialItemEvent(PlayerUseSpecialItemEvent event, SpecialItemUseSession session) PlayerStopSpecialItemEvent(Player player, SpecialItem specialItem, Arena arena, SpecialItemUseSession session) 
- 
Method SummaryModifier and TypeMethodDescriptiongetArena()Returns the arena in which the player has used the item.static HandlerListReturns the session that was stoppedReturns the special item that the player has used.Methods inherited from class org.bukkit.event.player.PlayerEventgetPlayerMethods inherited from class org.bukkit.event.EventgetEventName, isAsynchronous
- 
Constructor Details- 
PlayerStopSpecialItemEvent
- 
PlayerStopSpecialItemEventpublic PlayerStopSpecialItemEvent(Player player, SpecialItem specialItem, Arena arena, SpecialItemUseSession session) 
 
- 
- 
Method Details- 
getSpecialItemReturns the special item that the player has used.- Returns:
- The special item that has been used
 
- 
getArenaReturns the arena in which the player has used the item.- Specified by:
- getArenain interface- ArenaEvent
- Returns:
- The arena involved in this
 
- 
getSessionReturns the session that was stopped- Returns:
- The session that was stopped
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-