Class PlayerEmoteEndEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent

public class PlayerEmoteEndEvent extends PlayerEvent
Called when a player emote stops or finishes.
  • Constructor Details

    • PlayerEmoteEndEvent

      public PlayerEmoteEndEvent(@NotNull @NotNull Player who, String emoteName, PlayerEmoteEndEvent.Cause cause)
      Creates a player emote end event.
      Parameters:
      who - the player.
      emoteName - the emote name.
      cause - why the emote ended.
  • Method Details

    • getEmoteName

      public String getEmoteName()
      Gets the emote name.
      Returns:
      the emote name.
    • getCause

      public PlayerEmoteEndEvent.Cause getCause()
      Gets why the emote ended.
      Returns:
      the end cause.
    • getHandlers

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

      @NotNull public static @NotNull HandlerList getHandlerList()