Class TranslatableExceptionProvider

  • All Implemented Interfaces:
    com.mojang.brigadier.exceptions.BuiltInExceptionProvider

    public class TranslatableExceptionProvider
    extends java.lang.Object
    implements com.mojang.brigadier.exceptions.BuiltInExceptionProvider
    • Field Detail

      • DOUBLE_TOO_SMALL

        private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType DOUBLE_TOO_SMALL
      • DOUBLE_TOO_BIG

        private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType DOUBLE_TOO_BIG
      • FLOAT_TOO_SMALL

        private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType FLOAT_TOO_SMALL
      • FLOAT_TOO_BIG

        private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType FLOAT_TOO_BIG
      • INTEGER_TOO_SMALL

        private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType INTEGER_TOO_SMALL
      • INTEGER_TOO_BIG

        private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType INTEGER_TOO_BIG
      • LONG_TOO_SMALL

        private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType LONG_TOO_SMALL
      • LONG_TOO_BIG

        private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType LONG_TOO_BIG
      • LITERAL_INCORRECT

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType LITERAL_INCORRECT
      • READER_EXPECTED_START_OF_QUOTE

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType READER_EXPECTED_START_OF_QUOTE
      • READER_EXPECTED_END_OF_QUOTE

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType READER_EXPECTED_END_OF_QUOTE
      • READER_INVALID_ESCAPE

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType READER_INVALID_ESCAPE
      • READER_INVALID_BOOL

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType READER_INVALID_BOOL
      • READER_INVALID_INT

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType READER_INVALID_INT
      • READER_EXPECTED_INT

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType READER_EXPECTED_INT
      • READER_INVALID_LONG

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType READER_INVALID_LONG
      • READER_EXPECTED_LONG

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType READER_EXPECTED_LONG
      • READER_INVALID_DOUBLE

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType READER_INVALID_DOUBLE
      • READER_EXPECTED_DOUBLE

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType READER_EXPECTED_DOUBLE
      • READER_INVALID_FLOAT

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType READER_INVALID_FLOAT
      • READER_EXPECTED_FLOAT

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType READER_EXPECTED_FLOAT
      • READER_EXPECTED_BOOL

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType READER_EXPECTED_BOOL
      • READER_EXPECTED_SYMBOL

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType READER_EXPECTED_SYMBOL
      • DISPATCHER_UNKNOWN_COMMAND

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType DISPATCHER_UNKNOWN_COMMAND
      • DISPATCHER_UNKNOWN_ARGUMENT

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType DISPATCHER_UNKNOWN_ARGUMENT
      • DISPATCHER_EXPECTED_ARGUMENT_SEPARATOR

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType DISPATCHER_EXPECTED_ARGUMENT_SEPARATOR
      • DISPATCHER_PARSE_EXCEPTION

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType DISPATCHER_PARSE_EXCEPTION
    • Constructor Detail

      • TranslatableExceptionProvider

        public TranslatableExceptionProvider()
    • Method Detail

      • doubleTooLow

        public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType doubleTooLow()
        Specified by:
        doubleTooLow in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • doubleTooHigh

        public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType doubleTooHigh()
        Specified by:
        doubleTooHigh in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • floatTooLow

        public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType floatTooLow()
        Specified by:
        floatTooLow in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • floatTooHigh

        public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType floatTooHigh()
        Specified by:
        floatTooHigh in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • integerTooLow

        public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType integerTooLow()
        Specified by:
        integerTooLow in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • integerTooHigh

        public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType integerTooHigh()
        Specified by:
        integerTooHigh in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • longTooLow

        public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType longTooLow()
        Specified by:
        longTooLow in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • longTooHigh

        public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType longTooHigh()
        Specified by:
        longTooHigh in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • literalIncorrect

        public com.mojang.brigadier.exceptions.DynamicCommandExceptionType literalIncorrect()
        Specified by:
        literalIncorrect in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerExpectedStartOfQuote

        public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedStartOfQuote()
        Specified by:
        readerExpectedStartOfQuote in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerExpectedEndOfQuote

        public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedEndOfQuote()
        Specified by:
        readerExpectedEndOfQuote in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerInvalidEscape

        public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidEscape()
        Specified by:
        readerInvalidEscape in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerInvalidBool

        public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidBool()
        Specified by:
        readerInvalidBool in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerInvalidInt

        public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidInt()
        Specified by:
        readerInvalidInt in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerExpectedInt

        public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedInt()
        Specified by:
        readerExpectedInt in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerInvalidLong

        public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidLong()
        Specified by:
        readerInvalidLong in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerExpectedLong

        public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedLong()
        Specified by:
        readerExpectedLong in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerInvalidDouble

        public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidDouble()
        Specified by:
        readerInvalidDouble in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerExpectedDouble

        public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedDouble()
        Specified by:
        readerExpectedDouble in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerInvalidFloat

        public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidFloat()
        Specified by:
        readerInvalidFloat in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerExpectedFloat

        public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedFloat()
        Specified by:
        readerExpectedFloat in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerExpectedBool

        public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedBool()
        Specified by:
        readerExpectedBool in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • readerExpectedSymbol

        public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerExpectedSymbol()
        Specified by:
        readerExpectedSymbol in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • dispatcherUnknownCommand

        public com.mojang.brigadier.exceptions.SimpleCommandExceptionType dispatcherUnknownCommand()
        Specified by:
        dispatcherUnknownCommand in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • dispatcherUnknownArgument

        public com.mojang.brigadier.exceptions.SimpleCommandExceptionType dispatcherUnknownArgument()
        Specified by:
        dispatcherUnknownArgument in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • dispatcherExpectedArgumentSeparator

        public com.mojang.brigadier.exceptions.SimpleCommandExceptionType dispatcherExpectedArgumentSeparator()
        Specified by:
        dispatcherExpectedArgumentSeparator in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider
      • dispatcherParseException

        public com.mojang.brigadier.exceptions.DynamicCommandExceptionType dispatcherParseException()
        Specified by:
        dispatcherParseException in interface com.mojang.brigadier.exceptions.BuiltInExceptionProvider