| Modifier and Type | Method and Description |
|---|---|
static @NotNull CommandContext |
CommandCore.createContext(CommandSource source,
Command command,
String label,
Arguments arguments)
Creates a new
CommandContext |
static @NotNull CommandContext |
CommandCore.createContext(CommandSource source,
Command command,
String label,
Arguments arguments)
Creates a new
CommandContext |
| Modifier and Type | Field and Description |
|---|---|
static ArgumentType<Command> |
ArgumentType.COMMAND
ArgumentType that represents a CommandCore command |
static ArgumentType<Command> |
ArgumentType.COMMAND
ArgumentType that represents a CommandCore command |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Command |
CommandContext.getCommand()
Gets the command that was executed
|
@NotNull Command |
CommandContext.getCommand()
Gets the command that was executed
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull Command |
CommandBuilder.build()
Creates a new
Command instance using the supplied values |
@NotNull Command |
CommandBuilder.build()
Creates a new
Command instance using the supplied values |
| Modifier and Type | Method and Description |
|---|---|
Command |
CommandManager.getCommand(String name,
boolean alias)
Gets the command from its name
|
Command |
CommandManager.getCommand(String name,
boolean alias)
Gets the command from its name
|
Copyright © 2024. All rights reserved.