public class CommandExecutedEvent extends Event
| 构造器和说明 |
|---|
CommandExecutedEvent(Command.Executor executor,
@NotNull String[] args,
IOHandler ioHandler,
CommandSender sender,
CommandResult result)
Constructs a CommandExecutedEvent
|
| 限定符和类型 | 方法和说明 |
|---|---|
@NotNull String[] |
getArgs() |
Command.Executor |
getExecutor() |
IOHandler |
getIoHandler() |
CommandResult |
getResult() |
CommandSender |
getSender() |
isPrevent, setPreventpublic CommandExecutedEvent(Command.Executor executor, @NotNull @NotNull String[] args, IOHandler ioHandler, CommandSender sender, CommandResult result)
executor - the Executorargs - the args of the executorioHandler - the input and output handlersender - the executorresult - the resultpublic CommandResult getResult()
public CommandSender getSender()
public Command.Executor getExecutor()
@NotNull public @NotNull String[] getArgs()
public IOHandler getIoHandler()
Copyright © 2022. All rights reserved.