@FunctionalInterface
public interface ICommandExecutor
| Modifier and Type | Method and Description |
|---|---|
void |
execute(net.minecraft.server.MinecraftServer server,
net.minecraft.command.ICommandSender sender,
CommandArguments arguments)
Called when a command with the correct arguments gets executed.
|
void execute(net.minecraft.server.MinecraftServer server,
net.minecraft.command.ICommandSender sender,
CommandArguments arguments)
throws net.minecraft.command.CommandException
server - the server instancesender - the command senderarguments - the arguments usednet.minecraft.command.CommandException - if something goes wrong