Uses of Class
de.marcely.bedwars.api.event.player.PlayerUseSpecialItemEvent
Package
Description
Events related to
Player
actions, or changes to player properties.Classes dedicated to handling
SpecialItems
in MBedwars.-
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, @Nullable Integer autoIgnitionTicks) -
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