Interface NbtPathResolver


@NonExtendable public interface NbtPathResolver
A parsed NBT path, resolvable against any root BinaryTag.
Since:
0.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a parseable string representation of this path.
    Resolves this path against the given root tag.
  • Method Details

    • resolve

      List<BinaryTag> resolve(BinaryTag root)
      Resolves this path against the given root tag.
      Parameters:
      root - the tag to resolve against
      Returns:
      the matched tags, or an empty list if any path segment matched nothing
      Since:
      0.1.0
    • asString

      String asString()
      Returns a parseable string representation of this path.
      Since:
      0.1.0