ICommand
Link to icommand
Объект ICommand представляет игровую команду.
Импорт пакета
Link to импорт-пакета
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.
import crafttweaker.command.ICommand;
ZenGetters
Link to zengetters
Copy<th>
Возвращаемый тип
</th>
Copy<td>
string
</td>
Copy<td>
List<String\>
</td>
ZenGetter |
---|
name |
aliases |
ZenMethods
Link to zenmethods
- String getUsage(ICommandSender sender);
- void execute(IServer server, ICommandSender sender, String[] args);
- boolean checkPermission(IServer server, ICommandSender sender);
- List
getTabCompletions(IServer server, ICommandSender sender, String[] args, @Optional IBlockPos targetPos); - boolean isUsernameIndex(String[] args, int index);
- command1 != command2; → You can compare them!