-
- All Implemented Interfaces:
public final class CommandStore.StoredCommand
Contains detailed information on a loaded command.
-
-
Method Summary
Modifier and Type Method Description Class<out BaseCommand>
getCommandClass()
Returns the class object for this command's implementation. String
getName()
Returns the name of this command (what the player would enter to use it). String
getSyntax()
Returns the syntax for this command. String
getHelp()
Returns the detailed usage instructions for this command. String
getSource()
Returns the complete file path of the CSV this command was loaded from (not the relative path). List<String>
getTags()
Returns all tags associated with this command. -
-
Method Detail
-
getCommandClass
Class<out BaseCommand> getCommandClass()
Returns the class object for this command's implementation.
-
getSource
String getSource()
Returns the complete file path of the CSV this command was loaded from (not the relative path). Useful for determining which mod added this command.
-
-
-
-