java.lang.Object
at.syntaxerror.syntaxnbt.path.PathNode
at.syntaxerror.syntaxnbt.path.PathNodeIndex
An NBT path node specifying an Element of a Named List or Array Tag
- Author:
- SyntaxError404
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPathNodeIndex(int index) internal use onlyPathNodeIndex(String name, int index) Constructs a new "Element of Named List or Array Tag" path -
Method Summary
-
Constructor Details
-
PathNodeIndex
Constructs a new "Element of Named List or Array Tag" path- Parameters:
name- name of the list/array tagindex- index for the list/array
-
PathNodeIndex
protected PathNodeIndex(int index) internal use only- Parameters:
index- the index
-
-
Method Details
-
traverseSelf
Description copied from class:PathNodeTraverse through the tag's tree structure and return the matching tags. This does not respect thenext node- Specified by:
traverseSelfin classPathNode- Parameters:
target- tag to traverse through- Returns:
- the matching tags
-
stringify
Description copied from class:PathNodeStringifies only this node, without respecting thenext node
-