JavaScript is disabled on your browser.
Skip navigation links
Module
Class
Tree
Deprecated
Index
Search
Help
fr.fidorial
fr.fidorial.command.argument.resolvers
NbtPathResolver
Contents
Description
Method Summary
Method Details
resolve(BinaryTag)
asString()
Hide sidebar
Show sidebar
Interface NbtPathResolver
@NonExtendable
public interface
NbtPathResolver
A parsed NBT path, resolvable against any root
BinaryTag
.
Since:
0.1.0
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
String
asString
()
Returns a parseable string representation of this path.
List
<
BinaryTag
>
resolve
(
BinaryTag
root)
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