Uses of Class
de.marcely.bedwars.api.event.player.PlayerUseSpecialItemEvent
-
Uses of PlayerUseSpecialItemEvent in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescriptionPlayerUseSpecialItemFireballEvent.getOriginEvent()
Returns the event that was called right before this event.ModifierConstructorDescriptionPlayerUseSpecialItemFireballEvent
(PlayerUseSpecialItemEvent origin, ProjectileSource shooter, Location spawnLocation, Vector direction, float yield, double flightSpeed, boolean flyStraight) -
Uses of PlayerUseSpecialItemEvent in de.marcely.bedwars.api.game.specialitem
Modifier and TypeMethodDescription@Nullable PlayerUseSpecialItemEvent
SpecialItemUseSession.getEvent()
Returns the event/session detailsModifier and TypeMethodDescriptionDeadSpecialItemUseHandler.openSession
(PlayerUseSpecialItemEvent event) SpecialItemUseHandler.openSession
(PlayerUseSpecialItemEvent event) UseSpecialItemUseSession(PlayerUseSpecialItemEvent)
and pass it back to this event
Make sure to callSpecialItemUseSession.stop()
when the item did its thing
Also optionally callSpecialItemUseSession.takeItem()
when needed