Package net.minecraft.command.argument
Class NbtPathArgumentType.IndexedListElementNode
java.lang.Object
net.minecraft.command.argument.NbtPathArgumentType.IndexedListElementNode
- All Implemented Interfaces:
NbtPathArgumentType.PathNode
- Enclosing class:
- NbtPathArgumentType
static class NbtPathArgumentType.IndexedListElementNode extends Object implements NbtPathArgumentType.PathNode
-
Field Summary
Fields Modifier and Type Field Description private intindex -
Constructor Summary
Constructors Constructor Description IndexedListElementNode(int index) -
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
-
index
private final int index
-
-
Constructor Details
-
IndexedListElementNode
public IndexedListElementNode(int index)
-
-
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
-