@FunctionalInterface public interface CommandExecutor
execute(CommandSender, DataCollection, IOHandler).| 限定符和类型 | 方法和说明 |
|---|---|
@NotNull CommandResult |
execute(CommandSender sender,
DataCollection dataCollection,
IOHandler ioHandler)
Used to execute the command under certain conditions
|
@NotNull @NotNull CommandResult execute(CommandSender sender, DataCollection dataCollection, IOHandler ioHandler)
sender - the executor of the commanddataCollection - parse the arguments the command receivedioHandler - the receiver of the commandCopyright © 2022. All rights reserved.