Class PlayerEmotePlayEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
dev.lone.itemsadder.api.Events.PlayerEmotePlayEvent
- All Implemented Interfaces:
Cancellable
Called before a player starts playing an emote.
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionPlayerEmotePlayEvent(@NotNull Player who, @NotNull String emoteName) Creates a player emote play event. -
Method Summary
Modifier and TypeMethodDescriptionGets the emote name.static @NotNull HandlerList@NotNull HandlerListbooleanvoidsetCancelled(boolean cancelled) Methods inherited from class PlayerEvent
getPlayerMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerEmotePlayEvent
-
-
Method Details
-
getEmoteName
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelledin interfaceCancellable
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-