MCArgumentCommandNode
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.
Extending MCCommandNode
MCArgumentCommandNode extends MCCommandNode. That means all methods available in MCCommandNode are also available in MCArgumentCommandNode
Casters
Result type | Is Implicit |
---|---|
Result type string | Is Implicit true |
Methods
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter node | Type MCCommandNode | Description No Description Provided |
Return Type: boolean
Parameter | Type | Description |
---|---|---|
Parameter source | Type MCCommandSource | Description No Description Provided |
Return Type: MCRequiredArgumentBuilder
Return Type: boolean
Parameter | Type | Description |
---|---|---|
Parameter o | Type Object | 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 name | Type string | Description No Description Provided |
Return Type: Collection<MCCommandNode>
Return Type: MCCommand
Return Type: MCSuggestionProvider
Return Type: Collection<string>
Return Type: string
Return Type: MCCommandNode
Return Type: MCRedirectModifier
Return Type: Collection<MCCommandNode>
Parameter | Type | Description |
---|---|---|
Parameter input | Type string | Description No Description Provided |
Return Type: Predicate<MCCommandSource>
Return Type: string
Return Type: int
Return Type: boolean
Return Type: MCSuggestions
Parameter | Type | Description |
---|---|---|
Parameter context | Type MCCommandContext | Description No Description Provided |
Parameter builder | Type MCSuggestionsBuilder | Description No Description Provided |
Return Type: void
Parameter | Type | Description |
---|---|---|
Parameter input | Type string | Description No Description Provided |
Parameter contextBuilder | Type MCCommandContextBuilder | Description No Description Provided |
Return Type: string