public class PlayerCommandSendEvent extends PlayerEvent
Event.Result
player
Constructor and Description |
---|
PlayerCommandSendEvent(@NotNull Player player,
@NotNull Collection<String> commands) |
Modifier and Type | Method and Description |
---|---|
@NotNull Collection<String> |
getCommands()
Returns a mutable collection of all top level commands to be sent.
|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
getPlayer
callEvent, getEventName, isAsynchronous
@NotNull public @NotNull Collection<String> getCommands()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.