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 at the very top of the file.
import crafttweaker . api.commands.custom . MCCommandContext;
Result type Is Implicit Result type
string Is Implicit
true
Return Type: MCCommandContext
MCCommandContext . copyFor ( source as MCCommandSource ) as MCCommandContext
Parameter Type Description Parameter
source Type
MCCommandSource Description
No Description Provided
Return Type: boolean
MCCommandContext . equals ( o as Object ) as boolean
Parameter Type Description Parameter
o Type
Object Description
No Description Provided
Return Type: string
MCCommandContext . getArgument ( name as string ) as string
Parameter Type Description Parameter
name Type
string Description
No Description Provided
Return Type: MCCommandContext
// MCCommandContext.getChild() as MCCommandContext
myMCCommandContext . getChild();
Return Type: MCCommand
// MCCommandContext.getCommand() as MCCommand
myMCCommandContext . getCommand();
Return Type: string
// MCCommandContext.getInput() as string
myMCCommandContext . getInput();
Return Type: MCCommandContext
// MCCommandContext.getLastChild() as MCCommandContext
myMCCommandContext . getLastChild();
Return Type: stdlib.List<MCParsedCommandNode >
// MCCommandContext.getNodes() as stdlib.List<MCParsedCommandNode>
myMCCommandContext . getNodes();
Return Type: MCStringRange
// MCCommandContext.getRange() as MCStringRange
myMCCommandContext . getRange();
Return Type: MCRedirectModifier
// MCCommandContext.getRedirectModifier() as MCRedirectModifier
myMCCommandContext . getRedirectModifier();
Return Type: MCCommandNode
// MCCommandContext.getRootNode() as MCCommandNode
myMCCommandContext . getRootNode();
Return Type: MCCommandSource
// MCCommandContext.getSource() as MCCommandSource
myMCCommandContext . getSource();
Return Type: boolean
// MCCommandContext.hasNodes() as boolean
myMCCommandContext . hasNodes();
Return Type: int
// MCCommandContext.hashCode() as int
myMCCommandContext . hashCode();
Return Type: boolean
// MCCommandContext.isForked() as boolean
myMCCommandContext . isForked();
Return Type: string
// MCCommandContext.toString() as string
myMCCommandContext . toString();
myMCCommandContext == o as Object