MCLiteralArgumentBuilder
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 MCArgumentBuilder
MCLiteralArgumentBuilder extends MCArgumentBuilder. That means all methods available in MCArgumentBuilder are also available in MCLiteralArgumentBuilder
Casters
Result type | Is Implicit |
---|---|
Result type string | Is Implicit true |
Methods
Return Type: MCLiteralCommandNode
Return Type: boolean
Parameter | Type | Description |
---|---|---|
Parameter o | Type Object | Description No Description Provided |
Return Type: MCLiteralArgumentBuilder
Parameter | Type | Description |
---|---|---|
Parameter command | Type MCCommand | Description No Description Provided |
Return Type: MCLiteralArgumentBuilder
Parameter | Type | Description |
---|---|---|
Parameter target | Type MCCommandNode | Description No Description Provided |
Parameter modifier | Type MCRedirectModifier | Description No Description Provided |
Return Type: MCLiteralArgumentBuilder
Parameter | Type | Description |
---|---|---|
Parameter target | Type MCCommandNode | Description No Description Provided |
Parameter modifier | Type MCRedirectModifier | Description No Description Provided |
Parameter fork | Type boolean | Description No Description Provided |
Return Type: Collection<MCCommandNode>
Return Type: MCCommand
Return Type: string
Return Type: MCCommandNode
Return Type: MCRedirectModifier
Return Type: Predicate<MCCommandSource>
Return Type: int
Return Type: boolean
Return Type: MCLiteralArgumentBuilder
Parameter | Type | Description |
---|---|---|
Parameter target | Type MCCommandNode | Description No Description Provided |
Return Type: MCLiteralArgumentBuilder
Parameter | Type | Description |
---|---|---|
Parameter target | Type MCCommandNode | Description No Description Provided |
Parameter modifier | Type MCSingleRedirectModifier | Description No Description Provided |
Return Type: MCLiteralArgumentBuilder
Parameter | Type | Description |
---|---|---|
Parameter requirement | Type Predicate<MCCommandSource> | Description No Description Provided |
Return Type: MCLiteralArgumentBuilder
Parameter | Type | Description |
---|---|---|
Parameter argument | Type MCArgumentBuilder | Description No Description Provided |
Return Type: MCLiteralArgumentBuilder
Parameter | Type | Description |
---|---|---|
Parameter argument | Type MCCommandNode | Description No Description Provided |
Return Type: string