Package dev.lone.itemsadder.api.Events
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
ConstructorsConstructorDescriptionPlayerEmotePlayEvent
(@NotNull org.bukkit.entity.Player who, @NotNull String emoteName) -
Method Summary
Modifier and TypeMethodDescription@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
-
Constructor Details
-
PlayerEmotePlayEvent
public PlayerEmotePlayEvent(@NotNull @NotNull org.bukkit.entity.Player who, @NotNull @NotNull String emoteName)
-
-
Method Details
-
getEmoteName
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-