static class NbtPathArgumentType.FilteredListElementNode extends Object implements NbtPathArgumentType.PathNode
Modifier and Type | Field and Description |
---|---|
private CompoundTag |
filter |
private Predicate<Tag> |
predicate |
Constructor and Description |
---|
FilteredListElementNode(CompoundTag filter) |
Modifier and Type | Method and Description |
---|---|
int |
clear(Tag current) |
void |
get(Tag current,
List<Tag> results) |
void |
getOrInit(Tag current,
Supplier<Tag> source,
List<Tag> results) |
Tag |
init() |
int |
set(Tag current,
Supplier<Tag> source) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getOrInit, process
private final CompoundTag filter
public FilteredListElementNode(CompoundTag filter)
public void get(Tag current, List<Tag> results)
get
in interface NbtPathArgumentType.PathNode
public void getOrInit(Tag current, Supplier<Tag> source, List<Tag> results)
getOrInit
in interface NbtPathArgumentType.PathNode
public Tag init()
init
in interface NbtPathArgumentType.PathNode
public int set(Tag current, Supplier<Tag> source)
set
in interface NbtPathArgumentType.PathNode
public int clear(Tag current)
clear
in interface NbtPathArgumentType.PathNode