Class PlayerEmotePlayEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
dev.lone.itemsadder.api.Events.PlayerEmotePlayEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PlayerEmotePlayEvent extends org.bukkit.event.player.PlayerEvent implements org.bukkit.event.Cancellable
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Field Summary

    Fields inherited from class org.bukkit.event.player.PlayerEvent

    player
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlayerEmotePlayEvent(@NotNull org.bukkit.entity.Player who, @NotNull String emoteName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    @NotNull org.bukkit.event.HandlerList
     
    boolean
     
    void
    setCancelled(boolean cancelled)
     

    Methods inherited from class org.bukkit.event.player.PlayerEvent

    getPlayer

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlayerEmotePlayEvent

      public PlayerEmotePlayEvent(@NotNull @NotNull org.bukkit.entity.Player who, @NotNull @NotNull String emoteName)
  • Method Details

    • getEmoteName

      public String getEmoteName()
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event