Package org.cyclops.cyclopscore.nbt.path
Class NbtPath
java.lang.Object
org.cyclops.cyclopscore.nbt.path.NbtPath
Utility class for parsing NBT path expressions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic INbtPathExpression
Parse an NBT path expression string into an in-memory representation.
-
Constructor Details
-
NbtPath
public NbtPath()
-
-
Method Details
-
parse
Parse an NBT path expression string into an in-memory representation.- Parameters:
nbtPathExpression
- An NBT path expression string- Returns:
- An in-memory representation of the given expression.
- Throws:
NbtParseException
- An exception that can be thrown if parsing failed.
-