public class PlayerCommandSendEvent extends PlayerEvent
Event.Result
player
Constructor | Description |
---|---|
PlayerCommandSendEvent(@NotNull Player player,
@NotNull Collection<String> commands) |
Modifier and Type | Method | Description |
---|---|---|
@NotNull Collection<String> |
getCommands() |
Returns a mutable collection of all top level commands to be sent.
|
static @NotNull HandlerList |
getHandlerList() |
|
@NotNull HandlerList |
getHandlers() |
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
public 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 © 2020. All rights reserved.