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.SimpleCommandExceptionTypeDISPATCHER_EXPECTED_ARGUMENT_SEPARATORprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeDISPATCHER_PARSE_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeDISPATCHER_UNKNOWN_ARGUMENTprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeDISPATCHER_UNKNOWN_COMMANDprivate static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeDOUBLE_TOO_BIGprivate static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeDOUBLE_TOO_SMALLprivate static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeFLOAT_TOO_BIGprivate static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeFLOAT_TOO_SMALLprivate static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeINTEGER_TOO_BIGprivate static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeINTEGER_TOO_SMALLprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeLITERAL_INCORRECTprivate static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeLONG_TOO_BIGprivate static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeLONG_TOO_SMALLprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeREADER_EXPECTED_BOOLprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeREADER_EXPECTED_DOUBLEprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeREADER_EXPECTED_END_OF_QUOTEprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeREADER_EXPECTED_FLOATprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeREADER_EXPECTED_INTprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeREADER_EXPECTED_LONGprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeREADER_EXPECTED_START_OF_QUOTEprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeREADER_EXPECTED_SYMBOLprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeREADER_INVALID_BOOLprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeREADER_INVALID_DOUBLEprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeREADER_INVALID_ESCAPEprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeREADER_INVALID_FLOATprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeREADER_INVALID_INTprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeREADER_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.SimpleCommandExceptionTypedispatcherExpectedArgumentSeparator()com.mojang.brigadier.exceptions.DynamicCommandExceptionTypedispatcherParseException()com.mojang.brigadier.exceptions.SimpleCommandExceptionTypedispatcherUnknownArgument()com.mojang.brigadier.exceptions.SimpleCommandExceptionTypedispatcherUnknownCommand()com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypedoubleTooHigh()com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypedoubleTooLow()com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypefloatTooHigh()com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypefloatTooLow()com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeintegerTooHigh()com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypeintegerTooLow()com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeliteralIncorrect()com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypelongTooHigh()com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypelongTooLow()com.mojang.brigadier.exceptions.SimpleCommandExceptionTypereaderExpectedBool()com.mojang.brigadier.exceptions.SimpleCommandExceptionTypereaderExpectedDouble()com.mojang.brigadier.exceptions.SimpleCommandExceptionTypereaderExpectedEndOfQuote()com.mojang.brigadier.exceptions.SimpleCommandExceptionTypereaderExpectedFloat()com.mojang.brigadier.exceptions.SimpleCommandExceptionTypereaderExpectedInt()com.mojang.brigadier.exceptions.SimpleCommandExceptionTypereaderExpectedLong()com.mojang.brigadier.exceptions.SimpleCommandExceptionTypereaderExpectedStartOfQuote()com.mojang.brigadier.exceptions.DynamicCommandExceptionTypereaderExpectedSymbol()com.mojang.brigadier.exceptions.DynamicCommandExceptionTypereaderInvalidBool()com.mojang.brigadier.exceptions.DynamicCommandExceptionTypereaderInvalidDouble()com.mojang.brigadier.exceptions.DynamicCommandExceptionTypereaderInvalidEscape()com.mojang.brigadier.exceptions.DynamicCommandExceptionTypereaderInvalidFloat()com.mojang.brigadier.exceptions.DynamicCommandExceptionTypereaderInvalidInt()com.mojang.brigadier.exceptions.DynamicCommandExceptionTypereaderInvalidLong()
-
-
-
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:
doubleTooLowin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
doubleTooHigh
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType doubleTooHigh()
- Specified by:
doubleTooHighin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
floatTooLow
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType floatTooLow()
- Specified by:
floatTooLowin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
floatTooHigh
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType floatTooHigh()
- Specified by:
floatTooHighin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
integerTooLow
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType integerTooLow()
- Specified by:
integerTooLowin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
integerTooHigh
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType integerTooHigh()
- Specified by:
integerTooHighin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
longTooLow
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType longTooLow()
- Specified by:
longTooLowin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
longTooHigh
public com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType longTooHigh()
- Specified by:
longTooHighin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
literalIncorrect
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType literalIncorrect()
- Specified by:
literalIncorrectin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedStartOfQuote
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedStartOfQuote()
- Specified by:
readerExpectedStartOfQuotein interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedEndOfQuote
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedEndOfQuote()
- Specified by:
readerExpectedEndOfQuotein interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerInvalidEscape
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidEscape()
- Specified by:
readerInvalidEscapein interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerInvalidBool
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidBool()
- Specified by:
readerInvalidBoolin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerInvalidInt
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidInt()
- Specified by:
readerInvalidIntin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedInt
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedInt()
- Specified by:
readerExpectedIntin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerInvalidLong
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidLong()
- Specified by:
readerInvalidLongin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedLong
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedLong()
- Specified by:
readerExpectedLongin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerInvalidDouble
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidDouble()
- Specified by:
readerInvalidDoublein interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedDouble
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedDouble()
- Specified by:
readerExpectedDoublein interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerInvalidFloat
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerInvalidFloat()
- Specified by:
readerInvalidFloatin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedFloat
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedFloat()
- Specified by:
readerExpectedFloatin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedBool
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType readerExpectedBool()
- Specified by:
readerExpectedBoolin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
readerExpectedSymbol
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType readerExpectedSymbol()
- Specified by:
readerExpectedSymbolin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
dispatcherUnknownCommand
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType dispatcherUnknownCommand()
- Specified by:
dispatcherUnknownCommandin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
dispatcherUnknownArgument
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType dispatcherUnknownArgument()
- Specified by:
dispatcherUnknownArgumentin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
dispatcherExpectedArgumentSeparator
public com.mojang.brigadier.exceptions.SimpleCommandExceptionType dispatcherExpectedArgumentSeparator()
- Specified by:
dispatcherExpectedArgumentSeparatorin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
dispatcherParseException
public com.mojang.brigadier.exceptions.DynamicCommandExceptionType dispatcherParseException()
- Specified by:
dispatcherParseExceptionin interfacecom.mojang.brigadier.exceptions.BuiltInExceptionProvider
-
-