MCCommandDispatcher
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.
Casters
Result type | Is Implicit |
---|---|
Result type string | Is Implicit true |
Methods
Return Type: boolean
Parameter | Type | Description |
---|---|---|
Parameter o | Type Object | Description No Description Provided |
Return Type: int
Parameter | Type | Description |
---|---|---|
Parameter parse | Type MCParseResults | Description No Description Provided |
Return Type: int
Parameter | Type | Description |
---|---|---|
Parameter input | Type string | Description No Description Provided |
Parameter source | Type MCCommandSource | Description No Description Provided |
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter consumer | Type MCAmbiguityConsumer | Description No Description Provided |
Return Type: MCCommandNode
Parameter | Type | Description |
---|---|---|
Parameter path | Type Collection<string> | Description No Description Provided |
Return Type: string[]
Parameter | Type | Description |
---|---|---|
Parameter node | Type MCCommandNode | Description No Description Provided |
Parameter source | Type MCCommandSource | Description No Description Provided |
Parameter restricted | Type boolean | Description No Description Provided |
Return Type: MCSuggestions
Parameter | Type | Description |
---|---|---|
Parameter parse | Type MCParseResults | Description No Description Provided |
Return Type: MCSuggestions
Parameter | Type | Description |
---|---|---|
Parameter parse | Type MCParseResults | Description No Description Provided |
Parameter cursor | Type int | Description No Description Provided |
Return Type: Collection<string>
Parameter | Type | Description |
---|---|---|
Parameter target | Type MCCommandNode | Description No Description Provided |
Return Type: MCRootCommandNode
Return Type: string[MCCommandNode]
Parameter | Type | Description |
---|---|---|
Parameter node | Type MCCommandNode | Description No Description Provided |
Parameter source | Type MCCommandSource | Description No Description Provided |
Return Type: int
Return Type: MCParseResults
Parameter | Type | Description |
---|---|---|
Parameter command | Type string | Description No Description Provided |
Parameter source | Type MCCommandSource | Description No Description Provided |
Return Type: MCLiteralCommandNode
Parameter | Type | Description |
---|---|---|
Parameter command | Type MCLiteralArgumentBuilder | Description No Description Provided |
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter consumer | Type MCResultConsumer | Description No Description Provided |
Return Type: string