CommandSource
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.command.CommandSource;
Members
Getter
// CommandSource.acceptsFailure as boolmyCommandSource.acceptsFailure
Return Type:
bool
acceptsFailure() as bool
// CommandSource.acceptsFailure() as bool;myCommandSource.acceptsFailure();
Return Type:
bool
Getter
// CommandSource.acceptsSuccess as boolmyCommandSource.acceptsSuccess
Return Type:
bool
acceptsSuccess() as bool
// CommandSource.acceptsSuccess() as bool;myCommandSource.acceptsSuccess();
Return Type:
bool
Getter
// CommandSource.alwaysAccepts as boolmyCommandSource.alwaysAccepts
Return Type:
bool
alwaysAccepts() as bool
// CommandSource.alwaysAccepts() as bool;myCommandSource.alwaysAccepts();
Return Type:
bool
Getter
// CommandSource.shouldInformAdmins as boolmyCommandSource.shouldInformAdmins
Return Type:
bool
shouldInformAdmins() as bool
// CommandSource.shouldInformAdmins() as bool;myCommandSource.shouldInformAdmins();
Return Type:
bool