Package net.minecraft.command.arguments
Class NBTPathArgument.CollectionNode
- java.lang.Object
-
- net.minecraft.command.arguments.NBTPathArgument.CollectionNode
-
- All Implemented Interfaces:
NBTPathArgument.INode
- Enclosing class:
- NBTPathArgument
static class NBTPathArgument.CollectionNode extends java.lang.Object implements NBTPathArgument.INode
-
-
Field Summary
Fields Modifier and Type Field Description private int
index
-
Constructor Summary
Constructors Constructor Description CollectionNode(int p_i51153_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description INBT
createPreferredParentTag()
void
getOrCreateTag(INBT p_218054_1_, java.util.function.Supplier<INBT> p_218054_2_, java.util.List<INBT> p_218054_3_)
void
getTag(INBT p_218050_1_, java.util.List<INBT> p_218050_2_)
int
removeTag(INBT p_218053_1_)
int
setTag(INBT p_218051_1_, java.util.function.Supplier<INBT> p_218051_2_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.command.arguments.NBTPathArgument.INode
collect, get, getOrCreate
-
-
-
-
Method Detail
-
getTag
public void getTag(INBT p_218050_1_, java.util.List<INBT> p_218050_2_)
- Specified by:
getTag
in interfaceNBTPathArgument.INode
-
getOrCreateTag
public void getOrCreateTag(INBT p_218054_1_, java.util.function.Supplier<INBT> p_218054_2_, java.util.List<INBT> p_218054_3_)
- Specified by:
getOrCreateTag
in interfaceNBTPathArgument.INode
-
createPreferredParentTag
public INBT createPreferredParentTag()
- Specified by:
createPreferredParentTag
in interfaceNBTPathArgument.INode
-
setTag
public int setTag(INBT p_218051_1_, java.util.function.Supplier<INBT> p_218051_2_)
- Specified by:
setTag
in interfaceNBTPathArgument.INode
-
removeTag
public int removeTag(INBT p_218053_1_)
- Specified by:
removeTag
in interfaceNBTPathArgument.INode
-
-