java.lang.Object
at.syntaxerror.syntaxnbt.internal.SNBTParser
at.syntaxerror.syntaxnbt.internal.PathParser
A utility class for parsing NBT paths
- Author:
- SyntaxError404
-
Nested Class Summary
Nested classes/interfaces inherited from class at.syntaxerror.syntaxnbt.internal.SNBTParser
SNBTParser.Range -
Field Summary
Fields inherited from class at.syntaxerror.syntaxnbt.internal.SNBTParser
INTEGER_BOUNDS, PATTERN_INTEGER -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisValuePartAlt(char c) Checks whether a character is valid for string-like objectsstatic PathNodeRead an NBT path from a stringMethods inherited from class at.syntaxerror.syntaxnbt.internal.SNBTParser
back, isValuePart, more, next, nextClean, nextCompound, nextString, parse, peek, syntaxError, toString
-
Method Details
-
isValuePartAlt
protected boolean isValuePartAlt(char c) Description copied from class:SNBTParserChecks whether a character is valid for string-like objects- Overrides:
isValuePartAltin classSNBTParser- Parameters:
c- a character- Returns:
- whether the character is valid
-
parsePath
Read an NBT path from a string- Parameters:
input- an input string- Returns:
- the parsed NBT path
-