Class PlayerRiptideEvent

public class PlayerRiptideEvent extends PlayerEvent
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.
  • Constructor Details

    • PlayerRiptideEvent

      public PlayerRiptideEvent(@NotNull Player who, @NotNull ItemStack item)
  • Method Details

    • getItem

      @NotNull public ItemStack getItem()
      Gets the item containing the used enchantment.
      held enchanted item
    • getHandlers

      @NotNull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static HandlerList getHandlerList()