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 Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerStopSpecialItemEvent
(PlayerUseSpecialItemEvent event, SpecialItemUseSession session) PlayerStopSpecialItemEvent
(Player player, SpecialItem specialItem, Arena arena, SpecialItemUseSession session) -
Method Summary
Modifier and TypeMethodDescriptiongetArena()
Returns the arena in which the player has used the item.static HandlerList
Returns the session that was stoppedReturns the special item that the player has used.Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerStopSpecialItemEvent
-
PlayerStopSpecialItemEvent
public PlayerStopSpecialItemEvent(Player player, SpecialItem specialItem, Arena arena, SpecialItemUseSession session)
-
-
Method Details
-
getSpecialItem
Returns the special item that the player has used.- Returns:
- The special item that has been used
-
getArena
Returns the arena in which the player has used the item.- Specified by:
getArena
in interfaceArenaEvent
- Returns:
- The arena involved in this
-
getSession
Returns the session that was stopped- Returns:
- The session that was stopped
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-