com.mojang.brigadier.exceptions

public class CommandSyntaxException

extends Exception

com.mojang.brigadier.exceptions.CommandSyntaxException

Field summary

Modifier and TypeField
public static final int
CONTEXT_AMOUNT
public static boolean
ENABLE_COMMAND_STACK_TRACES
public static BuiltInExceptionProvider
BUILT_IN_EXCEPTIONS
private final CommandExceptionType
type
private final Message
message
private final String
input
private final int
cursor

Constructor summary

ModifierConstructor
public (CommandExceptionType arg0, Message arg1)
public (CommandExceptionType arg0, Message arg1, String arg2, int arg3)

Method summary

Modifier and TypeMethod
public String
getMessage()
public Message
getRawMessage()
public String
getContext()
public CommandExceptionType
getType()
public String
getInput()
public int
getCursor()