|
CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
A consumer that is notified of found ambiguities in the command tree. More...
Public Member Functions | |
| void | ambiguous (final CommandNode< S > parent, final CommandNode< S > child, final CommandNode< S > sibling, final Collection< String > inputs) |
| Invoked when ambiguities are detected. More... | |
A consumer that is notified of found ambiguities in the command tree.
| <S> | the command source |
| void com.mojang.brigadier.AmbiguityConsumer< S >.ambiguous | ( | final CommandNode< S > | parent, |
| final CommandNode< S > | child, | ||
| final CommandNode< S > | sibling, | ||
| final Collection< String > | inputs | ||
| ) |
Invoked when ambiguities are detected.
| parent | the parent command of the command that is ambiguous |
| child | the first command that is ambiguous |
| sibling | the second command that is ambiguous |
| inputs | the inputs for which they both matched and therefore were ambiguous |