Package baritone.api.command
Class Command
java.lang.Object
baritone.api.command.Command
A default implementation of
ICommand which provides easy access to the
command's bound IBaritone instance, IPlayerContext and an easy
way to provide multiple valid command execution names through the default constructor.
So basically, you should use it because it provides a small amount of boilerplate, but you're not forced to use it.
- Author:
- LoganDark
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IBaritoneprotected IPlayerContextThe names of this command.Fields inherited from interface baritone.api.utils.Helper
HELPER, mc, MESSAGE_TAG -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface baritone.api.utils.Helper
logDebug, logDirect, logDirect, logDirect, logDirect, logDirect, logDirect, logNotification, logNotification, logNotificationDirect, logNotificationDirect, logToast, logToast, logToast, logUnhandledExceptionMethods inherited from interface baritone.api.command.ICommand
execute, getLongDesc, getShortDesc, hiddenFromHelp, tabComplete
-
Field Details
-
baritone
-
ctx
-
names
The names of this command. This is what you put after the command prefix.
-
-
Constructor Details
-
Command
Creates a new Baritone control command.- Parameters:
names- The names of this command. This is what you put after the command prefix.
-
-
Method Details