Package net.minecraft.command.argument
Class NbtPathArgumentType.FilteredRootNode
java.lang.Object
net.minecraft.command.argument.NbtPathArgumentType.FilteredRootNode
- All Implemented Interfaces:
NbtPathArgumentType.PathNode
- Enclosing class:
- NbtPathArgumentType
static class NbtPathArgumentType.FilteredRootNode extends Object implements NbtPathArgumentType.PathNode
-
Field Summary
Fields Modifier and Type Field Description private Predicate<NbtElement>matcher -
Constructor Summary
Constructors Constructor Description FilteredRootNode(NbtCompound filter) -
Method Summary
Modifier and Type Method Description intclear(NbtElement current)voidget(NbtElement current, List<NbtElement> results)voidgetOrInit(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results)NbtElementinit()intset(NbtElement current, Supplier<NbtElement> source)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.command.argument.NbtPathArgumentType.PathNode
get, getOrInit, process
-
Field Details
-
matcher
-
-
Constructor Details
-
FilteredRootNode
-
-
Method Details
-
get
- Specified by:
getin interfaceNbtPathArgumentType.PathNode
-
getOrInit
- Specified by:
getOrInitin interfaceNbtPathArgumentType.PathNode
-
init
- Specified by:
initin interfaceNbtPathArgumentType.PathNode
-
set
- Specified by:
setin interfaceNbtPathArgumentType.PathNode
-
clear
- Specified by:
clearin interfaceNbtPathArgumentType.PathNode
-