Package org.bukkit.event.player
Class PlayerRiptideEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerRiptideEvent
This event is fired when the player activates the riptide enchantment, using
 their trident to propel them through the air.
 
N.B. the riptide action is currently performed client side, so manipulating the player in this event may have undesired effects.
N.B. the riptide action is currently performed client side, so manipulating the player in this event may have undesired effects.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields inherited from class org.bukkit.event.player.PlayerEventplayer
- 
Constructor SummaryConstructorsConstructorDescriptionPlayerRiptideEvent(Player who, ItemStack item) Deprecated.PlayerRiptideEvent(Player who, ItemStack item, Vector velocity) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic HandlerListgetItem()Gets the item containing the used enchantment.Get the velocity applied to the player as a result of this riptide.Methods inherited from class org.bukkit.event.player.PlayerEventgetPlayerMethods inherited from class org.bukkit.event.EventgetEventName, isAsynchronous
- 
Constructor Details- 
PlayerRiptideEvent
- 
PlayerRiptideEventDeprecated.
 
- 
- 
Method Details- 
getItemGets the item containing the used enchantment.- Returns:
- held enchanted item
 
- 
getVelocityGet the velocity applied to the player as a result of this riptide.- Returns:
- the riptide velocity
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-