Package net.minecraft.command
Class TranslatableExceptionProvider
- java.lang.Object
-
- net.minecraft.command.TranslatableExceptionProvider
-
- All Implemented Interfaces:
com.mojang.brigadier.exceptions.BuiltInExceptionProvider
public class TranslatableExceptionProvider extends java.lang.Object implements com.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
DISPATCHER_EXPECTED_ARGUMENT_SEPARATOR
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
DISPATCHER_PARSE_EXCEPTION
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
DISPATCHER_UNKNOWN_ARGUMENT
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
DISPATCHER_UNKNOWN_COMMAND
private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
DOUBLE_TOO_BIG
private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
DOUBLE_TOO_SMALL
private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
FLOAT_TOO_BIG
private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
FLOAT_TOO_SMALL
private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
INTEGER_TOO_BIG
private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
INTEGER_TOO_SMALL
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
LITERAL_INCORRECT
private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
LONG_TOO_BIG
private static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
LONG_TOO_SMALL
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
READER_EXPECTED_BOOL
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
READER_EXPECTED_DOUBLE
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
READER_EXPECTED_END_OF_QUOTE
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
READER_EXPECTED_FLOAT
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
READER_EXPECTED_INT
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
READER_EXPECTED_LONG
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
READER_EXPECTED_START_OF_QUOTE
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
READER_EXPECTED_SYMBOL
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
READER_INVALID_BOOL
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
READER_INVALID_DOUBLE
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
READER_INVALID_ESCAPE
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
READER_INVALID_FLOAT
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
READER_INVALID_INT
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
READER_INVALID_LONG
-
Constructor Summary
Constructors Constructor Description TranslatableExceptionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mojang.brigadier.exceptions.SimpleCommandExceptionType
dispatcherExpectedArgumentSeparator()
com.mojang.brigadier.exceptions.DynamicCommandExceptionType
dispatcherParseException()
com.mojang.brigadier.exceptions.SimpleCommandExceptionType
dispatcherUnknownArgument()
com.mojang.brigadier.exceptions.SimpleCommandExceptionType
dispatcherUnknownCommand()
com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
doubleTooHigh()
com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
doubleTooLow()
com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
floatTooHigh()
com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
floatTooLow()
com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
integerTooHigh()
com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
integerTooLow()
com.mojang.brigadier.exceptions.DynamicCommandExceptionType
literalIncorrect()
com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
longTooHigh()
com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
longTooLow()
com.mojang.brigadier.exceptions.SimpleCommandExceptionType
readerExpectedBool()
com.mojang.brigadier.exceptions.SimpleCommandExceptionType
readerExpectedDouble()
com.mojang.brigadier.exceptions.SimpleCommandExceptionType
readerExpectedEndOfQuote()
com.mojang.brigadier.exceptions.SimpleCommandExceptionType
readerExpectedFloat()
com.mojang.brigadier.exceptions.SimpleCommandExceptionType
readerExpectedInt()
com.mojang.brigadier.exceptions.SimpleCommandExceptionType
readerExpectedLong()
com.mojang.brigadier.exceptions.SimpleCommandExceptionType
readerExpectedStartOfQuote()
com.mojang.brigadier.exceptions.DynamicCommandExceptionType
readerExpectedSymbol()
com.mojang.brigadier.exceptions.DynamicCommandExceptionType
readerInvalidBool()
com.mojang.brigadier.exceptions.DynamicCommandExceptionType
readerInvalidDouble()
com.mojang.brigadier.exceptions.DynamicCommandExceptionType
readerInvalidEscape()
com.mojang.brigadier.exceptions.DynamicCommandExceptionType
readerInvalidFloat()
com.mojang.brigadier.exceptions.DynamicCommandExceptionType
readerInvalidInt()
com.mojang.brigadier.exceptions.DynamicCommandExceptionType
readerInvalidLong()
-
-
-
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
-
-
Method Detail
-
doubleTooLow
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType doubleTooLow()
- Specified by:
doubleTooLow
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
doubleTooHigh
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType doubleTooHigh()
- Specified by:
doubleTooHigh
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
floatTooLow
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType floatTooLow()
- Specified by:
floatTooLow
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
floatTooHigh
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType floatTooHigh()
- Specified by:
floatTooHigh
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
integerTooLow
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType integerTooLow()
- Specified by:
integerTooLow
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
integerTooHigh
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType integerTooHigh()
- Specified by:
integerTooHigh
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
longTooLow
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType longTooLow()
- Specified by:
longTooLow
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
longTooHigh
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType longTooHigh()
- Specified by:
longTooHigh
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
literalIncorrect
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType literalIncorrect()
- Specified by:
literalIncorrect
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedStartOfQuote
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedStartOfQuote()
- Specified by:
readerExpectedStartOfQuote
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedEndOfQuote
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedEndOfQuote()
- Specified by:
readerExpectedEndOfQuote
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerInvalidEscape
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidEscape()
- Specified by:
readerInvalidEscape
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerInvalidBool
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidBool()
- Specified by:
readerInvalidBool
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerInvalidInt
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidInt()
- Specified by:
readerInvalidInt
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedInt
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedInt()
- Specified by:
readerExpectedInt
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerInvalidLong
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidLong()
- Specified by:
readerInvalidLong
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedLong
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedLong()
- Specified by:
readerExpectedLong
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerInvalidDouble
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidDouble()
- Specified by:
readerInvalidDouble
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedDouble
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedDouble()
- Specified by:
readerExpectedDouble
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerInvalidFloat
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidFloat()
- Specified by:
readerInvalidFloat
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedFloat
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedFloat()
- Specified by:
readerExpectedFloat
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedBool
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedBool()
- Specified by:
readerExpectedBool
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedSymbol
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerExpectedSymbol()
- Specified by:
readerExpectedSymbol
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
dispatcherUnknownCommand
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType dispatcherUnknownCommand()
- Specified by:
dispatcherUnknownCommand
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
dispatcherUnknownArgument
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType dispatcherUnknownArgument()
- Specified by:
dispatcherUnknownArgument
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
dispatcherExpectedArgumentSeparator
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType dispatcherExpectedArgumentSeparator()
- Specified by:
dispatcherExpectedArgumentSeparator
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
dispatcherParseException
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType dispatcherParseException()
- Specified by:
dispatcherParseException
in interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
-