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, waitget, getOrInit, processprivate final CompoundTag filter
public FilteredListElementNode(CompoundTag filter)
public void get(Tag current, List<Tag> results)
get in interface NbtPathArgumentType.PathNodepublic void getOrInit(Tag current, Supplier<Tag> source, List<Tag> results)
getOrInit in interface NbtPathArgumentType.PathNodepublic Tag init()
init in interface NbtPathArgumentType.PathNodepublic int set(Tag current, Supplier<Tag> source)
set in interface NbtPathArgumentType.PathNodepublic int clear(Tag current)
clear in interface NbtPathArgumentType.PathNode