Class NbtPath

java.lang.Object
org.cyclops.cyclopscore.nbt.path.NbtPath

public class NbtPath extends Object
Utility class for parsing NBT path expressions.
  • Constructor Details

    • NbtPath

      public NbtPath()
  • Method Details

    • parse

      public static INbtPathExpression parse(String nbtPathExpression) throws NbtParseException
      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.