-
public final class CommandStore.StoredCommandContains 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. StringgetName()Returns the name of this command (what the player would enter to useit). StringgetSyntax()Returns the syntax for this command. StringgetHelp()Returns the detailed usage instructions for this command. StringgetSource()Returns the complete file path of the CSV this command was loadedfrom (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 loadedfrom (not the relative path). Useful for determining which modadded this command.
-
-
-
-