CommandAPI 9.6.0
An API for the command UI introduced in Minecraft 1.13
|
A simple CommandExceptionType
that gives a static message, that does not change based on the type of error.
More...
Public Member Functions | |
SimpleCommandExceptionType (final Message message) | |
CommandSyntaxException | create () |
Creates a CommandSyntaxException . More... | |
CommandSyntaxException | createWithContext (final ImmutableStringReader reader) |
Creates a CommandSyntaxException including information about the position and input. More... | |
String | toString () |
A simple CommandExceptionType
that gives a static message, that does not change based on the type of error.
An example could be a message displaying a command was not found, but not including the full input again.
CommandSyntaxException com.mojang.brigadier.exceptions.SimpleCommandExceptionType.create | ( | ) |
Creates a CommandSyntaxException
.
CommandSyntaxException
CommandSyntaxException com.mojang.brigadier.exceptions.SimpleCommandExceptionType.createWithContext | ( | final ImmutableStringReader | reader | ) |
Creates a CommandSyntaxException
including information about the position and input.
reader | the ImmutableStringReader giving information about the input and the place the error occurred |
CommandSyntaxException