public class PlayerCommandSendEvent extends PlayerEvent
Event.Resultplayer| 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()  | 
getPlayergetEventName, isAsynchronouspublic PlayerCommandSendEvent(@NotNull
                              @NotNull Player player,
                              @NotNull
                              @NotNull Collection<String> commands)
@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.