MCParsedCommandNode
Importing the class
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.MCParsedCommandNode;
Casters
Result type | Is Implicit |
---|---|
Result type string | Is Implicit true |
Methods
Return Type: boolean
MCParsedCommandNode.equals(o as Object) as boolean
Parameter | Type | Description |
---|---|---|
Parameter o | Type Object | Description No Description Provided |
Return Type: MCCommandNode
// MCParsedCommandNode.getNode() as MCCommandNode
myMCParsedCommandNode.getNode();
Return Type: MCStringRange
// MCParsedCommandNode.getRange() as MCStringRange
myMCParsedCommandNode.getRange();
Return Type: int
// MCParsedCommandNode.hashCode() as int
myMCParsedCommandNode.hashCode();
Return Type: string
// MCParsedCommandNode.toString() as string
myMCParsedCommandNode.toString();
Operators
myMCParsedCommandNode == o as Object