Package net.minecraft.nbt
Class TagParser
java.lang.Object
net.minecraft.nbt.TagParser
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Patternprivate static final Patternprivate static final Patternstatic final charstatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypestatic final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypestatic final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypestatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final Patternprivate static final Patternprivate static final charprivate static final charprivate static final Patternstatic final charprivate final com.mojang.brigadier.StringReaderprivate static final Patternprivate static final charprivate static final char
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
ERROR_TRAILING_DATApublic static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TRAILING_DATA
- 
ERROR_EXPECTED_KEYpublic static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_EXPECTED_KEY
- 
ERROR_EXPECTED_VALUEpublic static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_EXPECTED_VALUE
- 
ERROR_INSERT_MIXED_LISTpublic static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_INSERT_MIXED_LIST
- 
ERROR_INSERT_MIXED_ARRAYpublic static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_INSERT_MIXED_ARRAY
- 
ERROR_INVALID_ARRAYpublic static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_INVALID_ARRAY
- 
ELEMENT_SEPARATORpublic static final char ELEMENT_SEPARATOR- See Also:
 
- 
NAME_VALUE_SEPARATORpublic static final char NAME_VALUE_SEPARATOR- See Also:
 
- 
LIST_OPENprivate static final char LIST_OPEN- See Also:
 
- 
LIST_CLOSEprivate static final char LIST_CLOSE- See Also:
 
- 
STRUCT_CLOSEprivate static final char STRUCT_CLOSE- See Also:
 
- 
STRUCT_OPENprivate static final char STRUCT_OPEN- See Also:
 
- 
DOUBLE_PATTERN_NOSUFFIX
- 
DOUBLE_PATTERN
- 
FLOAT_PATTERN
- 
BYTE_PATTERN
- 
LONG_PATTERN
- 
SHORT_PATTERN
- 
INT_PATTERN
- 
readerprivate final com.mojang.brigadier.StringReader reader
 
- 
- 
Constructor Details- 
TagParserpublic TagParser(com.mojang.brigadier.StringReader p_129350_) 
 
- 
- 
Method Details- 
parseTagpublic static CompoundTag parseTag(String p_129360_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
readSingleStruct- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
readKey- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
readTypedValue- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
type
- 
readValue- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
readList- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
readStruct- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
readListTag- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
readArrayTag- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
readArrayprivate <T extends Number> List<T> readArray(TagType<?> p_129362_, TagType<?> p_129363_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
hasElementSeparatorprivate boolean hasElementSeparator()
- 
expectprivate void expect(char p_129353_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
 
-