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