tutorial:command_argument_types
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
tutorial:command_argument_types [2024/04/15 07:03] – [Custom argument serializer] solidblock | tutorial:command_argument_types [2024/04/15 07:15] – solidblock | ||
---|---|---|---|
Line 80: | Line 80: | ||
// Brigadier has support to show examples for what the argument should look like, | // Brigadier has support to show examples for what the argument should look like, | ||
// this should contain a Collection of only the argument this type will return. | // this should contain a Collection of only the argument this type will return. | ||
- | // This is mainly used to calculate ambiguous commands | + | // This is mainly used to detect ambiguity, |
return EXAMPLES; | return EXAMPLES; | ||
} | } | ||
Line 168: | Line 168: | ||
// Brigadier has support to show examples for what the argument should look like, | // Brigadier has support to show examples for what the argument should look like, | ||
// this should contain a Collection of only the argument this type will return. | // this should contain a Collection of only the argument this type will return. | ||
- | // This is mainly used to calculate ambiguous commands | + | // This is mainly used to detect ambiguity, |
return EXAMPLES; | return EXAMPLES; | ||
} | } |
tutorial/command_argument_types.txt · Last modified: 2024/04/15 07:21 by solidblock